MathFin
Map / Probability · Dependence / MathFin.Probability.Dependence.CopulaFamilies

Copula families: Farlie–Gumbel–Morgenstern and Clayton

MathFin.Probability.Dependence.CopulaFamiliesMSC 62H05MSC 91G70 source

Two parametric bivariate families from McNeil–Frey–Embrechts, Quantitative Risk Management (2015), Chapter 7, and the QRM Exercise Book, Exercises 7.17 and 7.19.

Farlie–Gumbel–Morgenstern. The FGM copula fgmCopula θ is the law on the unit square with density 1 + θ(1 − 2u)(1 − 2v) against the independence copula. For |θ| ≤ 1 it is a copula (isCopula_fgmCopula) with distribution function uv + θ uv(1 − u)(1 − v) (fgmCopula_real_Iic). For |θ| > 1 no copula has that distribution function, so |θ| ≤ 1 is exactly the admissible range (exists_isCopula_fgm_iff). A negative-mass rectangle near a corner of the square rules out the other values. Its Spearman's rho is θ/3 (spearmanRho_fgmCopula), so the family only reaches rank correlations in [−1/3, 1/3]. This is the drawback the exercise asks about: FGM can model only weak dependence.

Clayton. The Clayton copula function C_θ(u, v) = (u^{−θ} + v^{−θ} − 1)^{−1/θ} is treated at the level of the function. This file proves its coefficient of lower tail dependence, lim_{u → 0⁺} C_θ(u, u)/u = 2^{−1/θ} (tendsto_claytonCopulaFun_diag_div), and its limits in the parameter: the independence copula uv as θ → 0⁺ (tendsto_claytonCopulaFun_zero) and the comonotonicity copula min(u, v) as θ → ∞ (tendsto_claytonCopulaFun_atTop). That C_θ is the distribution function of a copula (the Archimedean-generator or gamma-frailty construction) is not proved here.

Spearman's rho of a bivariate copula is the linear correlation of its two uniform coordinates (spearmanRho). For a random vector with continuous margins it is Spearman's rho of the vector, computed on its copula (MFE Definition 7.33). Under a copula it equals 12 E[U₀U₁] − 3 (IsCopula.spearmanRho_eq).

Main definitions

  • spearmanRho: Spearman's rank correlation of a bivariate copula.
  • fgmDensity: the Farlie–Gumbel–Morgenstern density 1 + θ(1 − 2u)(1 − 2v).
  • fgmCopula: the Farlie–Gumbel–Morgenstern copula, the law with density fgmDensity θ against the independence copula.
  • claytonCopulaFun: the Clayton copula function C_θ(u, v) = (u^{−θ} + v^{−θ} − 1)^{−1/θ}.

Main results

  • IsCopula.spearmanRho_eq: ρ_S = 12 E[U₀U₁] − 3 for every bivariate copula.
  • isCopula_fgmCopula, fgmCopula_real_Iic: the FGM copula and its distribution function.
  • exists_isCopula_fgm_iff: uv + θuv(1 − u)(1 − v) is a copula exactly when |θ| ≤ 1.
  • spearmanRho_fgmCopula: ρ_S = θ/3.
  • tendsto_claytonCopulaFun_diag_div: Clayton lower tail dependence λ_l = 2^{−1/θ}.
  • tendsto_claytonCopulaFun_zero, tendsto_claytonCopulaFun_atTop: the limits Π and M.

References

Tags

Farlie–Gumbel–Morgenstern copula, Clayton copula, tail dependence, Spearman's rho, rank correlation, Archimedean copula, MSC 62H05, MSC 91G70

Import neighbourhood

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

Corpus entries

qrm-fgm-copula · quantitative_risk_management.json · full statement
Farlie–Gumbel–Morgenstern Copula Exists iff |θ| ≤ 1

The function uv + θuv(1 − u)(1 − v) is the distribution function on [0, 1]² of some bivariate copula if and only if |θ| ≤ 1.

qrm-fgm-spearman · quantitative_risk_management.json · full statement
Spearman's Rho of the FGM Copula

For |θ| ≤ 1, Spearman's rho (12E[U₀U₁] − 3) of the FGM copula is θ/3, so the family only reaches rank correlations in [−1/3, 1/3].

qrm-clayton-tail-dependence · quantitative_risk_management.json · full statement
Clayton Lower Tail Dependence 2^(−1/θ)

For θ > 0 the Clayton copula function C_θ(u, u) = (2u^(−θ) − 1)^(−1/θ) satisfies C_θ(u, u)/u → 2^(−1/θ) as u → 0⁺ (lower tail dependence coefficient), proved at the level of the copula function.

Declarations 23

