Rectangle probabilities and increasing distribution functions #
Rectangle increments use lower endpoints on the selected coordinates, hence
the sign is (-1)^s.card. The probability identity requires ordered endpoints.
The empty-dimensional rectangle has probability one.
def
ProbabilityTheory.Copula.corner
{d : ℕ}
(a b : Fin d → ↑unitInterval)
(s : Finset (Fin d))
(i : Fin d)
:
A corner of a rectangle, choosing the lower endpoint on s.
Instances For
@[simp]
def
ProbabilityTheory.Copula.partialIncrement
{d : ℕ}
(F : (Fin d → ↑unitInterval) → ℝ)
(a b : Fin d → ↑unitInterval)
(s : Finset (Fin d))
:
Apply finite differences in the coordinates of s.
Equations
- ProbabilityTheory.Copula.partialIncrement F a b s = ∑ t ∈ s.powerset, (-1) ^ t.card * F (ProbabilityTheory.Copula.corner a b t)
Instances For
def
ProbabilityTheory.Copula.rectangleIncrement
{d : ℕ}
(F : (Fin d → ↑unitInterval) → ℝ)
(a b : Fin d → ↑unitInterval)
:
The alternating sum of a function over all corners of a rectangle.
Equations
Instances For
@[simp]
theorem
ProbabilityTheory.Copula.partialIncrement_empty
{d : ℕ}
(F : (Fin d → ↑unitInterval) → ℝ)
(a b : Fin d → ↑unitInterval)
:
theorem
ProbabilityTheory.Copula.partialIncrement_insert
{d : ℕ}
(F : (Fin d → ↑unitInterval) → ℝ)
(a b : Fin d → ↑unitInterval)
(s : Finset (Fin d))
(i : Fin d)
(hi : i ∉ s)
:
partialIncrement F a b (insert i s) = partialIncrement F a b s - partialIncrement F a (Function.update b i (a i)) s
theorem
ProbabilityTheory.Copula.partialIncrement_singleton
{d : ℕ}
(F : (Fin d → ↑unitInterval) → ℝ)
(a b : Fin d → ↑unitInterval)
(i : Fin d)
:
theorem
ProbabilityTheory.Copula.rectangleIncrement_two
(F : (Fin 2 → ↑unitInterval) → ℝ)
(a b : Fin 2 → ↑unitInterval)
:
The familiar four-term increment in dimension two.
theorem
ProbabilityTheory.Copula.rectangleIncrement_cdf
{d : ℕ}
(C : Copula d)
(a b : Fin d → ↑unitInterval)
(hab : a ≤ b)
:
The alternating CDF sum equals the probability of the half-open rectangle.
theorem
ProbabilityTheory.Copula.rectangleIncrement_cdf_nonneg
{d : ℕ}
(C : Copula d)
(a b : Fin d → ↑unitInterval)
(hab : a ≤ b)
:
Nonnegative rectangle increments: the classical d-increasing property.
theorem
ProbabilityTheory.Copula.measureReal_rectangle_two
(C : Copula 2)
(a b : Fin 2 → ↑unitInterval)
(hab : a ≤ b)
:
Bivariate rectangle probabilities written as four CDF evaluations.