The Marshall–Olkin common-shock model
Three independent exponential clocks T₁, T₂, T₃ with rates λ₁, λ₂, λ₃ > 0 drive two default times. T₁, T₂ are idiosyncratic shocks, and T₃ is a common shock that kills both names. Firm j defaults at Xⱼ = min(Tⱼ, T₃) (QRM Exercise Book Ex. 7.23; McNeil–Frey–Embrechts (2015) Section 7.2.2; Marshall and Olkin 1967). In Lean the clocks are T 0, T 1, T 2, with rates rate 0, rate 1, rate 2.
- Joint survival (
marshallOlkin_survival): for s, t ≥ 0, P(X₁ > s, X₂ > t) = exp(−λ₁ s − λ₂ t − λ₃ max(s, t)). - Margins (
hasLaw_marshallOlkin_fst, hasLaw_marshallOlkin_snd): Xⱼ ~ Exp(λⱼ + λ₃). - The survival copula (
marshallOlkin_survival_eq_copula): the joint survival function is the Marshall–Olkin copula C(u₁, u₂) = min(u₁^{1−α₁} u₂, u₁ u₂^{1−α₂}), with αⱼ = λ₃ / (λⱼ + λ₃), evaluated at the marginal survival probabilities. - Dependence (
marshallOlkin_survival_gt_mul, marshallOlkin_diagonal_pos): the names survive together more often than independent names with the same margins would. With positive probability they default at the same instant, so the joint law has a singular component even though both margins are continuous. - Default covariance (
covariance_indicator_marshallOlkin): for horizons s, t ≥ 0 the default indicators 𝟙{X₁ ≤ s}, 𝟙{X₂ ≤ t} have covariance exp(−(λ₁ + λ₃)s − (λ₂ + λ₃)t) (exp(λ₃ min(s, t)) − 1), by the indicator covariance covariance_indicator_one of Probability/Dependence/HoeffdingCovariance.lean. - First to default (
marshallOlkin_firstToDefault_survival, marshallOlkin_firstToDefault_spread_lt): min(X₁, X₂) = min(T₁, T₂, T₃) survives to t with probability exp(−(λ₁ + λ₂ + λ₃) t). So the first-to-default intensity is λ₁ + λ₂ + λ₃. That is strictly below the sum (λ₁ + λ₃) + (λ₂ + λ₃) of the single-name intensities whenever the common shock is active. For independent names Models/Credit/FirstToDefault.lean (firstToDefault_spread_eq_sum_hazards) shows the first-to-default spread equals the sum of the single-name hazards, and its docstring asserts that default correlation only lowers the spread below this sum. The common shock is a machine-checked instance of that assertion: it correlates the two defaults and lowers the basket intensity by exactly λ₃.
Main definitions
marshallOlkinCopula: the bivariate copula C(u₁, u₂) = min(u₁^{1−α₁} u₂, u₁ u₂^{1−α₂}) with parameters α₁, α₂.
Main results
For independent exponential clocks T i of positive rates rate i:
marshallOlkin_survival: for s, t ≥ 0, P(X₁ > s, X₂ > t) = exp(−λ₁ s − λ₂ t − λ₃ max(s, t)).hasLaw_marshallOlkin_fst, hasLaw_marshallOlkin_snd: X₁ ~ Exp(λ₁ + λ₃) and X₂ ~ Exp(λ₂ + λ₃).marshallOlkin_survival_eq_copula: for s, t ≥ 0, the joint survival probability equals marshallOlkinCopula (with αⱼ = λ₃/(λⱼ + λ₃)) at the two marginal survival probabilities.marshallOlkin_survival_gt_mul: for s, t > 0, the joint survival probability is strictly larger than the product of the marginal ones.marshallOlkin_diagonal_pos: P(X₁ = X₂) > 0.covariance_indicator_marshallOlkin: for s, t ≥ 0, Cov(𝟙{X₁ ≤ s}, 𝟙{X₂ ≤ t}) is exp(−(λ₁+λ₃)s − (λ₂+λ₃)t)·(exp(λ₃ min(s, t)) − 1).marshallOlkin_firstToDefault_survival: for t ≥ 0, P(min(X₁, X₂) > t) = exp(−(λ₁+λ₂+λ₃)t).marshallOlkin_firstToDefault_spread, marshallOlkin_single_name_spread_fst, marshallOlkin_single_name_spread_snd: for t > 0, −log P(·)/t equals λ₁+λ₂+λ₃ for the first-to-default time and λ₁+λ₃, λ₂+λ₃ for the single names.marshallOlkin_firstToDefault_spread_lt: for t > 0, the first-to-default spread is strictly below the sum of the two single-name spreads.
References
Tags
Marshall–Olkin copula, common shock, joint default, default correlation, first-to-default, exponential clocks, survival copula, MSC 91G40, MSC 62H05, JEL G33
Import neighbourhood
Above: what it imports. Below: what imports it.
Corpus entries
mf-marshall-olkin-default-covariance · credit.json · full statement
Default Covariance Under a Common Shock
For independent exponential T₁, T₂, T₃ with rates λ₁, λ₂, λ₃ > 0 and default times Xⱼ = min(Tⱼ, T₃), the default indicators 𝟙{X₁ ≤ s} and 𝟙{X₂ ≤ t} have covariance exp(−(λ₁ + λ₃)s − (λ₂ + λ₃)t) · (exp(λ₃ min(s, t)) − 1) for s, t ≥ 0.
qrm-marshall-olkin-survival · quantitative_risk_management.json · full statement
Marshall–Olkin Joint Survival Function
For independent exponential T₁, T₂, T₃ with rates λ₁, λ₂, λ₃ and Xⱼ = min(Tⱼ, T₃): P(X₁ > s, X₂ > t) = exp(−λ₁s − λ₂t − λ₃ max(s, t)) for s, t ≥ 0.
qrm-marshall-olkin-ftd · quantitative_risk_management.json · full statement
Common Shock Lowers the First-to-Default Spread
In the Marshall–Olkin model with all three rates positive, the first-to-default spread −log P(min(X₁, X₂) > t)/t (equal to λ₁ + λ₂ + λ₃, `marshallOlkin_firstToDefault_spread`) is strictly below the sum of the single-name spreads (λ₁ + λ₃) + (λ₂ + λ₃).
Declarations 20
theoremMathFin.expMeasure_real_Ioisource ∀ {r : ℝ}, 0 < r → ∀ (t : ℝ), (expMeasure r).real (Set.Ioi t) = Real.exp (-(r * max t 0))The exponential survival function: Exp(r) puts mass exp(−r · max(t, 0)) on (t, ∞).
theoremMathFin.expMeasure_Ioi_ne_zerosource ∀ {r : ℝ}, 0 < r → ∀ (t : ℝ), (expMeasure r) (Set.Ioi t) ≠ 0An exponential clock outlasts any horizon with positive probability.
theoremMathFin.expMeasure_Iic_ne_zerosource ∀ {r t : ℝ}, 0 < r → 0 < t → (expMeasure r) (Set.Iic t) ≠ 0An exponential clock rings before a positive horizon with positive probability.
theoremMathFin.ext_of_measureReal_Ioisource ∀ {μ ν : Measure ℝ} [IsProbabilityMeasure μ] [IsProbabilityMeasure ν], (∀ (u : ℝ), μ.real (Set.Ioi u) = ν.real (Set.Ioi u)) → μ = νTwo laws on ℝ with the same survival function coincide.
theoremMathFin.measureReal_iInter_Ioi_of_hasLaw_expMeasuresource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ (c : Fin 3 → ℝ), P.real (⋂ i, T i ⁻¹' Set.Ioi (c i)) = ∏ i, Real.exp (-(rate i * max (c i) 0))Survival of all three clocks past their own thresholds: independence factorizes it.
theoremMathFin.measureReal_lt_min_of_hasLaw_expMeasuresource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ {i j : Fin 3}, i ≠ j → ∀ (u : ℝ), P.real {ω | u < min (T i ω) (T j ω)} = (expMeasure (rate i + rate j)).real (Set.Ioi u)The survival function of a minimum of two of the independent clocks.
theoremMathFin.hasLaw_min_expMeasuresource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ {i j : Fin 3}, i ≠ j → HasLaw (fun ω => min (T i ω) (T j ω)) (expMeasure (rate i + rate j)) PA minimum of two independent exponential clocks is exponential at the summed rate.
theoremMathFin.hasLaw_marshallOlkin_fstsource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → HasLaw (fun ω => min (T 0 ω) (T 2 ω)) (expMeasure (rate 0 + rate 2)) PMargins of the Marshall–Olkin model: X₁ = min(T₁, T₃) ~ Exp(λ₁ + λ₃).
theoremMathFin.hasLaw_marshallOlkin_sndsource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → HasLaw (fun ω => min (T 1 ω) (T 2 ω)) (expMeasure (rate 1 + rate 2)) PMargins of the Marshall–Olkin model: X₂ = min(T₂, T₃) ~ Exp(λ₂ + λ₃).
theoremMathFin.marshallOlkin_survivalsource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ {s t : ℝ}, 0 ≤ s → 0 ≤ t → P.real {ω | s < min (T 0 ω) (T 2 ω) ∧ t < min (T 1 ω) (T 2 ω)} = Real.exp (-(rate 0 * s) - rate 1 * t - rate 2 * max s t)Joint survival of the Marshall–Olkin model (QRM Exercise Book Ex. 7.23): for s, t ≥ 0, P(X₁ > s, X₂ > t) = exp(−λ₁ s − λ₂ t − λ₃ max(s, t)). Both names survive exactly when the idiosyncratic clocks pass their own horizons and the common shock passes the later one.
defMathFin.marshallOlkinCopulasource ℝ → ℝ → ℝ → ℝ → ℝ
The bivariate Marshall–Olkin copula C(u₁, u₂) = min(u₁^{1−α₁} u₂, u₁ u₂^{1−α₂}).
theoremMathFin.marshallOlkin_survival_eq_copulasource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ {s t : ℝ}, 0 ≤ s → 0 ≤ t → P.real {ω | s < min (T 0 ω) (T 2 ω) ∧ t < min (T 1 ω) (T 2 ω)} = marshallOlkinCopula (rate 2 / (rate 0 + rate 2)) (rate 2 / (rate 1 + rate 2)) (P.real {ω | s < min (T 0 ω) (T 2 ω)}) (P.real {ω | t < min (T 1 ω) (T 2 ω)})The Marshall–Olkin survival copula (QRM Exercise Book Ex. 7.23(a)): for s, t ≥ 0 the joint survival probability of (X₁, X₂) is the Marshall–Olkin copula with αⱼ = λ₃ / (λⱼ + λ₃) evaluated at the marginal survival probabilities: P(X₁ > s, X₂ > t) = C(P(X₁ > s), P(X₂ > t)).
theoremMathFin.marshallOlkin_survival_gt_mulsource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ {s t : ℝ}, 0 < s → 0 < t → P.real {ω | s < min (T 0 ω) (T 2 ω)} * P.real {ω | t < min (T 1 ω) (T 2 ω)} < P.real {ω | s < min (T 0 ω) (T 2 ω) ∧ t < min (T 1 ω) (T 2 ω)}Positive quadrant dependence: for s, t > 0 the two names survive together more often than independent names with the same margins would, P(X₁ > s, X₂ > t) > P(X₁ > s) P(X₂ > t). The excess factor is exp(λ₃ min(s, t)).
theoremMathFin.marshallOlkin_diagonal_possource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → 0 < P.real {ω | min (T 0 ω) (T 2 ω) = min (T 1 ω) (T 2 ω)}The Marshall–Olkin law charges the diagonal: P(X₁ = X₂) > 0, although both margins are exponential and hence atomless. The common shock makes the two defaults simultaneous with positive probability, so the joint law has a singular component on {x₁ = x₂}.
theoremMathFin.covariance_indicator_marshallOlkinsource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ {s t : ℝ}, 0 ≤ s → 0 ≤ t → covariance ({ω | min (T 0 ω) (T 2 ω) ≤ s}.indicator 1) ({ω | min (T 1 ω) (T 2 ω) ≤ t}.indicator 1) P = Real.exp (-((rate 0 + rate 2) * s) - (rate 1 + rate 2) * t) * (Real.exp (rate 2 * min s t) - 1)Default covariance under a common shock: for horizons s, t ≥ 0, the default indicators 𝟙{X₁ ≤ s} and 𝟙{X₂ ≤ t} have covariance exp(−(λ₁ + λ₃)s − (λ₂ + λ₃)t) · (exp(λ₃ min(s, t)) − 1), positive when λ₃ min(s, t) > 0. The covariance of two indicators is P(A ∩ B) − P(A)P(B) (covariance_indicator_one, Probability/Dependence/HoeffdingCovariance.lean), unchanged under complementing both events (measureReal_inter_sub_mul_compl), so it is read off the joint survival function (marshallOlkin_survival) and the margins.
theoremMathFin.marshallOlkin_firstToDefault_survivalsource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ {t : ℝ}, 0 ≤ t → P.real {ω | t < min (min (T 0 ω) (T 2 ω)) (min (T 1 ω) (T 2 ω))} = Real.exp (-((rate 0 + rate 1 + rate 2) * t))First-to-default survival under a common shock: for t ≥ 0, P(min(X₁, X₂) > t) = exp(−(λ₁ + λ₂ + λ₃) t), since min(X₁, X₂) = min(T₁, T₂, T₃).
theoremMathFin.marshallOlkin_firstToDefault_spreadsource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ {t : ℝ}, 0 < t → -Real.log (P.real {ω | t < min (min (T 0 ω) (T 2 ω)) (min (T 1 ω) (T 2 ω))}) / t = rate 0 + rate 1 + rate 2The first-to-default credit spread under a common shock, −log P(min(X₁, X₂) > t) / t, is the basket intensity λ₁ + λ₂ + λ₃.
theoremMathFin.marshallOlkin_single_name_spread_fstsource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ {t : ℝ}, 0 < t → -Real.log (P.real {ω | t < min (T 0 ω) (T 2 ω)}) / t = rate 0 + rate 2The single-name credit spread of the first name is its intensity λ₁ + λ₃.
theoremMathFin.marshallOlkin_single_name_spread_sndsource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ {t : ℝ}, 0 < t → -Real.log (P.real {ω | t < min (T 1 ω) (T 2 ω)}) / t = rate 1 + rate 2The single-name credit spread of the second name is its intensity λ₂ + λ₃.
theoremMathFin.marshallOlkin_firstToDefault_spread_ltsource ∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {T : Fin 3 → Ω → ℝ} {rate : Fin 3 → ℝ}, (∀ (i : Fin 3), 0 < rate i) → (∀ (i : Fin 3), HasLaw (T i) (expMeasure (rate i)) P) → iIndepFun T P → ∀ {t : ℝ}, 0 < t → -Real.log (P.real {ω | t < min (min (T 0 ω) (T 2 ω)) (min (T 1 ω) (T 2 ω))}) / t < -Real.log (P.real {ω | t < min (T 0 ω) (T 2 ω)}) / t + -Real.log (P.real {ω | t < min (T 1 ω) (T 2 ω)}) / tDefault correlation lowers the first-to-default spread: under an active common shock (λ₃ > 0), the first-to-default spread λ₁ + λ₂ + λ₃ is strictly below the sum of the single-name spreads (λ₁ + λ₃) + (λ₂ + λ₃). The sum is what independent names with the same single-name spreads would pay (firstToDefault_spread_eq_sum_hazards).