Documentation

TauCeti.MeasureTheory.Measure.ProbabilityMeasure.Cdf

Cumulative-distribution criteria for weak convergence on the real line #

A family of probability measures on ℝ indexed by a countably generated filter converges weakly if and only if the cumulative distribution functions converge pointwise at every continuity point of the limiting cumulative distribution function (the Helly–Bray theorem). More generally, pointwise convergence on any dense set of reals suffices: the half-open intervals (a, b] with endpoints in that dense set form a π-system containing arbitrarily small neighborhoods of every point, and their masses are differences of cumulative distribution functions, so Mathlib's portmanteau π-system criterion IsPiSystem.tendsto_probabilityMeasure_of_tendsto_of_mem applies. Conversely, continuity of cdf ν at x is equivalent to ν {x} = 0, which makes Iic x a ν-continuity set since its boundary lies in {x}.

When the limiting law is atomless (NullSingletonClass), its cumulative distribution function is continuous everywhere, so weak convergence and MeasureTheory.TendstoInDistribution are equivalent to pointwise convergence of cumulative distribution functions at every real point.

Main statements #

References #

theorem MeasureTheory.ProbabilityMeasure.tendsto_cdf_of_tendsto_of_continuousAt {ι : Type u_1} {l : Filter ι} {μs : ι → ProbabilityMeasure ℝ} {μ : ProbabilityMeasure ℝ} (h : Filter.Tendsto μs l (nhds μ)) {x : ℝ} (hx : ContinuousAt (↑(ProbabilityTheory.cdf ↑μ)) x) :
Filter.Tendsto (fun (i : ι) => ↑(ProbabilityTheory.cdf ↑(μs i)) x) l (nhds (↑(ProbabilityTheory.cdf ↑μ) x))

Weak convergence of probability measures on ℝ implies convergence of cumulative distribution functions at every continuity point of the limiting cumulative distribution function.

theorem MeasureTheory.ProbabilityMeasure.tendsto_of_tendsto_cdf_of_dense {ι : Type u_1} {l : Filter ι} {μs : ι → ProbabilityMeasure ℝ} {μ : ProbabilityMeasure ℝ} [l.IsCountablyGenerated] {D : Set ℝ} (hD : Dense D) (h : ∀ x ∈ D, Filter.Tendsto (fun (i : ι) => ↑(ProbabilityTheory.cdf ↑(μs i)) x) l (nhds (↑(ProbabilityTheory.cdf ↑μ) x))) :
Filter.Tendsto μs l (nhds μ)

Pointwise convergence of cumulative distribution functions on a dense subset of ℝ implies weak convergence of probability measures along any countably generated filter.

Helly–Bray theorem. Along a countably generated filter, probability measures on ℝ converge weakly if and only if their cumulative distribution functions converge pointwise at every continuity point of the limiting cumulative distribution function.

theorem MeasureTheory.ProbabilityMeasure.tendsto_iff_tendsto_cdf {ι : Type u_1} {l : Filter ι} {μs : ι → ProbabilityMeasure ℝ} {μ : ProbabilityMeasure ℝ} [l.IsCountablyGenerated] [NullSingletonClass ↑μ] :
Filter.Tendsto μs l (nhds μ) ↔ ∀ (x : ℝ), Filter.Tendsto (fun (i : ι) => ↑(ProbabilityTheory.cdf ↑(μs i)) x) l (nhds (↑(ProbabilityTheory.cdf ↑μ) x))

When the limiting law has no atoms, weak convergence of probability measures on ℝ along a countably generated filter is equivalent to pointwise convergence of cumulative distribution functions everywhere.

