Day 108 — Cleaning a spectrum, and testing whether it helped

Sunday, 22 November 2026 · Week 16 of 52 · Portfolios and risk · Study day · 55 min

Clipping is the most direct application of yesterday’s result, and it gives you a cleaning method whose only parameter comes from theory rather than from a sweep.

What you should be able to do tonight

  • Build a cleaned covariance estimator by eigenvalue clipping and confirm it is positive definite with the trace preserved.
  • Report the out-of-sample realised risk of a minimum-variance portfolio under the sample and the cleaned matrix.

Tasks 55 min

35 min Test the estimator the only way that matters: build minimum-variance portfolios from the sample matrix and from the clipped matrix on a rolling basis, and compare the realised out-of-sample volatility of each against what each predicted. Report predicted and realised for both.

20 min Read the Bouchaud and Potters review’s section on optimal rotationally invariant estimators, far enough to see that clipping is the crude member of a family, and note the name of the better estimator for when you need it.

Resources

Deliverable

notebooks/day-108-clipping.ipynb comparing predicted and realised out-of-sample risk for sample and clipped covariance estimators.

Checkpoint

Your clipped matrix predicted 11 percent volatility and realised 13 percent, against sample predicting 6 and realising 19. What did clipping fix?

Prepare for tomorrow

Ten minutes tonight so Day 109, Monday, 23 November 2026 starts clean. This is what the evening email sends you.

Read the scikit-learn covariance module page as far as the Ledoit-Wolf section and note what the shrinkage target is.

Write down, in one sentence, what quantity the shrinkage intensity is chosen to minimise.

Note the analogous choice you make when conditioning a linkage disequilibrium matrix.