MathFin
Map / Statistics / MathFin.Choice.Performance.MarchenkoPasturEdge

The Marchenko-Pastur support edges

MathFin.Choice.Performance.MarchenkoPasturEdgeMSC 60B20MSC 91G10JEL C58JEL G11 source

For an N × T matrix of independent entries with mean 0 and variance σ², the sample covariance S = X Xᵀ / T has, as N, T → ∞ with aspect ratio c = N/T held fixed, an eigenvalue distribution converging to the Marchenko-Pastur law, supported on the interval with endpoints λ₊, λ₋ = σ²(1 ± √c)² (with an atom of mass 1 − 1/c at 0 when c > 1) — Marchenko & Pastur (1967); Bai & Silverstein (2010), ch. 3. López de Prado (Machine Learning for Asset Managers, ch. 2, Snippet 2.1) uses exactly these endpoints, in the reciprocal parameter q = T/N, as the cut eMax = σ²(1 + 1/√q)² separating noise eigenvalues from signal when denoising a correlation matrix.

This file defines the two edges as functions mpUpperEdge σ c = σ²(1 + √c)² and mpLowerEdge σ c = σ²(1 − √c)² and proves the algebraic, ordering, scaling and limiting facts about the closed forms that the denoising cut uses: the support width 4σ²√c, the sandwich λ₋ ≤ σ² ≤ λ₊ (for c ≤ 1 on the left), strict monotonicity of the upper edge in c, homogeneity λ±(kσ, c) = k²λ±(σ, c), the limits λ±(σ, c) → σ² as c → 0⁺ (the bulk collapses to the variance when T ≫ N), λ₋(σ, c) → 0 as c → 1 (the bulk reaches zero at the rank boundary N = T), λ₊(σ, c) → ∞, and the de Prado parameterization λ₊(σ, 1/q) = σ²(1 + 1/√q)².

The edges meet the matrices the denoising cut is applied to through the spectrum's mean: the eigenvalues of a unit-diagonal Hermitian matrix (a correlation matrix, e.g. an equicorrelation matrix) sum to its dimension, so their average is 1 = σ², which lies in [mpLowerEdge 1 c, mpUpperEdge 1 c] for every aspect ratio c ≤ 1 and is the point both edges collapse to as c → 0⁺.

Nothing here is probabilistic: the convergence of the empirical spectrum to the Marchenko-Pastur law (the theorem the endpoints are the support of) is not proved, and no random matrix, sample covariance matrix or eigenvalue appears. The aspect ratio c is N/T; Real.sqrt is total (zero on negatives), so the functions are defined on all of ℝ and the statements that read "for c ≤ 1" are about the model's regime, not a domain restriction.

Main definitions

  • mpUpperEdge: the upper support edge σ²(1 + √c)².
  • mpLowerEdge: the lower support edge σ²(1 − √c)².

Main results

  • mpUpperEdge_sub_mpLowerEdge: the support width λ₊ − λ₋ = 4σ²√c.
  • mpLowerEdge_le_mpUpperEdge: λ₋ ≤ λ₊ for every σ, c.
  • le_mpUpperEdge: σ² ≤ λ₊ for every σ, c.
  • mpUpperEdge_eq_variance_iff: for c ≥ 0, λ₊ = σ² iff σ = 0 or c = 0.
  • mpLowerEdge_le_variance_of_le_one: for c ≤ 1, λ₋ ≤ σ² (with le_mpUpperEdge, the sandwich λ₋ ≤ σ² ≤ λ₊ of the N ≤ T regime).
  • mpLowerEdge_eq_zero_iff: for 0 < σ, λ₋ = 0 iff c = 1, the rank boundary.
  • mpUpperEdge_mul_mpLowerEdge: λ₊λ₋ = σ⁴(1 − c)² for c ≥ 0.
  • mpUpperEdge_lt_of_lt: the upper edge is strictly increasing in c for 0 < σ.
  • continuous_mpUpperEdge, continuous_mpLowerEdge: both edge maps are continuous (Real.sqrt is total).
  • tendsto_mpUpperEdge_zero, tendsto_mpLowerEdge_zero: both edges tend to σ² as c → 0⁺.
  • tendsto_mpLowerEdge_one: the lower edge tends to 0 as c → 1.
  • tendsto_mpUpperEdge_atTop: the upper edge diverges for 0 < σ.
  • mpUpperEdge_inv, mpLowerEdge_inv: the de Prado form λ±(σ, q⁻¹) = σ²(1 ± (√q)⁻¹)².
  • mpUpperEdge_const_mul, mpLowerEdge_const_mul: λ±(kσ, c) = k²λ±(σ, c).
  • sum_eigenvalues_eq_card, average_eigenvalue_mem_Icc_mpEdges, sum_eigenvalues_equicorrelationMatrix: the eigenvalues of a unit-diagonal Hermitian matrix sum to its dimension, so their average 1 lies in [λ₋(1, c), λ₊(1, c)] for c ≤ 1 (only the mean of the spectrum, not each eigenvalue).
  • trace_equicorrelationMatrix_eq_card: an equicorrelation matrix (Choice/Portfolio/Equicorrelation.lean) has trace its dimension.

