Documentation

Copula.QuasiCopula.Bivariate

← Copula mathematical handbook

Bivariate quasi-copulas #

Nelsen, An Introduction to Copulas, second edition, §6.2.

theorem ProbabilityTheory.Copula.IsQuasiCopula.ofBivariate (F : ↑unitInterval → ↑unitInterval → ℝ) (hz₁ : ∀ (v : ↑unitInterval), F 0 v = 0) (hz₂ : ∀ (u : ↑unitInterval), F u 0 = 0) (ho₁ : ∀ (v : ↑unitInterval), F 1 v = ↑v) (ho₂ : ∀ (u : ↑unitInterval), F u 1 = ↑u) (hm₁ : ∀ (u u' v : ↑unitInterval), u ≤ u' → F u v ≤ F u' v) (hm₂ : ∀ (u v v' : ↑unitInterval), v ≤ v' → F u v ≤ F u v') (hl₁ : ∀ (u u' v : ↑unitInterval), u ≤ u' → F u' v - F u v ≤ ↑u' - ↑u) (hl₂ : ∀ (u v v' : ↑unitInterval), v ≤ v' → F u v' - F u v ≤ ↑v' - ↑v) :
IsQuasiCopula fun (u : Fin 2 → ↑unitInterval) => F (u 0) (u 1)

Check the quasi-copula conditions for a bivariate formula: the four boundary identities, monotonicity in each variable, and the Lipschitz bound in each variable.

theorem ProbabilityTheory.Copula.isQuasiCopula_iff_rectangleIncrement_nonneg_of_boundary {Q : (Fin 2 → ↑unitInterval) → ℝ} :
IsQuasiCopula Q ↔ (∀ (u : Fin 2 → ↑unitInterval) (i : Fin 2), u i = 0 → Q u = 0) ∧ (∀ (i : Fin 2) (t : ↑unitInterval), Q (Function.update (fun (x : Fin 2) => 1) i t) = ↑t) ∧ ∀ (a b : Fin 2 → ↑unitInterval), a ≤ b → (∃ (i : Fin 2), a i = 0 ∨ b i = 1) → 0 ≤ rectangleIncrement Q a b

Characterization of bivariate quasi-copulas (Genest, Quesada Molina, Rodríguez Lallena and Sempi, 1999). A function on [0,1]² is a quasi-copula if and only if it satisfies the copula boundary conditions and every rectangle with a side on the boundary of the unit square has a nonnegative increment.

A proper quasi-copula #

The real formula max (W(s,t), min (s, t, max(s,t) - 1/3)) behind quasiCopulaExample.

Equations
Instances For

    A proper bivariate quasi-copula: max (W(u,v), min (u, v, max(u,v) - 1/3)).

    Equations
    Instances For

      The central square [1/3, 2/3]² has increment -1/3 under quasiCopulaExample.