theorem MeasureTheory.tendsto_cdf_of_eventually_ae_le_iff_lt {ι : Type u_1} {Ω : ι → Type u_3} {m : (i : ι) → MeasurableSpace (Ω i)} {μ : (i : ι) → Measure (Ω i)} [∀ (i : ι), IsProbabilityMeasure (μ i)] {X : (i : ι) → Ω i → ℝ} {l : Filter ι} {Y : (i : ι) → Ω i → ℝ} {α : ι → ℝ} {Φ : ℝ → ℝ} {x : ℝ} (hX : ∀ (i : ι), AEMeasurable (X i) (μ i)) (hY : ∀ (i : ι), AEMeasurable (Y i) (μ i)) (hΦ : ContinuousAt Φ x) (hα : Filter.Tendsto α l (nhds x)) (hY_cdf : ∀ (y : ℝ), Filter.Tendsto (fun (i : ι) => ↑(ProbabilityTheory.cdf (Measure.map (Y i) (μ i))) y) l (nhds (Φ y))) (hinv : ∀ᶠ (i : ι) in l, ∀ᵐ (ω : Ω i) ∂μ i, X i ω ≤ x ↔ Y i ω < α i) :
Filter.Tendsto (fun (i : ι) => ↑(ProbabilityTheory.cdf (Measure.map (X i) (μ i))) x) l (nhds (Φ x))

If X i ω ≤ x is eventually almost everywhere equivalent to Y i ω < α i with α i → x, and the cumulative distribution functions of Y i converge pointwise to a function Φ continuous at x, then cdf ((μ i).map (X i)) x converges to Φ x.

