MathFin
Map / Probability · Dependence / MathFin.Probability.Dependence.GaussianCopula

The one-factor Gaussian copula

MathFin.Probability.Dependence.GaussianCopulaMSC 62H05MSC 91G40JEL G32 source

The one-factor Gaussian copula on n names with factor loading ρ ∈ [−1, 1] is the copula of the latent vector Xᵢ = ρ Z₀ + √(1 − ρ²) Zᵢ, i : Fin n, where the systematic factor Z₀ and the idiosyncratic factors Z₁, …, Zₙ are independent standard normals (stdNormalFactors). Every Xᵢ is standard normal (map_gaussianFactorVec), Cov(Xᵢ, Xⱼ) = ρ² for i ≠ j (covariance_gaussianFactorVec), and each pair (Xᵢ, Xⱼ) has the standard bivariate normal law with correlation ρ² (map_pair_gaussianFactorVec, through eq_bivariateNormalLaw). Loadings ρ and −ρ give the same copula (gaussianFactorCopula_neg), so the family is parametrized by the pairwise correlation ρ² alone. The library's one-factor default model (Risk/Credit/BernoulliMixture.lean, VasicekIRB.lean, TrancheLoss.lean) is written in that parameter, the asset correlation ρ of √ρ F + √(1 − ρ) εᵢ; the probability that all its names default at a common default probability π is this copula at loading √ρ, evaluated at (π, …, π) (Risk/Credit/OneFactorCopula.lean). Name i defaults by time t when Xᵢ ≤ Φ⁻¹(pᵢ(t)).

We take the factors as a point (z₀, z) : ℝ × (Fin n → ℝ) under the product of standard normal laws, with the systematic factor in the first slot, so that every name is treated symmetrically. (A common bivariate construction instead writes the pair as (Z₁, ρ Z₁ + √(1 − ρ²) Z₂), with correlation ρ; the symmetric model here has pairwise correlation ρ², never negative.)

The copula is defined via copulaOf, so being a copula is Sklar's theorem.

Main definitions

  • stdNormalFactors: the product of n + 1 standard normal laws on ℝ × (Fin n → ℝ), the systematic factor Z₀ in the first slot and the idiosyncratic factors in the second.
  • gaussianFactorVec: the latent vector Xᵢ = ρ z₀ + √(1 − ρ²) zᵢ.
  • gaussianFactorCopula: the copula of gaussianFactorVec ρ under stdNormalFactors n.

Main results

  • gaussianFactorCopula, isCopula_gaussianFactorCopula, gaussianFactorCopula_real_Iic.
  • covariance_gaussianFactorVec, map_pair_gaussianFactorVec, measureReal_gaussianFactorVec_le: pairwise covariance ρ², bivariate normal pairs, and the pairwise joint distribution function P(Xᵢ ≤ a, Xⱼ ≤ b) = N₂(a, b; ρ²).
  • gaussianFactorCopula_neg: loadings ρ and −ρ give the same copula.
  • gaussianFactorCopula_zero: ρ = 0 gives the independence copula Π.
  • gaussianFactorCopula_one: ρ = 1 gives the comonotonicity copula M (so does ρ = −1, by gaussianFactorCopula_neg).

The countermonotonicity copula W (countermonotoneCopula) is defined on Fin 2 only (for d ≥ 3 the lower Fréchet bound is not a copula, not_exists_isCopula_frechetLower). Since the pairwise correlations ρ² are nonnegative, W is not a member of this family; that is not stated as a lemma.

References

  • J. Hull and A. White, Valuation of a CDO and an $n$-th to default CDS without Monte Carlo simulation [HullWhite2004]

Tags

Gaussian copula, one-factor model, factor loading, asset correlation, default dependence, latent variable, MSC 62H05, MSC 91G40, JEL G32

Import neighbourhood

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

Corpus entries

