Documentation

Copula.Archimedean.Derivative

← Copula mathematical handbook

Differentiable Archimedean generators and conditional distributions #

For the analytic formulas of Nelsen, An Introduction to Copulas, second edition, Theorem 4.3.4 (the Kendall distribution function) and Corollary 5.1.4 (Kendall's tau via the generator), we consider generators whose inverse generator ψ has a continuous derivative ψ' on its positivity region {s > 0 : ψ(s) > 0} (BivariateGenerator.IsC1; for strict generators this is (0, ∞), see BivariateGenerator.IsC1.of_isStrict). Then:

The generator is continuous on (0, 1).

A generator whose inverse generator ψ is continuously differentiable, with derivative ψ', on its positivity region {s > 0 : ψ(s) > 0} (all of (0, ∞) for a strict generator, (0, φ(0)) for a non-strict one). The values of ψ' elsewhere are not used.

  • hasDerivAt (s : ℝ) : 0 < s → 0 < g.toFun s → HasDerivAt g.toFun (ψ' s) s

    ψ' is the derivative of ψ where ψ is positive.

  • continuousAt (s : ℝ) : 0 < s → 0 < g.toFun s → ContinuousAt ψ' s

    The derivative is continuous where ψ is positive.

Instances For
    theorem ProbabilityTheory.Copula.BivariateGenerator.IsC1.of_isStrict {g : BivariateGenerator} {ψ' : ℝ → ℝ} (hd : ∀ (s : ℝ), 0 < s → HasDerivAt g.toFun (ψ' s) s) (hc : ContinuousOn ψ' (Set.Ioi 0)) :
    g.IsC1 ψ'

    A strict generator with ψ continuously differentiable on (0, ∞).

    theorem ProbabilityTheory.Copula.BivariateGenerator.IsC1.deriv_neg {g : BivariateGenerator} {ψ' : ℝ → ℝ} (h : g.IsC1 ψ') {s : ℝ} (hs : 0 < s) (hpos : 0 < g.toFun s) :
    ψ' s < 0

    The derivative of an inverse generator is negative where the inverse generator is positive.

    theorem ProbabilityTheory.Copula.BivariateGenerator.IsC1.deriv_ne_zero {g : BivariateGenerator} {ψ' : ℝ → ℝ} (h : g.IsC1 ψ') {s : ℝ} (hs : 0 < s) (hpos : 0 < g.toFun s) :
    ψ' s ≠ 0

    The generator is positive on (0, 1), as a real function.

    ψ(φ(x)) = x for x ∈ (0, 1], for the real extension of the generator.

    φ'(x) = 1 / ψ'(φ(x)) on (0, 1).

    The CDF section of the copula of a generator, at an interior first coordinate.

    theorem ProbabilityTheory.Copula.BivariateGenerator.IsC1.hasDerivAt_cdfSection {g : BivariateGenerator} {ψ' : ℝ → ℝ} (h : g.IsC1 ψ') {x : ℝ} (hx : x ∈ Set.Ioo 0 1) {v : ↑unitInterval} (hv : v ≠ 0) (hC : 0 < g.toFun (g.invFunReal x + g.invFun v)) :
    HasDerivAt (g.copula.cdfSection v) (ψ' (g.invFunReal x + g.invFun v) * (ψ' (g.invFunReal x))⁻¹) x

    The first partial derivative ∂₁C(x, v) = ψ'(φ(x) + φ(v)) / ψ'(φ(x)) at x ∈ (0, 1) with C(x, v) > 0.

    The conditional CDF is monotone in the threshold.

    theorem ProbabilityTheory.Copula.BivariateGenerator.IsC1.ae_conditionalCDF_eq {g : BivariateGenerator} {ψ' : ℝ → ℝ} (h : g.IsC1 ψ') :
    ∀ᵐ (u : ↑unitInterval), u ≠ 0 ∧ u ≠ 1 ∧ ∀ (v : ↑unitInterval), v ≠ 0 → 0 < g.toFun (g.invFun u + g.invFun v) → g.copula.conditionalCDF u v = ψ' (g.invFun u + g.invFun v) * (ψ' (g.invFun u))⁻¹

    For almost every u, the conditional distribution function of the copula of a C¹ generator is the partial derivative ψ'(φ(u) + φ(v)) / ψ'(φ(u)), simultaneously for all thresholds v > 0 with C(u, v) > 0.