Documentation

Copula.Classical.Approximation

← Copula mathematical handbook

Finite probability measures approximating classical copula data #

Successive binary cuts produce finite atomic measures. Rectangle additivity normalizes their weights, and clipping rectangles proves a uniform CDF error bound in terms of the mesh width.

theorem ProbabilityTheory.Copula.IsClassical.rectangleIncrement_clip_le {d : ℕ} {F : (Fin d → ↑unitInterval) → ℝ} (hF : IsClassical F) (a b u : Fin d → ↑unitInterval) (hab : a ≤ b) :
rectangleIncrement F (a ⊓ u) (b ⊓ u) ≤ rectangleIncrement F a b

A finite division built by cuts along coordinate hyperplanes.

Instances For
    def ProbabilityTheory.Copula.ClassicalConstruction.Division.All {d : ℕ} (P : (Fin d → ↑unitInterval) → (Fin d → ↑unitInterval) → Prop) {a b : Fin d → ↑unitInterval} :
    Division a b → Prop

    A property holding on every leaf of a division.

    Equations
    Instances For
      theorem ProbabilityTheory.Copula.ClassicalConstruction.Division.All.mono {d : ℕ} {a b : Fin d → ↑unitInterval} {P Q : (Fin d → ↑unitInterval) → (Fin d → ↑unitInterval) → Prop} {D : Division a b} (h : All P D) (hPQ : ∀ (a b : Fin d → ↑unitInterval), P a b → Q a b) :
      All Q D

      Put each rectangle's weight at its upper corner.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem ProbabilityTheory.Copula.ClassicalConstruction.Division.measure_Iic_le {d : ℕ} {F : (Fin d → ↑unitInterval) → ℝ} {a b : Fin d → ↑unitInterval} (hF : IsClassical F) (D : Division a b) (u : Fin d → ↑unitInterval) :
        (measure F D) (Set.Iic u) ≤ ENNReal.ofReal (rectangleIncrement F (a ⊓ u) (b ⊓ u))
        theorem ProbabilityTheory.Copula.ClassicalConstruction.Division.le_measure_Iic {d : ℕ} {F : (Fin d → ↑unitInterval) → ℝ} {a b : Fin d → ↑unitInterval} (hF : IsClassical F) (D : Division a b) {ε : ℝ} (hmesh : All (fun (a b : Fin d → ↑unitInterval) => ∀ (i : Fin d), ↑(b i) - ↑(a i) ≤ ε) D) (u w : Fin d → ↑unitInterval) (hw : ∀ (i : Fin d), w i = 0 ∨ ↑(w i) + ε ≤ ↑(u i)) :
        ENNReal.ofReal (rectangleIncrement F (a ⊓ w) (b ⊓ w)) ≤ (measure F D) (Set.Iic u)
        noncomputable def ProbabilityTheory.Copula.ClassicalConstruction.Division.grid {d : ℕ} (l : List (Fin d)) (a b : Fin d → ↑unitInterval) (hab : a ≤ b) :

        Repeated bisection in the coordinates listed in l.

        Equations
        Instances For
          theorem ProbabilityTheory.Copula.ClassicalConstruction.Division.grid_mesh {d : ℕ} (l : List (Fin d)) (a b : Fin d → ↑unitInterval) (hab : a ≤ b) :
          All (fun (x y : Fin d → ↑unitInterval) => ∀ (i : Fin d), ↑(y i) - ↑(x i) ≤ (↑(b i) - ↑(a i)) * (1 / 2) ^ List.count i l) (grid l a b hab)
          noncomputable def ProbabilityTheory.Copula.ClassicalConstruction.probability {d : ℕ} {F : (Fin d → ↑unitInterval) → ℝ} (hF : IsClassical F) (D : Division (fun (x : Fin d) => 0) fun (x : Fin d) => 1) :

          A finite probability measure attached to a division of the whole cube.

          Equations
          Instances For
            theorem ProbabilityTheory.Copula.ClassicalConstruction.cdf_probability_bounds {d : ℕ} {F : (Fin d → ↑unitInterval) → ℝ} (hF : IsClassical F) (D : Division (fun (x : Fin d) => 0) fun (x : Fin d) => 1) {ε : ℝ} (hε : 0 ≤ ε) (hmesh : Division.All (fun (a b : Fin d → ↑unitInterval) => ∀ (i : Fin d), ↑(b i) - ↑(a i) ≤ ε) D) (u : Fin d → ↑unitInterval) :
            F u - ↑d * ε ≤ (↑(probability hF D)).real (Set.Iic u) ∧ (↑(probability hF D)).real (Set.Iic u) ≤ F u

            The dyadic atomic approximation of classical CDF data.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem ProbabilityTheory.Copula.ClassicalConstruction.approximation_bounds {d : ℕ} {F : (Fin d → ↑unitInterval) → ℝ} (hF : IsClassical F) (n : ℕ) (u : Fin d → ↑unitInterval) :
              F u - ↑d * (1 / 2) ^ n ≤ (↑(approximation hF n)).real (Set.Iic u) ∧ (↑(approximation hF n)).real (Set.Iic u) ≤ F u

              CDFs of the finite atomic approximations converge to the classical function.