mf-gaussian-factor-copula-pair-law · credit.json · full statement
Pairs of the One-Factor Gaussian Latent Vector Are Bivariate Normal

For the one-factor Gaussian latent vector Xᵢ = ρ Z₀ + √(1 − ρ²) Zᵢ with Z₀, Z₁, …, Zₙ independent standard normals and loading ρ ∈ [−1, 1], each pair (Xᵢ, Xⱼ) with i ≠ j has the standard bivariate normal law with correlation ρ².

Declarations 19

defMathFin.stdNormalFactorssource
(n : ℕ) → Measure (ℝ × (Fin n → ℝ))

The law of the factors of the one-factor model: a systematic standard normal Z₀ and n idiosyncratic standard normals, all independent.

defMathFin.gaussianFactorVecsource
{n : ℕ} → ℝ → ℝ × (Fin n → ℝ) → Fin n → ℝ

The one-factor Gaussian latent vector Xᵢ = ρ z₀ + √(1 − ρ²) zᵢ.

theoremMathFin.measurable_gaussianFactorVecsource
∀ {n : ℕ} (ρ : ℝ), Measurable (gaussianFactorVec ρ)
theoremMathFin.map_stdNormalFactors_pairsource
∀ {n : ℕ} (i : Fin n), Measure.map (fun z => (z.1, z.2 i)) (stdNormalFactors n) = stdNormalPair

(Z₀, Zᵢ) is a pair of independent standard normals.

theoremMathFin.map_gaussianFactorVecsource
∀ {n : ℕ} {ρ : ℝ}, ρ ∈ Set.Icc (-1) 1 → ∀ (i : Fin n), Measure.map (fun z => gaussianFactorVec ρ z i) (stdNormalFactors n) = gaussianReal 0 1

For ρ ∈ [−1, 1] every coordinate of the latent vector is standard normal.

theoremMathFin.map_Phi_gaussianRealsource
Measure.map Phi (gaussianReal 0 1) = volume.restrict (Set.Ioo 0 1)

Φ pushes the standard normal law to the uniform law on (0, 1).

theoremMathFin.integral_gaussianFactorVecsource
∀ {n : ℕ} {ρ : ℝ}, ρ ∈ Set.Icc (-1) 1 → ∀ (i : Fin n), ∫ (z : ℝ × (Fin n → ℝ)), gaussianFactorVec ρ z i ∂stdNormalFactors n = 0

Each latent coordinate is centred.

theoremMathFin.variance_gaussianFactorVecsource
∀ {n : ℕ} {ρ : ℝ}, ρ ∈ Set.Icc (-1) 1 → ∀ (i : Fin n), variance (fun z => gaussianFactorVec ρ z i) (stdNormalFactors n) = 1

Each latent coordinate has unit variance.

theoremMathFin.covariance_gaussianFactorVecsource
∀ {n : ℕ} (ρ : ℝ) {i j : Fin n}, i ≠ j → covariance (fun z => gaussianFactorVec ρ z i) (fun z => gaussianFactorVec ρ z j) (stdNormalFactors n) = ρ ^ 2

Pairwise covariance ρ²: for i ≠ j, Cov(Xᵢ, Xⱼ) = ρ², for every ρ. Only the systematic factor is shared: Cov(Z₀, Z₀) = 1, while Z₀, Zᵢ, Zⱼ are pairwise uncorrelated.

theoremMathFin.map_pair_gaussianFactorVecsource
∀ {n : ℕ} {ρ : ℝ}, ρ ∈ Set.Icc (-1) 1 → ∀ {i j : Fin n}, i ≠ j → Measure.map (fun z => (gaussianFactorVec ρ z i, gaussianFactorVec ρ z j)) (stdNormalFactors n) = bivariateNormalLaw (ρ ^ 2)