theoremMathFin.integral_uniformIoosource
∀ (f : ℝ → ℝ), ∫ (x : ℝ) in Set.Ioo 0 1, f x = ∫ (x : ℝ) in 0..1, f x

Integrals over the uniform law on (0, 1) are interval integrals over [0, 1].

theoremMathFin.setIntegral_uniformIoo_Iicsource
∀ (f : ℝ → ℝ) {t : ℝ}, 0 ≤ t → t ≤ 1 → ∫ (x : ℝ) in Set.Iic t, f x ∂volume.restrict (Set.Ioo 0 1) = ∫ (x : ℝ) in 0..t, f x

Integrals over (-∞, t] against the uniform law on (0, 1) are interval integrals over [0, t] for t ∈ [0, 1].

defMathFin.spearmanRhosource
Measure (Fin 2 → ℝ) → ℝ

Spearman's rank correlation of a bivariate copula: the linear correlation of its two uniform coordinates. For a random vector with continuous margins this is Spearman's rho of the vector, ρ_S(X₁, X₂) = ρ(F₁(X₁), F₂(X₂)), computed on its copula.

theoremMathFin.IsCopula.memLp_evalsource
∀ {ι : Type u_1} [Countable ι] {C : Measure (ι → ℝ)}, IsCopula C → ∀ (i : ι), MemLp (fun v => v i) 2 C

Coordinates of a copula are square-integrable: they lie in (0, 1) almost surely.

theoremMathFin.IsCopula.spearmanRho_eqsource
∀ {C : Measure (Fin 2 → ℝ)}, IsCopula C → spearmanRho C = 12 * ∫ (v : Fin 2 → ℝ), v 0 * v 1 ∂C - 3

Spearman's rho of a copula is 12 E[U₀U₁] − 3: each uniform coordinate has mean 1/2 and variance 1/12.

defMathFin.fgmDensitysource
ℝ → (Fin 2 → ℝ) → ℝ

The Farlie–Gumbel–Morgenstern density 1 + θ(1 − 2u)(1 − 2v) on the unit square.

defMathFin.fgmCopulasource
ℝ → Measure (Fin 2 → ℝ)

The Farlie–Gumbel–Morgenstern copula: density 1 + θ(1 − 2u)(1 − 2v) against the independence copula. It is a copula for |θ| ≤ 1 (isCopula_fgmCopula).

theoremMathFin.measurable_fgmDensitysource
∀ (θ : ℝ), Measurable (fgmDensity θ)
theoremMathFin.fgmDensity_nonnegsource
∀ {θ : ℝ}, |θ| ≤ 1 → ∀ {v : Fin 2 → ℝ}, (∀ (i : Fin 2), v i ∈ Set.Ioo 0 1) → 0 ≤ fgmDensity θ v

The FGM density is nonnegative on the open unit square when |θ| ≤ 1.

theoremMathFin.integral_independenceCopula_twosource
∀ (f g : ℝ → ℝ), ∫ (v : Fin 2 → ℝ), f (v 0) * g (v 1) ∂independenceCopula (Fin 2) = (∫ (x : ℝ) in Set.Ioo 0 1, f x) * ∫ (x : ℝ) in Set.Ioo 0 1, g x

Integrals of a product of one-coordinate functions against the independence copula factor.

theoremMathFin.integrable_independenceCopula_twosource
∀ {h : (Fin 2 → ℝ) → ℝ}, Measurable h → ∀ (M : ℝ), (∀ (v : Fin 2 → ℝ), (∀ (i : Fin 2), v i ∈ Set.Ioo 0 1) → |h v| ≤ M) → Integrable h (independenceCopula (Fin 2))

Functions bounded on the open unit square are integrable against the independence copula.

theoremMathFin.fgmCopula_rectsource
∀ {θ : ℝ}, |θ| ≤ 1 → ∀ {A B : Set ℝ}, MeasurableSet A → MeasurableSet B → (fgmCopula θ) {v | v 0 ∈ A ∧ v 1 ∈ B} = ENNReal.ofReal ((volume.restrict (Set.Ioo 0 1)).real A * (volume.restrict (Set.Ioo 0 1)).real B + θ * ((∫ (x : ℝ) in A, 1 - 2 * x ∂volume.restrict (Set.Ioo 0 1)) * ∫ (y : ℝ) in B, 1 - 2 * y ∂volume.restrict (Set.Ioo 0 1)))

Mass of a rectangle under the FGM copula. For measurable A, B, with λ the uniform law on (0, 1), the FGM mass of {U₀ ∈ A, U₁ ∈ B} is λ(A) λ(B) + θ (∫_A (1 − 2x) dλ) (∫_B (1 − 2y) dλ).

theoremMathFin.integral_uniformIoo_one_sub_two_mulsource
∫ (x : ℝ) in Set.Ioo 0 1, 1 - 2 * x = 0