References

  • [Marchenko and Pastur, *Distribution of eigenvalues for some sets of random

matrices*][MarchenkoPastur1967]

  • [Bai and Silverstein, *Spectral Analysis of Large Dimensional Random

Matrices*][BaiSilverstein2010], ch. 3

  • López de Prado, Machine Learning for Asset Managers [LopezDePrado2020], ch. 2, Snippet 2.1
  • QRM Exercise Book [QRMExerciseBook], Ex. 6.16 (the equal-weight diversification floor the benchmark snippet composes with the sandwich)

Tags

Marchenko-Pastur, random matrix, sample covariance, eigenvalue, denoising, aspect ratio, MSC 60B20, MSC 91G10, JEL C58, JEL G11

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-marchenko-pastur-edges · portfolio_and_performance.json · full statement
Marchenko-Pastur Support Edges: Closed Form, Width, Variance Sandwich, and Limits

The support endpoints of the Marchenko-Pastur law for the sample covariance S = X X^T / T of an N x T matrix of independent mean-zero entries with variance sigma^2, in the limit N, T -> infinity with aspect ratio c = N/T fixed, are lambda_+ = sigma^2 (1 + sqrt c)^2 and lambda_- = sigma^2 (1 - sqrt c)^2 (Marchenko and Pastur 1967; the atom of mass 1 - 1/c at zero when c > 1 is not treated). Proved here as facts about the closed forms mpUpperEdge and mpLowerEdge: the edges are ordered (lambda_- <= lambda_+) and their difference is the width 4 sigma^2 sqrt c; the variance sits between them, sigma^2 <= lambda_+ always and lambda_- <= sigma^2 for c <= 1, with lambda_+ = sigma^2 exactly in the degenerate cases sigma = 0 or c = 0; the upper edge diverges as c -> infinity for sigma > 0; in the module, not in the snippet: the product is lambda_+ lambda_- = sigma^4 (1 - c)^2 for c >= 0, the upper edge is strictly increasing in c (from any c >= 0) for sigma > 0, and the lower edge vanishes exactly at c = 1; as c -> 0+ both edges tend to sigma^2 (the noise bulk collapses to the variance when T >> N); as c -> 1 the lower edge tends to 0 (the bulk reaches zero at the rank boundary N = T); in Lopez de Prado's reciprocal parameter q = T/N the edges read sigma^2 (1 +- 1/sqrt q)^2, the eMin/eMax of Snippet 2.1 of Machine Learning for Asset Managers, where eMax is the cut separating noise eigenvalues from signal when denoising a correlation matrix; and the upper edge scales quadratically in the volatility scale, lambda_+(k sigma, c) = k^2 lambda_+(sigma, c) (the lower edge likewise, in the module). Two facts proved side by side in the snippet, with no logical link between them: against an equicorrelation kernel the equal-weight variance is rho + (1 - rho)/d (the diversification floor of QRM Ex. 6.16), and 1 lies in [lambda_-(1, c), lambda_+(1, c)] for c <= 1. The real link is the spectral statement: the average eigenvalue of a unit-diagonal Hermitian matrix is 1, so it lies in that interval for c <= 1. Disclosed out of scope: nothing probabilistic is proved - no random matrix, sample covariance, eigenvalue or convergence of the empirical spectral distribution appears; the statements are the exact algebraic, ordering, scaling and limiting facts about the closed-form endpoints. Spectral bridge: the eigenvalues of a real symmetric matrix with unit diagonal sum to its dimension, so their average is 1 = sigma^2 and lies in [lambda_-(1, c), lambda_+(1, c)] for c <= 1 (only the mean of the spectrum is placed in the support; nothing says each eigenvalue of a sample correlation matrix does).

