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)
:
inductive
ProbabilityTheory.Copula.ClassicalConstruction.Division
{d : ℕ}
:
(Fin d → ↑unitInterval) → (Fin d → ↑unitInterval) → Type
A finite division built by cuts along coordinate hyperplanes.
- leaf {d : ℕ} {a b : Fin d → ↑unitInterval} (hab : a ≤ b) : Division a b
- cut {d : ℕ} {a b : Fin d → ↑unitInterval} (i : Fin d) (t : ↑unitInterval) (hat : a i ≤ t) (htb : t ≤ b i) (left : Division a (Function.update b i t)) (right : Division (Function.update a i t) b) : Division a b
Instances For
theorem
ProbabilityTheory.Copula.ClassicalConstruction.Division.ordered
{d : ℕ}
{a b : Fin d → ↑unitInterval}
(D : Division a b)
:
def
ProbabilityTheory.Copula.ClassicalConstruction.Division.All
{d : ℕ}
(P : (Fin d → ↑unitInterval) → (Fin d → ↑unitInterval) → Prop)
{a b : Fin d → ↑unitInterval}
:
A property holding on every leaf of a division.
Equations
- One or more equations did not get rendered due to their size.
- ProbabilityTheory.Copula.ClassicalConstruction.Division.All P (ProbabilityTheory.Copula.ClassicalConstruction.Division.leaf hab) = P x✝¹ x✝
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
noncomputable def
ProbabilityTheory.Copula.ClassicalConstruction.Division.measure
{d : ℕ}
(F : (Fin d → ↑unitInterval) → ℝ)
{a b : Fin d → ↑unitInterval}
:
Division a b → MeasureTheory.Measure (Fin d → ↑unitInterval)
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_univ
{d : ℕ}
{F : (Fin d → ↑unitInterval) → ℝ}
{a b : Fin d → ↑unitInterval}
(hF : IsClassical F)
(D : Division a b)
:
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)
:
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))
:
noncomputable def
ProbabilityTheory.Copula.ClassicalConstruction.Division.grid
{d : ℕ}
(l : List (Fin d))
(a b : Fin d → ↑unitInterval)
(hab : a ≤ b)
:
Division a b
Repeated bisection in the coordinates listed in l.
Equations
- One or more equations did not get rendered due to their size.
- ProbabilityTheory.Copula.ClassicalConstruction.Division.grid [] a b hab = ProbabilityTheory.Copula.ClassicalConstruction.Division.leaf hab
Instances For
theorem
ProbabilityTheory.Copula.ClassicalConstruction.Division.grid_mesh
{d : ℕ}
(l : List (Fin d))
(a b : Fin d → ↑unitInterval)
(hab : a ≤ b)
:
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)
:
noncomputable def
ProbabilityTheory.Copula.ClassicalConstruction.approximation
{d : ℕ}
{F : (Fin d → ↑unitInterval) → ℝ}
(hF : IsClassical F)
(n : ℕ)
:
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)
:
theorem
ProbabilityTheory.Copula.ClassicalConstruction.approximation_cdf_tendsto
{d : ℕ}
{F : (Fin d → ↑unitInterval) → ℝ}
(hF : IsClassical F)
(u : Fin d → ↑unitInterval)
:
Filter.Tendsto (fun (n : ℕ) => (↑(approximation hF n)).real (Set.Iic u)) Filter.atTop (nhds (F u))
CDFs of the finite atomic approximations converge to the classical function.