Spearman's rho of Nelsen's family 2 #
Nelsen's family 2 is C(u, v) = max (0, 1 - ((1-u)^θ + (1-v)^θ)^(1/θ)), θ ≥ 1. Writing
x = 1-u, y = 1-v, we have C = (1 - ‖(x, y)‖_θ)₊, the cone over the ℓ^θ unit ball
(SpearmanNelsen2.cone). By the layer-cake formula and the volume of the ℓ^θ unit ball of the
plane (Mathlib: MeasureTheory.volume_sum_rpow_lt) the integral of the cone over the plane is
V / 3 with V = (2 Γ(1 + 1/θ))² / Γ(1 + 2/θ); by symmetry the quadrant carries a quarter of
it, so ∬ C = V / 12 and
ρ = 4 Γ(1 + 1/θ)² / Γ(1 + 2/θ) - 3 (spearmanRho_nelsen2).
For θ = 1 this is -1 (the copula is W), and ρ → 1 as θ → ∞.
theorem
ProbabilityTheory.Copula.SpearmanNelsen2.continuous_cone
(θ : ℝ)
(hθ : 1 ≤ θ)
:
Continuous fun (z : Fin 2 → ℝ) => cone θ (z 0) (z 1)
theorem
ProbabilityTheory.Copula.SpearmanNelsen2.integrable_cone
(θ : ℝ)
(hθ : 1 ≤ θ)
:
MeasureTheory.Integrable (fun (z : Fin 2 → ℝ) => cone θ (z 0) (z 1)) MeasureTheory.volume
theorem
ProbabilityTheory.Copula.SpearmanNelsen2.measure_lt_cone
(θ : ℝ)
(hθ : 1 ≤ θ)
{t : ℝ}
(ht : 0 < t)
:
MeasureTheory.volume {z : Fin 2 → ℝ | t < cone θ (z 0) (z 1)} = ENNReal.ofReal (1 - t) ^ 2 * ENNReal.ofReal ((2 * Real.Gamma (θ⁻¹ + 1)) ^ 2 / Real.Gamma (2 / θ + 1))
The volume of the level sets of the cone function.
Spearman's rho of Nelsen's family 2 (θ ≥ 1):
ρ = 4 Γ(1 + 1/θ)² / Γ(1 + 2/θ) - 3.