Each pair of latent coordinates is standard bivariate normal with correlation ρ²: for ρ ∈ [−1, 1] and i ≠ j, the law of (Xᵢ, Xⱼ) is bivariateNormalLaw (ρ²). The pair is a continuous linear image of the Gaussian factors, hence Gaussian, with centred unit-variance coordinates and covariance ρ² (covariance_gaussianFactorVec); eq_bivariateNormalLaw identifies it.

theoremMathFin.measureReal_gaussianFactorVec_lesource
∀ {n : ℕ} {ρ : ℝ}, ρ ∈ Set.Icc (-1) 1 → ∀ {i j : Fin n}, i ≠ j → ∀ (a b : ℝ), (stdNormalFactors n).real {z | gaussianFactorVec ρ z i ≤ a ∧ gaussianFactorVec ρ z j ≤ b} = bivariateNormalCDF a b (ρ ^ 2)

Pairwise joint distribution function: for ρ ∈ [−1, 1] and i ≠ j, P(Xᵢ ≤ a, Xⱼ ≤ b) = N₂(a, b; ρ²).

defMathFin.gaussianFactorCopulasource
(n : ℕ) → ℝ → Measure (Fin n → ℝ)

The one-factor Gaussian copula on n names with loading ρ: the copula of gaussianFactorVec ρ. It is a copula for ρ ∈ [−1, 1] (isCopula_gaussianFactorCopula).

theoremMathFin.continuous_cdf_gaussianFactorVecsource
∀ {n : ℕ} {ρ : ℝ}, ρ ∈ Set.Icc (-1) 1 → ∀ (i : Fin n), Continuous ↑(cdf (Measure.map (fun z => gaussianFactorVec ρ z i) (stdNormalFactors n)))

Each marginal CDF of the latent vector is Φ, hence continuous — the hypothesis Sklar's theorem needs.

theoremMathFin.gaussianFactorCopula_eq_mapsource
∀ {n : ℕ} {ρ : ℝ}, ρ ∈ Set.Icc (-1) 1 → gaussianFactorCopula n ρ = Measure.map (fun z i => Phi (gaussianFactorVec ρ z i)) (stdNormalFactors n)

For ρ ∈ [−1, 1] the copula is the law of (Φ(X₁), …, Φ(Xₙ)).

theoremMathFin.isCopula_gaussianFactorCopulasource
∀ {n : ℕ} {ρ : ℝ}, ρ ∈ Set.Icc (-1) 1 → IsCopula (gaussianFactorCopula n ρ)

The one-factor Gaussian copula is a copula for every ρ ∈ [−1, 1].

theoremMathFin.gaussianFactorCopula_real_Iicsource
∀ {n : ℕ} {ρ : ℝ}, ρ ∈ Set.Icc (-1) 1 → ∀ (u : Fin n → ℝ), (∀ (i : Fin n), u i ∈ Set.Ioo 0 1) → (gaussianFactorCopula n ρ).real (Set.Iic u) = (stdNormalFactors n).real {z | gaussianFactorVec ρ z ≤ fun i => PhiInv (u i)}

Distribution function: on (0, 1)ⁿ, C(u) = P(Xᵢ ≤ Φ⁻¹(uᵢ) for all i).

theoremMathFin.gaussianFactorCopula_zerosource
∀ {n : ℕ}, gaussianFactorCopula n 0 = independenceCopula (Fin n)

ρ = 0 gives the independence copula Π.

theoremMathFin.gaussianFactorCopula_onesource
∀ {n : ℕ}, gaussianFactorCopula n 1 = comonotoneCopula (Fin n)

ρ = 1 gives the comonotonicity copula M: every name loads only on Z₀.

theoremMathFin.gaussianFactorCopula_negsource
∀ {n : ℕ} {ρ : ℝ}, ρ ∈ Set.Icc (-1) 1 → gaussianFactorCopula n (-ρ) = gaussianFactorCopula n ρ

The copula sees the loading only through ρ²: loadings ρ and −ρ give the same copula. Negating the systematic factor preserves its law and turns one latent vector into the other.