theorem MeasureTheory.TendstoInDistribution.tendsto_cdf_of_continuousAt {ι : Type u_1} {Ω' : Type u_2} {Ω : ι → Type u_3} {m : (i : ι) → MeasurableSpace (Ω i)} {μ : (i : ι) → Measure (Ω i)} [∀ (i : ι), IsProbabilityMeasure (μ i)] {m' : MeasurableSpace Ω'} {μ' : Measure Ω'} [IsProbabilityMeasure μ'] {X : (i : ι) → Ω i → ℝ} {Z : Ω' → ℝ} {l : Filter ι} (h : TendstoInDistribution X l Z μ μ') {x : ℝ} (hx : ContinuousAt (↑(ProbabilityTheory.cdf (Measure.map Z μ'))) x) :
Filter.Tendsto (fun (i : ι) => ↑(ProbabilityTheory.cdf (Measure.map (X i) (μ i))) x) l (nhds (↑(ProbabilityTheory.cdf (Measure.map Z μ')) x))

Convergence in distribution of real random variables implies convergence of cumulative distribution functions at every continuity point of the limiting cumulative distribution function.

theorem MeasureTheory.TendstoInDistribution.of_tendsto_cdf_of_dense {ι : Type u_1} {Ω' : Type u_2} {Ω : ι → Type u_3} {m : (i : ι) → MeasurableSpace (Ω i)} {μ : (i : ι) → Measure (Ω i)} [∀ (i : ι), IsProbabilityMeasure (μ i)] {m' : MeasurableSpace Ω'} {μ' : Measure Ω'} [IsProbabilityMeasure μ'] {X : (i : ι) → Ω i → ℝ} {Z : Ω' → ℝ} {l : Filter ι} [l.IsCountablyGenerated] (hX : ∀ (i : ι), AEMeasurable (X i) (μ i)) (hZ : AEMeasurable Z μ') {D : Set ℝ} (hD : Dense D) (h : ∀ x ∈ D, Filter.Tendsto (fun (i : ι) => ↑(ProbabilityTheory.cdf (Measure.map (X i) (μ i))) x) l (nhds (↑(ProbabilityTheory.cdf (Measure.map Z μ')) x))) :

Pointwise convergence of the cumulative distribution functions of real random variables on a dense set implies convergence in distribution along any countably generated filter.

theorem MeasureTheory.tendstoInDistribution_iff_forall_continuousAt_tendsto_cdf {ι : Type u_1} {Ω' : Type u_2} {Ω : ι → Type u_3} {m : (i : ι) → MeasurableSpace (Ω i)} {μ : (i : ι) → Measure (Ω i)} [∀ (i : ι), IsProbabilityMeasure (μ i)] {m' : MeasurableSpace Ω'} {μ' : Measure Ω'} [IsProbabilityMeasure μ'] {X : (i : ι) → Ω i → ℝ} {Z : Ω' → ℝ} {l : Filter ι} [l.IsCountablyGenerated] (hX : ∀ (i : ι), AEMeasurable (X i) (μ i)) (hZ : AEMeasurable Z μ') :
TendstoInDistribution X l Z μ μ' ↔ ∀ (x : ℝ), ContinuousAt (↑(ProbabilityTheory.cdf (Measure.map Z μ'))) x → Filter.Tendsto (fun (i : ι) => ↑(ProbabilityTheory.cdf (Measure.map (X i) (μ i))) x) l (nhds (↑(ProbabilityTheory.cdf (Measure.map Z μ')) x))

Along a countably generated filter, real random variables converge in distribution if and only if their cumulative distribution functions converge at every continuity point of the limiting cumulative distribution function.

theorem MeasureTheory.TendstoInDistribution.tendsto_cdf {ι : Type u_1} {Ω' : Type u_2} {Ω : ι → Type u_3} {m : (i : ι) → MeasurableSpace (Ω i)} {μ : (i : ι) → Measure (Ω i)} [∀ (i : ι), IsProbabilityMeasure (μ i)] {m' : MeasurableSpace Ω'} {μ' : Measure Ω'} [IsProbabilityMeasure μ'] {X : (i : ι) → Ω i → ℝ} {Z : Ω' → ℝ} {l : Filter ι} [NullSingletonClass (Measure.map Z μ')] (h : TendstoInDistribution X l Z μ μ') (x : ℝ) :
Filter.Tendsto (fun (i : ι) => ↑(ProbabilityTheory.cdf (Measure.map (X i) (μ i))) x) l (nhds (↑(ProbabilityTheory.cdf (Measure.map Z μ')) x))

If a family of real random variables converges in distribution to a limit whose law has no atoms, the cumulative distribution functions converge pointwise everywhere.

theorem MeasureTheory.TendstoInDistribution.of_tendsto_cdf {ι : Type u_1} {Ω' : Type u_2} {Ω : ι → Type u_3} {m : (i : ι) → MeasurableSpace (Ω i)} {μ : (i : ι) → Measure (Ω i)} [∀ (i : ι), IsProbabilityMeasure (μ i)] {m' : MeasurableSpace Ω'} {μ' : Measure Ω'} [IsProbabilityMeasure μ'] {X : (i : ι) → Ω i → ℝ} {Z : Ω' → ℝ} {l : Filter ι} [l.IsCountablyGenerated] (hX : ∀ (i : ι), AEMeasurable (X i) (μ i)) (hZ : AEMeasurable Z μ') (h : ∀ (x : ℝ), Filter.Tendsto (fun (i : ι) => ↑(ProbabilityTheory.cdf (Measure.map (X i) (μ i))) x) l (nhds (↑(ProbabilityTheory.cdf (Measure.map Z μ')) x))) :

Pointwise convergence everywhere of cumulative distribution functions implies convergence in distribution along any countably generated filter.

theorem MeasureTheory.tendstoInDistribution_iff_tendsto_cdf {ι : Type u_1} {Ω' : Type u_2} {Ω : ι → Type u_3} {m : (i : ι) → MeasurableSpace (Ω i)} {μ : (i : ι) → Measure (Ω i)} [∀ (i : ι), IsProbabilityMeasure (μ i)] {m' : MeasurableSpace Ω'} {μ' : Measure Ω'} [IsProbabilityMeasure μ'] {X : (i : ι) → Ω i → ℝ} {Z : Ω' → ℝ} {l : Filter ι} [l.IsCountablyGenerated] [NullSingletonClass (Measure.map Z μ')] (hX : ∀ (i : ι), AEMeasurable (X i) (μ i)) (hZ : AEMeasurable Z μ') :
TendstoInDistribution X l Z μ μ' ↔ ∀ (x : ℝ), Filter.Tendsto (fun (i : ι) => ↑(ProbabilityTheory.cdf (Measure.map (X i) (μ i))) x) l (nhds (↑(ProbabilityTheory.cdf (Measure.map Z μ')) x))

When the limiting law has no atoms, convergence in distribution of real random variables along a countably generated filter is equivalent to pointwise convergence of their cumulative distribution functions everywhere.