14.3 Shrinkage covariance (Ledoit–Wolf)
Motivation
With assets and observations the sample covariance has parameters. When is not small relative to , is noisy: its large eigenvalues are too large and its small eigenvalues too small, and if it is singular. Inverting it, as (14.1)–(14.3) do, magnifies the noise.
14.3.1The optimal shrinkage intensity#
Setup
Let be a structured target with few parameters (for example with , a constant-correlation matrix, or a one-factor model). Consider , , with loss (Frobenius norm).
Proposition 14.6Optimal shrinkage intensity
If is non-random and , the loss is minimised at
the ratio of the estimation variance of to that variance plus the squared bias of .
Proof
. So a convex quadratic in minimised at . Write . Since is non-random and , the cross terms vanish in expectation: and .∎
The intuition is the bias–variance trade-off: shrink a lot when is noisy (few observations, many assets) or the target is close to the truth.
14.3.2The Ledoit–Wolf estimator#
Ledoit–Wolf involves the unknown . Ledoit & Wolf ("A Well-Conditioned Estimator for Large-Dimensional Covariance Matrices", Journal of Multivariate Analysis 88, 2004, 365–411) give consistent estimators of the numerator and denominator for the target . With demeaned data and the normalised norm :
estimates the variance of (the average squared deviation of single-observation outer products from their mean, divided by ), and estimates the total dispersion of around the target. Their companion paper for portfolios, "Honey, I Shrunk the Sample Covariance Matrix" (Journal of Portfolio Management 30(4), 2004), uses a constant-correlation target.
Worked examplecode test
True diagonal with variances from 0.5 to 2.0, , . Over 15 samples, the Ledoit–Wolf estimate has less than 70% of the Frobenius loss of , always has , and always has a smaller condition number. A smaller condition number means the inverse in (14.1)–(14.3) amplifies errors less.
Practitioner notes
For an Indian equity portfolio of 20–40 stocks estimated on 2–3 years of daily data, shrinkage changes GMV weights materially. Shrinking is even more valuable: the James–Stein idea of pulling each sample mean toward a common mean is the same bias–variance argument applied to the first moment.