MathFin
Map / Choice · Portfolio choice / MathFin.Choice.Portfolio.Equicorrelation

The equicorrelation matrix: when is a common correlation admissible?

MathFin.Choice.Portfolio.EquicorrelationMSC 91G10MSC 62H05JEL G11 source

The d × d equicorrelation matrix has ones on the diagonal and a common correlation ρ everywhere else (equicorrelationMatrix). It is the correlation matrix of every exchangeable model: equally rated obligors in a credit portfolio, the assets of a single-factor model, the daily losses behind the square-root-of-time rule. The question of QRM Exercise 6.26 is which ρ can occur at all. The answer is

(1 − ρ)·I + ρ·J is positive semidefinite ⟺ −1/(d − 1) ≤ ρ ≤ 1

(posSemidef_equicorrelationMatrix_iff). Perfect positive dependence is always admissible, but perfect negative dependence is not: in three or more dimensions, three variables cannot be pairwise perfectly anticorrelated.

The proof reads the quadratic form as a Markowitz portfolio variance. For weights w, wᵀ (equicorrelation) w = (1 − ρ) ∑ wᵢ² + ρ (∑ wᵢ)² (portfolioVarN_equicorrelation).

  • Sufficiency is the Cauchy–Schwarz bound (∑ wᵢ)² ≤ d ∑ wᵢ², the same inequality behind the Herfindahl lower bound.
  • Necessity tests two portfolios. The equal-weight portfolio gives d (1 + (d − 1) ρ) ≥ 0. The long–short pair eᵢ − eⱼ gives 2 (1 − ρ) ≥ 0.

Mathlib's Matrix.PosSemidef quadratic form x ⬝ᵥ (M *ᵥ x) and the library's sum-form portfolioVarN are identified by dotProduct_mulVec_eq_portfolioVarN, so the matrix statement and the portfolio statement are the same theorem.

The probabilistic reading (neg_inv_le_and_le_one_of_covariance) follows from Choice/Portfolio/CovariancePSD.lean. Square-integrable variables with a common positive variance and a common pairwise covariance ρ σ² have a PSD covariance kernel, and that kernel is σ² times the equicorrelation matrix. So their common correlation satisfies −1/(d − 1) ≤ ρ ≤ 1.

Main definitions

  • equicorrelationMatrix: the n × n matrix with 1 on the diagonal and the common correlation ρ off it, (1 − ρ)·I + ρ·J.

Main results

  • dotProduct_mulVec_eq_portfolioVarN: Mathlib's matrix quadratic form is the Markowitz double sum.
  • portfolioVarN_equicorrelation: wᵀ E w = (1 − ρ) ∑ wᵢ² + ρ (∑ wᵢ)².
  • posSemidef_equicorrelationMatrix_iff: for d ≥ 2, PSD ⟺ −1/(d − 1) ≤ ρ ≤ 1 (QRM Ex. 6.26).
  • portfolioVarN_equicorrelation_equal_weights: the equal-weight variance ρ + (1 − ρ)/d, the diversification floor of QRM Ex. 6.16.
  • portfolioVarN_covariance_eq_mul_equicorrelation: an equicorrelated covariance kernel is σ² times the equicorrelation matrix.
  • neg_inv_le_and_le_one_of_covariance: the bound for a common correlation of random variables.

References

Tags

equicorrelation matrix, common correlation, exchangeable model, admissible correlation, positive semidefinite, diversification, MSC 91G10, MSC 62H05, JEL G11

Import neighbourhood

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

Corpus entries

qrm-equicorrelation-psd · quantitative_risk_management.json · full statement
Equicorrelation Matrix Is PSD iff −1/(d−1) ≤ ρ ≤ 1

For d ≥ 2, the matrix with ones on the diagonal and ρ off it is positive semidefinite if and only if −1/(d − 1) ≤ ρ ≤ 1.

Declarations 8

defMathFin.equicorrelationMatrixsource
(n : Type u_2) → [DecidableEq n] → ℝ → Matrix n n ℝ

The equicorrelation matrix: 1 on the diagonal and the common correlation ρ off it, i.e. (1 − ρ)·I + ρ·J.

theoremMathFin.isHermitian_equicorrelationMatrixsource
∀ {n : Type u_1} [DecidableEq n] {ρ : ℝ}, (equicorrelationMatrix n ρ).IsHermitian

