The double integral behind Spearman's rho of Frank's copula #
With L θ x y = -log (1 - w x w y / w θ) (see Copula.Archimedean.SpearmanRhoFrankCalculus)
we prove
∫₀^θ ∫₀^θ L θ x y dy dx = θ³/3 - θ ∫₀^θ t/(e^t-1) dt + 2 ∫₀^θ t²/(e^t-1) dt
(FrankRho.H_eq). The proof writes L θ x y = min x y + ∫_{max x y}^θ f x y s ds
(L_eq_min_add_integral), exchanges the order of integration (Fubini over the cube
(0, θ]³) and evaluates the resulting inner double integrals with K_eq.
The kernel f x y s restricted to max x y ≤ s.
Equations
- ProbabilityTheory.Copula.FrankRho.G x y s = if max x y ≤ s then ProbabilityTheory.Copula.FrankRho.f x y s else 0
Instances For
theorem
ProbabilityTheory.Copula.FrankRho.integrable_prod_of_bdd
{θ : ℝ}
{g : ℝ × ℝ → ℝ}
(hg : Measurable g)
{M : ℝ}
(hb : ∀ p ∈ Set.Ioc 0 θ ×ˢ Set.Ioc 0 θ, |g p| ≤ M)
:
MeasureTheory.Integrable g
((MeasureTheory.volume.restrict (Set.Ioc 0 θ)).prod (MeasureTheory.volume.restrict (Set.Ioc 0 θ)))
Bounded measurable functions are integrable for the product of restricted Lebesgue measures.
The y-integral of the truncated kernel.
Equations
- ProbabilityTheory.Copula.FrankRho.h θ x s = ∫ (y : ℝ) in Set.Ioc 0 θ, ProbabilityTheory.Copula.FrankRho.G x y s
Instances For
theorem
ProbabilityTheory.Copula.FrankRho.integrable_G_ys
{θ x : ℝ}
(hx : 0 < x)
:
MeasureTheory.Integrable (fun (p : ℝ × ℝ) => G x p.1 p.2)
((MeasureTheory.volume.restrict (Set.Ioc 0 θ)).prod (MeasureTheory.volume.restrict (Set.Ioc 0 θ)))
theorem
ProbabilityTheory.Copula.FrankRho.integrable_h
{θ : ℝ}
:
MeasureTheory.Integrable (fun (p : ℝ × ℝ) => h θ p.1 p.2)
((MeasureTheory.volume.restrict (Set.Ioc 0 θ)).prod (MeasureTheory.volume.restrict (Set.Ioc 0 θ)))
theorem
ProbabilityTheory.Copula.FrankRho.hasDerivAt_S
{s : ℝ}
(hs : 0 < s)
:
HasDerivAt S (s / (Real.exp s - 1)) s
theorem
ProbabilityTheory.Copula.FrankRho.continuousOn_S
{θ : ℝ}
(hθ : 0 < θ)
:
ContinuousOn S (Set.Icc 0 θ)
theorem
ProbabilityTheory.Copula.FrankRho.continuousOn_T
{θ : ℝ}
(hθ : 0 < θ)
:
ContinuousOn T (Set.Icc 0 θ)