Documentation

Atlas.TheoryOfProbability.code.BerryEsseen

noncomputable def stdNormalDensity (t : ) :

The density of the standard normal distribution: stdNormalDensity t = (2π)^{-1/2} exp(-t²/2).

Instances For
    noncomputable def standardNormalCDF (x : ) :

    The cumulative distribution function of the standard normal: Φ(x) = ∫_{-∞}^{x} (2π)^{-1/2} e^{-t²/2} dt.

    Instances For
      theorem berry_esseen {Ω : Type u_1} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure P] {X : Ω} (hindep : ProbabilityTheory.iIndepFun X P) (hident : ∀ (i : ), ProbabilityTheory.IdentDistrib (X i) (X 0) P P) (hmean : (ω : Ω), X 0 ω P = 0) (hσ_pos : 0 < (ω : Ω), X 0 ω ^ 2 P) ( : MeasureTheory.Integrable (fun (ω : Ω) => |X 0 ω| ^ 3) P) (n : ) :
      0 < n∀ (x : ), |(MeasureTheory.Measure.map (fun (ω : Ω) => (( (ω' : Ω), X 0 ω' ^ 2 P) * n)⁻¹ * kFinset.range n, X k ω) P).real (Set.Iic x) - standardNormalCDF x| (3 * (ω : Ω), |X 0 ω| ^ 3 P) / (( (ω : Ω), X 0 ω ^ 2 P) ^ 3 * n)

      Berry-Esseen theorem. Let X_1, X_2, … be i.i.d. real-valued random variables with mean zero, finite variance σ² > 0, and finite third absolute moment ρ = E|X_1|^3 < ∞. Let F_n be the distribution function of (X_1 + … + X_n)/(σ √n). Then for every x ∈ ℝ, |F_n(x) - Φ(x)| ≤ 3ρ/(σ³ √n), where Φ is the standard normal CDF (Durrett, Lecture 16).