Declarations 24

defMathFin.mpUpperEdgesource
ℝ → ℝ → ℝ

The upper support edge of the Marchenko-Pastur law: λ₊ = σ²(1 + √c)², where σ² is the entry variance and c the aspect ratio N/T. This is the closed form of the support endpoint; the convergence of the empirical spectrum to the law is not proved here.

defMathFin.mpLowerEdgesource
ℝ → ℝ → ℝ

The lower support edge of the Marchenko-Pastur law: λ₋ = σ²(1 − √c)², where σ² is the entry variance and c the aspect ratio N/T.

theoremMathFin.mpUpperEdge_sub_mpLowerEdgesource
∀ (σ c : ℝ), mpUpperEdge σ c - mpLowerEdge σ c = 4 * σ ^ 2 * √c

The Marchenko-Pastur support width: λ₊ − λ₋ = 4σ²√c.

theoremMathFin.mpLowerEdge_le_mpUpperEdgesource
∀ (σ c : ℝ), mpLowerEdge σ c ≤ mpUpperEdge σ c

The edges are ordered: λ₋ ≤ λ₊.

theoremMathFin.le_mpUpperEdgesource
∀ (σ c : ℝ), σ ^ 2 ≤ mpUpperEdge σ c

The upper edge dominates the variance: σ² ≤ λ₊.

theoremMathFin.mpUpperEdge_eq_variance_iffsource
∀ (σ c : ℝ), 0 ≤ c → (mpUpperEdge σ c = σ ^ 2 ↔ σ = 0 ∨ c = 0)

The upper edge equals the variance only in the degenerate cases σ = 0 or c = 0 (no estimation noise).

theoremMathFin.mpLowerEdge_le_variance_of_le_onesource
∀ (σ c : ℝ), c ≤ 1 → mpLowerEdge σ c ≤ σ ^ 2

In the N ≤ T regime the variance sits in the support interval: λ₋ ≤ σ². Together with le_mpUpperEdge this is the sandwich λ₋ ≤ σ² ≤ λ₊.

theoremMathFin.mpLowerEdge_eq_zero_iffsource
∀ {σ : ℝ}, 0 < σ → ∀ (c : ℝ), mpLowerEdge σ c = 0 ↔ c = 1

For a nonzero variance the lower edge is zero exactly at the rank boundary N = T.

theoremMathFin.mpUpperEdge_mul_mpLowerEdgesource
∀ (σ c : ℝ), 0 ≤ c → mpUpperEdge σ c * mpLowerEdge σ c = σ ^ 4 * (1 - c) ^ 2

The product of the edges: λ₊λ₋ = σ⁴(1 − c)² for c ≥ 0.

theoremMathFin.continuous_mpUpperEdgesource
∀ (σ : ℝ), Continuous (mpUpperEdge σ)

The upper edge is continuous in the aspect ratio (Real.sqrt is total, so no domain restriction is needed).

theoremMathFin.continuous_mpLowerEdgesource
∀ (σ : ℝ), Continuous (mpLowerEdge σ)

The lower edge is continuous in the aspect ratio.

theoremMathFin.mpUpperEdge_lt_of_ltsource
∀ {σ : ℝ}, 0 < σ → ∀ {c₁ c₂ : ℝ}, 0 ≤ c₁ → c₁ < c₂ → mpUpperEdge σ c₁ < mpUpperEdge σ c₂

The upper edge is strictly increasing in the aspect ratio for 0 < σ: more instruments per observation pushes the top of the noise bulk up.

theoremMathFin.tendsto_mpUpperEdge_zerosource
∀ (σ : ℝ), Filter.Tendsto (mpUpperEdge σ) (nhdsWithin 0 (Set.Ioi 0)) (nhds (σ ^ 2))

The top of the bulk collapses to the variance as the aspect ratio tends to 0⁺: λ₊ → σ² when T ≫ N.

