Historical Mean

The Historical Mean is the arithmetic average return per period, scaled to a year. It is the sample estimate of the expected return in the mean-variance analysis of Markowitz (1952), unbiased but noisy.

The formula for the Historical Mean is as follows:

\[\mu_{i} = \frac{P \cdot \sum_{t=1}^{T} r_{i,t}}{T}\]

Where \(r_{i , t}\) is the return of asset i in period t of the T periods and P the number of periods in a year (252 for daily returns). It is the expected return for a single period scaled to a year, without compounding, which is the input mean-variance analysis assumes; a few extreme periods move it as much as many ordinary ones.

It shows how much the choice moves the input that mean-variance weights are most sensitive to. The expected return of an asset can only be estimated from a short and noisy history: the precision of an average return grows with the length of the history in years, not with the number of periods within them, so even decades of data leave it imprecise. An optimizer that takes such estimates at face value bets most on the assets whose averages happen to be highest in the sample. The estimators differ in how they deal with this: by weighting recent periods, by deriving the returns from a model of risk, by shrinking the averages towards a common value or by using only an ordering of the assets.

Also known as: mean historical return, arithmetic mean return, sample mean.

In the Finance Toolkit this is get_expected_returns_estimate with method="mean", the same function as Expected Returns Estimate.

Example · AAPL, MSFT, JNJ, XOM · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_expected_returns_estimate:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["AAPL", "MSFT", "JNJ", "XOM"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.portfolio.get_expected_returns_estimate(method="mean", show_columns=["Mean", "Geometric", "Bayes-Stein", "James-Stein", "Bodnar-Okhrin-Parolya"])

Which returns:

References

  • Paper Markowitz, H. (1952). “Portfolio Selection.” The Journal of Finance, 7(1), 77-91.
Share