theorem
ProbabilityTheory.Copula.RankRegion.XiBlest.Support.checkerboardRow_mem
{m n : ℕ}
{P : IntervalPartition m}
{Q : IntervalPartition n}
(A : CellMass P Q)
(i : Fin m)
(v : ↑unitInterval)
:
theorem
ProbabilityTheory.Copula.RankRegion.XiBlest.Support.copulaRowMean_sub_le
{m : ℕ}
(C D : Copula 2)
(P : IntervalPartition m)
(ε : ℝ)
(h : ∀ (u v : ↑unitInterval), |C.cdf ![u, v] - D.cdf ![u, v]| ≤ ε)
(i : Fin m)
(v : ↑unitInterval)
:
theorem
ProbabilityTheory.Copula.RankRegion.XiBlest.Support.checkerboardRow_sub_le_embed
{m n : ℕ}
(C D : Copula 2)
(P : IntervalPartition m)
(Q : IntervalPartition n)
(ε : ℝ)
(h : ∀ (u v : ↑unitInterval), |C.cdf ![u, v] - D.cdf ![u, v]| ≤ ε)
(i : Fin m)
(j : Fin n)
(v : ↑unitInterval)
:
|checkerboardRow (C.cellMass P Q) i (partitionEmbed Q j v) - checkerboardRow (D.cellMass P Q) i (partitionEmbed Q j v)| ≤ 2 * ε / P.width i
theorem
ProbabilityTheory.Copula.RankRegion.XiBlest.Support.checkerboard_energy_stability_embed
{m n : ℕ}
(C D : Copula 2)
(P : IntervalPartition m)
(Q : IntervalPartition n)
(ε : ℝ)
(h : ∀ (u v : ↑unitInterval), |C.cdf ![u, v] - D.cdf ![u, v]| ≤ ε)
(j : Fin n)
(v : ↑unitInterval)
:
conditionalEnergy (C.cellMass P Q).checkerboard (partitionEmbed Q j v) ≤ conditionalEnergy (D.cellMass P Q).checkerboard (partitionEmbed Q j v) + 4 * ↑m * ε
theorem
ProbabilityTheory.Copula.RankRegion.XiBlest.Support.checkerboard_xi_stability_le
{m n : ℕ}
(C D : Copula 2)
(P : IntervalPartition m)
(Q : IntervalPartition n)
(ε : ℝ)
(h : ∀ (u v : ↑unitInterval), |C.cdf ![u, v] - D.cdf ![u, v]| ≤ ε)
:
(C.cellMass P Q).checkerboard.chatterjeeXi ≤ (D.cellMass P Q).checkerboard.chatterjeeXi + 24 * ↑m * ε
theorem
ProbabilityTheory.Copula.RankRegion.XiBlest.Support.checkerboard_xi_stability
{m n : ℕ}
(C D : Copula 2)
(P : IntervalPartition m)
(Q : IntervalPartition n)
(ε : ℝ)
(h : ∀ (u v : ↑unitInterval), |C.cdf ![u, v] - D.cdf ![u, v]| ≤ ε)
:
|(C.cellMass P Q).checkerboard.chatterjeeXi - (D.cellMass P Q).checkerboard.chatterjeeXi| ≤ 24 * ↑m * ε
Stability on arbitrary partitions; the constant depends only on the number of predictor bins.