MathFin
Map / Risk · Credit portfolio risk / MathFin.Risk.Credit.OneFactorCopula

The one-factor default model is the one-factor Gaussian copula

MathFin.Risk.Credit.OneFactorCopulaMSC 91G40MSC 62H05JEL G32 source

The library writes the one-factor Gaussian default model in two parametrizations. The threshold model of Risk/Credit/BernoulliMixture.lean (and of VasicekIRB.lean, TrancheLoss.lean) uses the asset correlation ρ ∈ [0, 1): obligor i defaults when √ρ F + √(1 − ρ) εᵢ ≤ Φ⁻¹(π). The copula of Probability/Dependence/GaussianCopula.lean uses a factor loading ℓ ∈ [−1, 1], with latent vector ℓ Z₀ + √(1 − ℓ²) Zᵢ and pairwise correlation ℓ². This file proves that, with ℓ = √ρ, they assign the same joint default probabilities at a common default probability π, so that the library's parameter is the asset correlation ρ:

  • gaussianFactorCopula_sqrt_real_Iic_const: the copula at loading √ρ, evaluated at (π, …, π), is the mixture integral ∫ p(x)ⁿ dN(0,1)(x) of oneFactor_measureReal_iInter_default, with p = oneFactorPD π ρ.
  • oneFactor_measureReal_iInter_default_eq_gaussianFactorCopula: for any one-factor model on any probability space (F, εᵢ independent standard normals), the probability that all n names default is C(π, …, π) for the copula C = gaussianFactorCopula n √ρ.
  • integral_oneFactorPD_sq, oneFactor_measureReal_inter_default: two names default together with probability N₂(Φ⁻¹(π), Φ⁻¹(π); ρ), the standard bivariate normal CDF at correlation ρ (O. Vasicek, "Loan portfolio value", Risk 15(12) (2002)). With oneFactor_measureReal_default, the default covariance of two names is N₂(Φ⁻¹(π), Φ⁻¹(π); ρ) − π²; that corollary is not stated separately.

Main results

  • gaussianFactorCopula_sqrt_real_Iic_const: for π ∈ (0, 1) and 0 ≤ ρ < 1, the Gaussian factor copula at loading √ρ, evaluated at (π, …, π), is ∫ oneFactorPD π ρ (x) ^ n against N(0, 1).
  • oneFactor_measureReal_iInter_default_eq_gaussianFactorCopula: for independent standard normals F, ε₁, …, εₙ, the probability that every name defaults, √ρ F + √(1 − ρ) εᵢ ≤ Φ⁻¹(π) for all i, is C(π, …, π) for the copula C = gaussianFactorCopula n √ρ.
  • integral_oneFactorPD_sq: ∫ oneFactorPD π ρ (x) ^ 2 dN(0, 1) = N₂(Φ⁻¹(π), Φ⁻¹(π); ρ), the bivariate normal CDF at correlation ρ.
  • oneFactor_measureReal_inter_default: two names default together with probability N₂(Φ⁻¹(π), Φ⁻¹(π); ρ) in the one-factor Gaussian threshold model.

References

Tags

one-factor Gaussian copula, Vasicek model, asset correlation, factor loading, joint default probability, bivariate normal, CDO modelling, MSC 91G40, MSC 62H05, JEL G32

Import neighbourhood

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

Corpus entries

mf-one-factor-copula-joint-default · credit.json · full statement
One-Factor Default Model Is the Gaussian Factor Copula

In the one-factor Gaussian threshold model (F and ε₁, …, εₙ independent standard normals, asset correlation ρ ∈ [0, 1), default probability π ∈ (0, 1)), the probability that all n names default, P(√ρ F + √(1 − ρ) εᵢ ≤ Φ⁻¹(π) for all i), equals C(π, …, π) for the one-factor Gaussian copula C with factor loading √ρ.

mf-one-factor-pairwise-default-bivariate-normal · credit.json · full statement
Two-Name Joint Default in the One-Factor Gaussian Model