theoremMathFin.tendsto_mpLowerEdge_zerosource
∀ (σ : ℝ), Filter.Tendsto (mpLowerEdge σ) (nhdsWithin 0 (Set.Ioi 0)) (nhds (σ ^ 2))

The bottom of the bulk collapses to the variance as the aspect ratio tends to 0⁺: λ₋ → σ² when T ≫ N.

theoremMathFin.tendsto_mpLowerEdge_onesource
∀ (σ : ℝ), Filter.Tendsto (mpLowerEdge σ) (nhds 1) (nhds 0)

The lower edge reaches zero at the rank boundary: λ₋ → 0 as c → 1.

theoremMathFin.tendsto_mpUpperEdge_atTopsource
∀ {σ : ℝ}, 0 < σ → Filter.Tendsto (mpUpperEdge σ) Filter.atTop Filter.atTop

The upper edge diverges for 0 < σ: as c → ∞ the top of the noise bulk escapes.

theoremMathFin.mpUpperEdge_invsource
∀ (σ q : ℝ), mpUpperEdge σ q⁻¹ = σ ^ 2 * (1 + (√q)⁻¹) ^ 2

The upper edge in López de Prado's reciprocal parameter q = T/N: with c = q⁻¹ the edge is σ²(1 + (√q)⁻¹)², the eMax of Snippet 2.1 of Machine Learning for Asset Managers.

theoremMathFin.mpLowerEdge_invsource
∀ (σ q : ℝ), mpLowerEdge σ q⁻¹ = σ ^ 2 * (1 - (√q)⁻¹) ^ 2

The lower edge in López de Prado's reciprocal parameter q = T/N: the eMin of Snippet 2.1.

theoremMathFin.mpUpperEdge_const_mulsource
∀ (k σ c : ℝ), mpUpperEdge (k * σ) c = k ^ 2 * mpUpperEdge σ c

The edges are quadratic in the volatility scale: λ₊(kσ, c) = k²λ₊(σ, c).

theoremMathFin.mpLowerEdge_const_mulsource
∀ (k σ c : ℝ), mpLowerEdge (k * σ) c = k ^ 2 * mpLowerEdge σ c

The lower edge scales the same way: λ₋(kσ, c) = k²λ₋(σ, c).

theoremMathFin.trace_equicorrelationMatrix_eq_cardsource
∀ (n : Type u_1) [Fintype n] [DecidableEq n] (ρ : ℝ), (equicorrelationMatrix n ρ).trace = ↑(Fintype.card n)

An equicorrelation matrix has 1 on the diagonal, so its trace is the number of assets.

theoremMathFin.sum_eigenvalues_eq_cardsource
∀ {n : Type u_1} [Fintype n] [DecidableEq n] {A : Matrix n n ℝ} (hA : A.IsHermitian), (∀ (i : n), A i i = 1) → ∑ i, hA.eigenvalues i = ↑(Fintype.card n)

The spectrum of a correlation matrix averages to 1. The eigenvalues of a real symmetric matrix with unit diagonal sum to its trace, the number of assets.

theoremMathFin.average_eigenvalue_mem_Icc_mpEdgessource
∀ {n : Type u_1} [Fintype n] [DecidableEq n] [Nonempty n] {A : Matrix n n ℝ} (hA : A.IsHermitian), (∀ (i : n), A i i = 1) → ∀ {c : ℝ}, c ≤ 1 → (∑ i, hA.eigenvalues i) / ↑(Fintype.card n) ∈ Set.Icc (mpLowerEdge 1 c) (mpUpperEdge 1 c)

The average eigenvalue of a correlation matrix lies in the Marchenko–Pastur support for every aspect ratio c ≤ 1: it is 1 = σ², the entry variance, which the edges sandwich (mpLowerEdge_le_variance_of_le_one, le_mpUpperEdge). Unlike trace_equicorrelationMatrix_eq_card this is a statement about the matrix's eigenvalues, though it is still only about their mean: nothing says the individual eigenvalues of a sample correlation matrix fall in the support.

theoremMathFin.sum_eigenvalues_equicorrelationMatrixsource
∀ (n : Type u_1) [Fintype n] [DecidableEq n] (ρ : ℝ), ∑ i, ⋯.eigenvalues i = ↑(Fintype.card n)

The equicorrelation matrix instance: its eigenvalues average to 1.