Estimation
How expected returns and covariances are estimated, and why the estimates deserve scepticism.
Mean–variance optimisation needs two inputs: a vector of expected returns and a covariance matrix . Neither is observable. Ardentum estimates both from a user-chosen historical window and records the estimator, window, number of observations and shrinkage intensity with every result.
Estimation error is the central problem
The standard error of an annualised mean return is roughly . For an asset with 20% volatility and ten years of data that is about 6.3 percentage points, larger than most differences in expected returns between assets. Optimisers amplify these errors: they overweight assets whose returns were overestimated (Best & Grauer, 1991; Chopra & Ziemba, 1993; Michaud, 1998). Ardentum responds by offering shrinkage estimators, constraints, objectives that ignore expected returns (minimum volatility), and a weight-stability analysis.
Expected returns
Historical mean. , the annualised arithmetic sample mean.
Bayes–Stein shrinkage (Jorion, 1986). Sample means are shrunk toward the mean return of the global minimum-variance portfolio:
with . The intensity is data-driven: when sample means barely differ relative to their noise, . Requires .
Black–Litterman
Historical means are so noisy that mean-variance portfolios built on them are extreme and unstable. Black and Litterman (1992) start instead from equilibrium returns: those under which an investor with risk aversion would choose the prior weights (market capitalisation weights by default, or equal/custom weights),
Investor views are linear statements , : absolute ("A returns 8%") or relative ("A outperforms B by 2%"). Following He and Litterman (1999), ; with a stated confidence Idzorek's (2005) closed form is used (: the view holds exactly). The posterior is
the predictive covariance including uncertainty about the mean. comes from the selected covariance estimator. Historical average returns are not used at all. Results list the prior weights, equilibrium and posterior returns and each view in words. The implementation agrees with PyPortfolioOpt to and satisfies reverse optimisation ().
Market capitalisations come from the data source: the Ken French industry files (number of firms × average firm size, latest month) or a market_cap column in uploaded metadata. Datasets without them (such as the synthetic demo) use equal or custom prior weights. In backtests the same views are applied in every window; market-capitalisation prior weights are those known at each rebalance date (see Backtesting).
Covariance
Sample covariance (unbiased, ). Singular when and noisy when is small; Ardentum refuses to use it when it is singular.
Ledoit–Wolf, scaled-identity target (Ledoit & Wolf, 2004a). The default:
with the asymptotically optimal intensity estimated from the data. The result is always positive definite and well-conditioned. Ardentum's implementation matches scikit-learn's to machine precision (automated test).
Ledoit–Wolf, constant-correlation target (Ledoit & Wolf, 2004b). Shrinks toward a matrix with the sample variances and the average pairwise correlation :
where follow the paper's appendix. It suits equity universes, where correlations are broadly similar. Verified against a direct loop implementation of the paper's formulas.
Both Ledoit–Wolf estimators use the normalisation of the original papers.
Choosing the window and frequency
- Longer windows reduce sampling error but may mix different regimes.
- Daily data provides more observations for covariance estimation; expected-return precision depends on the calendar length of the window, not the number of observations.
- Monthly data is less affected by asynchronous closing prices across markets.
What is reported
Every optimisation, frontier, simulation and comparison lists: window start and end, number of observations, frequency, mean and covariance estimators and their shrinkage intensities, and the risk-free rate.