PROBABILITY & STATISTICS / 8. CLT & SAMPLING
Central Limit Theorem & Sampling
Why the Normal distribution appears everywhere
EXPLANATION
Central Limit Theorem (CLT): The most important theorem in statistics. "If you take sufficiently large random samples from ANY population (with finite mean μ and variance σ²), the distribution of sample means will be approximately Normal, regardless of the original distribution." Formally: X̄ ~ N(μ, σ²/n) as n → ∞ Where: • X̄ = sample mean • μ = population mean • σ²/n = variance of the sampling distribution • σ/√n = standard error (SE) This is why: • We can use z-tests and t-tests on non-normal data • Averages of measurements are normally distributed • Neural network gradients are approximately normal (sum of many small contributions) Key insight: it's the SAMPLE MEAN that becomes normal, not the original data. Standard Error = σ/√n → as sample size increases, sample mean becomes more precise. Law of Large Numbers: as n→∞, sample mean X̄ → population mean μ.
DIAGRAM
Original distribution: Exponential (highly skewed)
████
████
███████
████████████
─────────────────
Take samples of size n=2, plot sample means:
████
███████
██████████
───────────────── (less skewed)
Take samples of size n=30, plot sample means:
████
████████
████████████
██████████████
───────────────── (approximately Normal!)
SE = σ/√n: n=1→SE=σ, n=4→SE=σ/2, n=100→SE=σ/10CODE