Mathlib.Probability.CentralLimitTheorem
4 declarations. Mathlib docs · Source
theorem ProbabilityTheory.charFun_inv_sqrt_mul_sum E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : ℕ → Ω → ℝ},
ProbabilityTheory.iIndepFun X P →
(∀ (i : ℕ), ProbabilityTheory.IdentDistrib (X i) (X 0) P P) →
∀ {n : ℕ} {t : ℝ},
MeasureTheory.charFun (MeasureTheory.Measure.map (fun ω ↦ (√↑n)⁻¹ * ∑ k ∈ Finset.range n, X k ω) P) t =
MeasureTheory.charFun (MeasureTheory.Measure.map (X 0) P) ((√↑n)⁻¹ * t) ^ n
theorem ProbabilityTheory.tendsto_charFun_inv_sqrt_mul_pow E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure P]
{X : Ω → ℝ},
AEMeasurable X P →
∫ (x : Ω), X x ∂P = 0 →
∫ (x : Ω), (X ^ 2) x ∂P = 1 →
∀ (t : ℝ),
Filter.Tendsto (fun n ↦ MeasureTheory.charFun (MeasureTheory.Measure.map X P) ((√↑n)⁻¹ * t) ^ n) Filter.atTop
(nhds (Complex.exp (-↑t ^ 2 / 2)))
theorem ProbabilityTheory.tendstoInDistribution_inv_sqrt_mul_sum E1 #
∀ {Ω : Type u_1} {Ω' : Type u_2} {mΩ : MeasurableSpace Ω} {mΩ' : MeasurableSpace Ω'} {P : MeasureTheory.Measure Ω}
{P' : MeasureTheory.Measure Ω'} {X : ℕ → Ω → ℝ} {Y : Ω' → ℝ} [inst : MeasureTheory.IsProbabilityMeasure P]
[inst_1 : MeasureTheory.IsProbabilityMeasure P'],
ProbabilityTheory.HasLaw Y (ProbabilityTheory.gaussianReal 0 1) P' →
∫ (x : Ω), X 0 x ∂P = 0 →
∫ (x : Ω), (X 0 ^ 2) x ∂P = 1 →
ProbabilityTheory.iIndepFun X P →
(∀ (i : ℕ), ProbabilityTheory.IdentDistrib (X i) (X 0) P P) →
MeasureTheory.TendstoInDistribution (fun n ω ↦ (√↑n)⁻¹ * ∑ k ∈ Finset.range n, X k ω) Filter.atTop Y
(fun x ↦ P) P'
Central Limit Theorem: Given a sequence of random variables X : ℕ → Ω → ℝ that are
independent, identically distributed, centered and with variance 1 and a random variable
Y : Ω' → ℝ following gaussianReal 0 1, the sequence
n ↦ (√n)⁻¹ * ∑ k ∈ Finset.range n, X k converges to Y in distribution.
theorem ProbabilityTheory.tendstoInDistribution_inv_sqrt_mul_sum_sub E3 #
∀ {Ω : Type u_1} {Ω' : Type u_2} {mΩ : MeasurableSpace Ω} {mΩ' : MeasurableSpace Ω'} {P : MeasureTheory.Measure Ω}
{P' : MeasureTheory.Measure Ω'} {X : ℕ → Ω → ℝ} {Y : Ω' → ℝ} [inst : MeasureTheory.IsProbabilityMeasure P]
[inst_1 : MeasureTheory.IsProbabilityMeasure P'],
ProbabilityTheory.HasLaw Y (ProbabilityTheory.gaussianReal 0 (ProbabilityTheory.variance (X 0) P).toNNReal) P' →
MeasureTheory.MemLp (X 0) 2 P →
ProbabilityTheory.iIndepFun X P →
(∀ (i : ℕ), ProbabilityTheory.IdentDistrib (X i) (X 0) P P) →
MeasureTheory.TendstoInDistribution
(fun n ω ↦ (√↑n)⁻¹ * (∑ k ∈ Finset.range n, X k ω - ↑n * ∫ (x : Ω), X 0 x ∂P)) Filter.atTop Y (fun x ↦ P) P'
Central Limit Theorem: Given a sequence of random variables X : ℕ → Ω → ℝ that are
independent, identically distributed with mean μ and variance v, and a random variable
Y : Ω' → ℝ following gaussianReal 0 v, the sequence
n ↦ (√n)⁻¹ * (∑ k ∈ Finset.range n, X k ω - n * μ) converges to Y in distribution.