Basic Prerequisites: 01 · From Zero and Linear Algebra (eigenvalues, Wishart matrices).


1. Intuition & Practical Objective

Page 01 showed that the sample covariance fools the optimizer. This page shows why, with the mathematics of how a sample covariance’s eigenvalues are distributed. The practical objective: give you the diagnostic and the Marchenko–Pastur law, so that before you trust any covariance matrix you can ask “how much of this spectrum is even distinguishable from noise?” and get a quantitative answer.

The key insight, due to the random-matrix-theory (RMT) literature (Laloux et al. 1999; Plerou et al. 2002): if the true covariance were pure noise (identity), the sample covariance would still have a spread of eigenvalues - a whole interval - simply because of finite sampling. That spread is not information; it is the fingerprint of estimation error. Any real covariance structure must show up as eigenvalues pushed outside this noise band. Everything inside the band is, statistically, noise dressed up as correlation.


2. Mathematical Ground Truth & Derivations

2.1 The curse of dimensionality: parameters vs data

A covariance matrix has free parameters. The data supply numbers. The information per parameter is . Three regimes:

RegimeConditionConsequence
Classical fixed, , bounded, shrinkage intensity
High-dimensional invertible but ill-conditioned; eigenvalues biased; shrinkage intensity stays strictly positive
Singular has rank ; not invertible;

This is why Ledoit & Wolf work in general asymptotics: both with constant. In that framework the optimal shrinkage intensity does not vanish - it tends to a positive limiting constant, which is exactly why shrinkage helps in real portfolios and not just in tiny samples.

2.2 The Marchenko–Pastur law

Let have i.i.d. zero-mean entries of variance . As with , the empirical eigenvalue distribution of converges to the Marchenko–Pastur density

Three facts to internalize:

  • The support is a band, not a point. Even for , the sample eigenvalues are spread across .
  • The band widens with . At the noise eigenvalues live in ; at they live in . The lower edge collapses to zero as - that is the singularity, foreshadowed spectrally.
  • Everything below is indistinguishable from noise. This gives the RMT denoising rule of page 04: keep eigenvalues above , replace the rest by their mean.

2.3 Condition number blow-up

The condition number governs how much an inversion amplifies error. For pure noise at ratio ,

A single ill-conditioned direction makes the minimum-variance weights enormous along that eigenvector. The condition number is the quantitative measure of “how much will the optimizer be fooled” - and shrinking brings it down to a bounded, economically meaningful value (Ledoit & Wolf 2004, Thm 3.5: the shrinkage estimator’s condition number is bounded in probability).


3. Computational Implementation - simulating the noise band

Pure-noise simulation: generate i.i.d. Gaussian data, compute the sample covariance, and compare its extreme eigenvalues to the Marchenko–Pastur bounds . Then show how the condition number explodes as on a fixed history length.

What the numbers say. (i) The empirical edges track the MP theory to ~1% - the noise band is real and predictable. (ii) This is pure noise (true ), yet at an analyst would see “eigenvalues ranging from to ” and could easily mistake the spread for a factor structure. (iii) At the smallest eigenvalue is numerically zero: the matrix is singular and its inverse undefined. (iv) Holding fixed and growing , the condition number climbs from to - a degradation from adding assets, not from losing data.


4. Failure Modes & First-Principles Breakdowns

  1. Reading the noise band as signal. At , a pure-noise spectrum spans . Interpreting its “top eigenvalue” as a market factor is a false positive; only eigenvalues above carry information (page 04 formalizes the test).
  2. Ignoring the MLE vs unbiased divisor. Using vs shifts the whole spectrum by a factor; harmless at large , but a common source of “my eigenvalues don’t match the formula” confusion. The MP result is stated for the ML version .
  3. Standard asymptotics mislead. Classical statistics says shrinkage intensity as (with fixed), implying “just get more data.” In general asymptotics it does not vanish - because grows with in real portfolios. This is the single most important conceptual shift on this page.
  4. Condition number is not the whole story. A matrix can be well-conditioned but still a poor estimate in Frobenius/portfolio terms; conversely is the sharpest single-number diagnostic for inversion error. Use and together, never alone.

5. References

  • Marchenko, V. A. & Pastur, L. A. (1967). “Distribution of eigenvalues for some sets of random matrices.” Mat. Sb. 72(4):507–536. The original law.
  • Silverstein, J. W. & Choi, S.-I. (1995). “Analysis of the limiting spectral distribution of large-dimensional random matrices.” Journal of Multivariate Analysis 54(2):295–309. The rigorous support/edge determination used for RMT denoising.
  • Ledoit, O. & Wolf, M. (2004). “A well-conditioned estimator…” J. Multivariate Anal. 88(2):365–411. General asymptotics, condition-number theory (Thm 3.5).
  • Bai, Z. & Silverstein, J. W. (2010). Spectral Analysis of Large Dimensional Random Matrices (2nd ed.), Springer. Reference for the proofs.
  • Potters, M. & Bouchaud, J.-P. (2020). A First Course in Random Matrix Theory, Cambridge. The readable modern textbook.

6. Connected Graph Bridges