In the one-factor Gaussian threshold model with asset correlation ρ ∈ [0, 1) (F and the εᵢ independent standard normals), two distinct names default together with probability N₂(Φ⁻¹(π), Φ⁻¹(π); ρ), the standard bivariate normal CDF at correlation ρ. Holds for every real π (Φ⁻¹ is the library's PhiInv).

Declarations 8

theoremMathFin.hasLaw_fst_stdNormalFactorssource
∀ {n : ℕ}, HasLaw Prod.fst (gaussianReal 0 1) (stdNormalFactors n)

On the factor space the systematic factor z₀ is standard normal.

theoremMathFin.hasLaw_snd_apply_stdNormalFactorssource
∀ {n : ℕ} (i : Fin n), HasLaw (fun z => z.2 i) (gaussianReal 0 1) (stdNormalFactors n)

On the factor space each idiosyncratic factor zᵢ is standard normal.

theoremMathFin.iIndepFun_snd_stdNormalFactorssource
∀ {n : ℕ}, iIndepFun (fun i z => z.2 i) (stdNormalFactors n)

On the factor space the idiosyncratic factors are independent.

theoremMathFin.indepFun_fst_snd_stdNormalFactorssource
∀ {n : ℕ}, IndepFun Prod.fst (fun z i => z.2 i) (stdNormalFactors n)

On the factor space the systematic factor is independent of the idiosyncratic ones.

theoremMathFin.gaussianFactorCopula_sqrt_real_Iic_constsource
∀ {n : ℕ} {π ρ : ℝ}, π ∈ Set.Ioo 0 1 → 0 ≤ ρ → ρ < 1 → (gaussianFactorCopula n √ρ).real (Set.Iic fun x => π) = ∫ (x : ℝ), oneFactorPD π ρ x ^ n ∂gaussianReal 0 1

The one-factor copula at loading √ρ is the one-factor default model. For π ∈ (0, 1) and 0 ≤ ρ < 1, the Gaussian factor copula at loading √ρ assigns to [0, π]ⁿ the mixture integral ∫ p(x)ⁿ dN(0,1)(x), p(x) = Φ((Φ⁻¹(π) − √ρ x)/√(1 − ρ)), which is the probability that all n names of the asset-correlation-ρ threshold model default (oneFactor_measureReal_iInter_default).

theoremMathFin.oneFactor_measureReal_iInter_default_eq_gaussianFactorCopulasource
∀ {n : ℕ} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {π ρ : ℝ} {F : Ω → ℝ} {ε : Fin n → Ω → ℝ}, HasLaw F (gaussianReal 0 1) P → (∀ (i : Fin n), HasLaw (ε i) (gaussianReal 0 1) P) → iIndepFun ε P → IndepFun F (fun ω i => ε i ω) P → π ∈ Set.Ioo 0 1 → 0 ≤ ρ → ρ < 1 → P.real (⋂ i, {ω | √ρ * F ω + √(1 - ρ) * ε i ω ≤ PhiInv π}) = (gaussianFactorCopula n √ρ).real (Set.Iic fun x => π)

The joint default probability of the one-factor model is the Gaussian factor copula. Let F and ε₁, …, εₙ be independent standard normals on any probability space, π ∈ (0, 1) and 0 ≤ ρ < 1. The probability that every name defaults, √ρ F + √(1 − ρ) εᵢ ≤ Φ⁻¹(π) for all i, is C(π, …, π) for the copula C = gaussianFactorCopula n √ρ.

theoremMathFin.integral_oneFactorPD_sqsource
∀ {π ρ : ℝ}, 0 ≤ ρ → ρ < 1 → ∫ (x : ℝ), oneFactorPD π ρ x ^ 2 ∂gaussianReal 0 1 = bivariateNormalCDF (PhiInv π) (PhiInv π) ρ

Vasicek's joint default probability: ∫ p(x)² dN(0,1)(x) = N₂(Φ⁻¹(π), Φ⁻¹(π); ρ) for 0 ≤ ρ < 1, where p = oneFactorPD π ρ. Both sides are the probability that two names of the factor space default together: the left by the mixture formula, the right because the two latent variables form a standard bivariate normal pair with correlation (√ρ)² = ρ (measureReal_gaussianFactorVec_le).

theoremMathFin.oneFactor_measureReal_inter_defaultsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {ι : Type u_2} [Finite ι] {π ρ : ℝ} {F : Ω → ℝ} {ε : ι → Ω → ℝ}, HasLaw F (gaussianReal 0 1) P → (∀ (i : ι), HasLaw (ε i) (gaussianReal 0 1) P) → iIndepFun ε P → IndepFun F (fun ω i => ε i ω) P → 0 ≤ ρ → ρ < 1 → ∀ {i j : ι}, i ≠ j → P.real ({ω | √ρ * F ω + √(1 - ρ) * ε i ω ≤ PhiInv π} ∩ {ω | √ρ * F ω + √(1 - ρ) * ε j ω ≤ PhiInv π}) = bivariateNormalCDF (PhiInv π) (PhiInv π) ρ

Two names default together with probability N₂(Φ⁻¹(π), Φ⁻¹(π); ρ) in the one-factor Gaussian threshold model with asset correlation ρ ∈ [0, 1): F and the εᵢ are independent standard normals on any probability space, and i ≠ j.