∫₀¹ (1 − 2x) dx = 0: the FGM perturbation integrates out of each margin.

theoremMathFin.integral_zero_one_sub_two_mulsource
∀ (t : ℝ), ∫ (x : ℝ) in 0..t, 1 - 2 * x = t - t ^ 2

∫₀ᵗ (1 − 2x) dx = t − t².

theoremMathFin.isCopula_fgmCopulasource
∀ {θ : ℝ}, |θ| ≤ 1 → IsCopula (fgmCopula θ)

The FGM copula is a copula for |θ| ≤ 1.

theoremMathFin.fgmCopula_real_Iicsource
∀ {θ : ℝ}, |θ| ≤ 1 → ∀ (u : Fin 2 → ℝ), (∀ (i : Fin 2), u i ∈ Set.Icc 0 1) → (fgmCopula θ).real (Set.Iic u) = u 0 * u 1 + θ * u 0 * u 1 * (1 - u 0) * (1 - u 1)

The FGM distribution function: C(u) = u₀u₁ + θ u₀u₁(1 − u₀)(1 − u₁) on [0, 1]².

theoremMathFin.exists_isCopula_fgm_iffsource
∀ (θ : ℝ), (∃ C, IsCopula C ∧ ∀ (u : Fin 2 → ℝ), (∀ (i : Fin 2), u i ∈ Set.Icc 0 1) → C.real (Set.Iic u) = u 0 * u 1 + θ * u 0 * u 1 * (1 - u 0) * (1 - u 1)) ↔ |θ| ≤ 1

FGM is a copula exactly for |θ| ≤ 1 (QRM Exercise Book, Exercise 7.19): some copula has distribution function uv + θ uv(1 − u)(1 − v) on [0, 1]² if and only if |θ| ≤ 1. For θ < −1 the mass of a small square at the origin would be negative, and for θ > 1 so would the mass of a thin strip {U₀ ≤ ε, U₁ > 1 − ε}.

theoremMathFin.spearmanRho_fgmCopulasource
∀ {θ : ℝ}, |θ| ≤ 1 → spearmanRho (fgmCopula θ) = θ / 3

Spearman's rho of the FGM copula is θ/3 (QRM Exercise Book, Exercise 7.19(d)), so the family attains rank correlations only in [−1/3, 1/3].

defMathFin.claytonCopulaFunsource
ℝ → ℝ → ℝ → ℝ

The Clayton copula function C_θ(u, v) = (u^{−θ} + v^{−θ} − 1)^{−1/θ}. Only the function is studied here. That it is the distribution function of a copula is not proved.

theoremMathFin.claytonCopulaFun_diagsource
∀ {θ : ℝ}, 0 < θ → ∀ {u : ℝ}, 0 < u → u ≤ 1 → claytonCopulaFun θ u u = u * (2 - u ^ θ) ^ (-1 / θ)

On the diagonal, C_θ(u, u) = u (2 − u^θ)^{−1/θ}.

theoremMathFin.tendsto_claytonCopulaFun_diag_divsource
∀ {θ : ℝ}, 0 < θ → Filter.Tendsto (fun u => claytonCopulaFun θ u u / u) (nhdsWithin 0 (Set.Ioi 0)) (nhds (2 ^ (-1 / θ)))

Lower tail dependence of the Clayton copula (QRM Exercise Book, Exercise 7.17(b)): λ_l = lim_{u → 0⁺} C_θ(u, u)/u = 2^{−1/θ}.

theoremMathFin.tendsto_claytonCopulaFun_atTopsource
∀ {u v : ℝ}, 0 < u → u ≤ 1 → 0 < v → v ≤ 1 → Filter.Tendsto (fun θ => claytonCopulaFun θ u v) Filter.atTop (nhds (min u v))

The Clayton copula tends to the comonotonicity copula as θ → ∞ (QRM Exercise Book, Exercise 7.17(d)): C_θ(u, v) → min(u, v) for u, v ∈ (0, 1].

theoremMathFin.tendsto_claytonCopulaFun_zerosource
∀ {u v : ℝ}, 0 < u → u ≤ 1 → 0 < v → v ≤ 1 → Filter.Tendsto (fun θ => claytonCopulaFun θ u v) (nhdsWithin 0 (Set.Ioi 0)) (nhds (u * v))

The Clayton copula tends to the independence copula as θ → 0⁺ (QRM Exercise Book, Exercise 7.17(c)): C_θ(u, v) → uv for u, v ∈ (0, 1]. Writing C_θ = exp(−θ⁻¹ log(u^{−θ} + v^{−θ} − 1)), the exponent is minus the difference quotient at 0 of θ ↦ log(u^{−θ} + v^{−θ} − 1), whose derivative there is −log u − log v.