Documentation

Atlas.TheoryOfProbability.code.CLT

noncomputable def stdGaussianDensity (x : ) :

Density of the standard normal distribution N(0,1): φ(x) = (2π)^{-1/2} exp(-x²/2).

Instances For

    The standard normal probability measure on , defined as Lebesgue measure weighted by the standard Gaussian density stdGaussianDensity.

    Instances For

      A sequence of real random variables Xₙ : Ω → ℝ on a measure space (Ω, P) converges in distribution to a measure ν on if for every bounded continuous f : ℝ → ℝ, E[f(Xₙ)] → ∫ f dν (the Portmanteau characterization of weak convergence).

      Instances For
        theorem central_limit_theorem {Ω : Type u_1} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure P] (X : Ω) (μ σ : ) ( : 0 < σ) (hmeas : ∀ (i : ), AEMeasurable (X i) P) (hmean : ∀ (i : ), (x : Ω), X i x P = μ) (hvar : ∀ (i : ), (x : Ω), (X i x - μ) ^ 2 P = σ ^ 2) (hindep : ProbabilityTheory.iIndepFun X P) (hident : ∀ (i : ), ProbabilityTheory.IdentDistrib (X i) (X 0) P P) :
        ConvergesInDistributionRV (fun (n : ) (ω : Ω) => (σ * n)⁻¹ * (kFinset.range n, X k ω - n * μ)) P stdNormalMeasure

        Central Limit Theorem. Let X₁, X₂, … be i.i.d. real random variables with mean μ and variance σ² ∈ (0, ∞). Set Sₙ = X₁ + … + Xₙ. Then the normalized sums (Sₙ − nμ)/(σ √n) converge in distribution to the standard normal distribution N(0, 1).