Telling signal eigenvalues from noise
If returns were pure noise with no structure, the eigenvalues of their correlation matrix would still be spread over a known interval, the Marchenko-Pastur interval with and . That interval is a ruler. An eigenvalue of the sample correlation matrix that lies above is larger than noise can explain, so it reflects a real common factor. Eigenvalues inside the interval are indistinguishable from noise: their eigenvectors are random directions and carry no information about the future.
Eigenvalue clipping acts on this verdict. Keep the eigenvalues above , and replace all the others by their own average , which is the same as flattening the noise part of the spectrum. Averaging rather than setting them to zero keeps the trace, which for a correlation matrix is , and keeps the matrix positive definite and so invertible, which an optimiser needs. Then rebuild and rescale it so that its diagonal is exactly 1, because the replacement slightly changes the diagonal. Two refinements are common. The market mode soaks up variance, so the noise level is really rather than 1. And the Marchenko-Pastur law assumes independent observations and thin tails, so the edge is a guide, not a precise test; check the cleaned matrix out of sample.
- Edge: eigenvalues above are signal; those inside the interval are noise.
- Clipping: replace the noise eigenvalues by their average, keeping the trace and positive definiteness.
- Finish: rebuild and rescale the diagonal to 1; always validate out of sample.
Real returns have fat tails and volatility that changes over time, which spreads the noise eigenvalues past the theoretical edge. Treat as a sensible starting threshold for how many components to keep, and let a holdout test decide whether cleaning actually helps. That is exactly what the capstone does.
Lab · what's graded
7 tasks · 100 pts- The upper edge15 pts
- Counting signal eigenvalues10 pts
- The replacement value15 pts
- The trace stays10 pts
- The clipping algorithm15 pts
- Why the average15 pts
- What an eigenvalue above the edge means20 pts