The equicorrelation matrix is symmetric, hence Hermitian over ℝ.

theoremMathFin.dotProduct_mulVec_eq_portfolioVarNsource
∀ {n : Type u_1} [Fintype n] (M : Matrix n n ℝ) (x : n → ℝ), x ⬝ᵥ M.mulVec x = portfolioVarN Finset.univ x M

Mathlib's matrix quadratic form x ⬝ᵥ (M *ᵥ x) is the Markowitz double sum portfolioVarN univ x M = ∑ᵢ ∑ⱼ xᵢ xⱼ Mᵢⱼ.

theoremMathFin.portfolioVarN_equicorrelationsource
∀ {n : Type u_1} [Fintype n] [DecidableEq n] {ρ : ℝ} (w : n → ℝ), portfolioVarN Finset.univ w (equicorrelationMatrix n ρ) = (1 - ρ) * ∑ i, w i ^ 2 + ρ * (∑ i, w i) ^ 2

Portfolio variance against an equicorrelated kernel: ∑ᵢ ∑ⱼ wᵢ wⱼ Eᵢⱼ = (1 − ρ) ∑ wᵢ² + ρ (∑ wᵢ)².

theoremMathFin.posSemidef_equicorrelationMatrix_iffsource
∀ {n : Type u_1} [Fintype n] [DecidableEq n] {ρ : ℝ}, 2 ≤ Fintype.card n → ((equicorrelationMatrix n ρ).PosSemidef ↔ -1 / (↑(Fintype.card n) - 1) ≤ ρ ∧ ρ ≤ 1)

Admissible common correlations (QRM Exercise 6.26): for d ≥ 2 the equicorrelation matrix is positive semidefinite exactly when −1/(d − 1) ≤ ρ ≤ 1.

theoremMathFin.portfolioVarN_equicorrelation_equal_weightssource
∀ {n : Type u_1} [Fintype n] [DecidableEq n] {ρ : ℝ} [Nonempty n], portfolioVarN Finset.univ (fun x => (↑(Fintype.card n))⁻¹) (equicorrelationMatrix n ρ) = ρ + (1 - ρ) / ↑(Fintype.card n)

The diversification floor (QRM Exercise 6.16): with a common correlation ρ, the equally weighted portfolio of d assets has kernel variance ρ + (1 − ρ)/d. Adding assets removes only the idiosyncratic part (1 − ρ)/d; the common part ρ stays.

theoremMathFin.portfolioVarN_covariance_eq_mul_equicorrelationsource
∀ {n : Type u_1} [Fintype n] [DecidableEq n] {ρ : ℝ} {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} (X : n → Ω → ℝ), (∀ (i : n), AEMeasurable (X i) μ) → ∀ {σ2 : ℝ}, (∀ (i : n), variance (X i) μ = σ2) → (∀ (i j : n), i ≠ j → covariance (X i) (X j) μ = ρ * σ2) → ∀ (w : n → ℝ), (portfolioVarN Finset.univ w fun i j => covariance (X i) (X j) μ) = σ2 * portfolioVarN Finset.univ w (equicorrelationMatrix n ρ)

A covariance kernel with a common variance σ² and a common pairwise covariance ρ σ² is σ² times the equicorrelation matrix, so its Markowitz form is σ² times the equicorrelation form.

theoremMathFin.neg_inv_le_and_le_one_of_covariancesource
∀ {n : Type u_1} [Fintype n] {ρ : ℝ} {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsFiniteMeasure μ] (X : n → Ω → ℝ), (∀ (i : n), MemLp (X i) 2 μ) → ∀ {σ2 : ℝ}, 0 < σ2 → (∀ (i : n), variance (X i) μ = σ2) → (∀ (i j : n), i ≠ j → covariance (X i) (X j) μ = ρ * σ2) → 2 ≤ Fintype.card n → -1 / (↑(Fintype.card n) - 1) ≤ ρ ∧ ρ ≤ 1

A common correlation of random variables obeys the equicorrelation bound: if square-integrable X₁, …, X_d (d ≥ 2) have a common variance σ² > 0 and a common pairwise covariance ρ σ², then −1/(d − 1) ≤ ρ ≤ 1. Their covariance kernel is σ² times the equicorrelation matrix, and a covariance kernel is PSD (covariance_kernel_psd).