Week 5.2: Law of Large Numbers & Central Limit Theorem
604 words
3 min read
Visual companion
Python
Type and operator map
Python Week 1: the first filter for runtime behavior
View
Revision summary
What this note is really saying
Short form
# Week 5.2: Law of Large Numbers & Central Limit Theorem > **Prerequisites:** Expectation ([Week 3.1: Expected Value](/notes/01-foundation-bsma1004-stats-2-week03-08-expectation)), Variance ([Week 3.2: Variance & Standard Deviation](/notes/01-foundation-bsma1004-stats-2-week03-09-variance)) > **Cross-links:** BSMA30...

Week 5.2: Law of Large Numbers & Central Limit Theorem
Prerequisites: Expectation (Week 3.1: Expected Value), Variance (Week 3.2: Variance & Standard Deviation) Cross-links: BSMA3012 (Linear Stat Models) — asymptotic properties Core question: What happens to sample averages as the sample size grows?
1. Intuition: The "Stabilisation" and "Normalisation" of Averages
Take repeated measurements. Two things happen as n→∞:
- LLN: The sample average Xˉn converges to the population mean μ. Uncertainty vanishes.
- CLT: The distribution of Xˉn (when standardised) approaches N(0,1), regardless of the parent distribution. The LLN says averages become accurate; the CLT says they become normal.
2. Law of Large Numbers (LLN)
>n→∞limP(Xˉn−μ≥ϵ)=0.>Theorem (Weak Law of Large Numbers) Let X1,X2,… be i.i.d. with E[Xi]=μ and Var(Xi)=σ2<∞. Then for any ϵ>0:
P(∣Xˉn−μ∣≥ϵ)≤ϵ2Var(Xˉn)=ϵ2σ2/n→0.In words: Xˉnpμ. Proof sketch (using Chebyshev):
Intuition: The variance of the sample mean shrinks as 1/n, so the mean concentrates around μ.
3. Central Limit Theorem (CLT)
>σ/nXˉn−μdN(0,1).>Theorem (Central Limit Theorem) Let X1,…,Xn be i.i.d. with E[Xi]=μ and Var(Xi)=σ2<∞. Then as n→∞:
Equivalently:
The CLT is the single most important theorem in statistics — it justifies normal approximations for sample means, hypothesis tests, and confidence intervals.
4. Visual Intuition
(Diagram)
5. Worked Examples
Example 1: Sum of Dice
Roll a fair die 100 times. What is P(350≤sum≤400)?
Xi∼Uniform{1,…,6}, μ=3.5, σ2=35/12≈2.917.
Sum Sn=∑Xi, E[Sn]=350, Var(Sn)=100×2.917=291.7, SD=17.08.
By CLT:
Example 2: Bernoulli Proportion
Toss a coin 1000 times. What is P(0.48≤p^≤0.52)?
Xi∼Bernoulli(0.5), μ=0.5, σ2=0.25.
p^=Xˉ, E[p^]=0.5, SE=0.25/1000=0.0158.
6. Practice Questions
Q1 (Easy)
Xi i.i.d. with μ=10, σ=3. Using CLT, what is P(Xˉ36>11)?
Full SolutionSE=3/36=0.5. Z=(11−10)/0.5=2. P(Z>2)=0.0228.
Q2 (Medium)
Light bulbs have mean life 1000h, SD 200h. A box of 64 bulbs: bound P(Xˉ<950) using CLT.
Full SolutionSE=200/64=25. Z=(950−1000)/25=−2. P(Z<−2)=0.0228.
Q3 (Hard)
How large must n be so that P(∣Xˉn−μ∣<0.1σ)≥0.95?
Full SolutionWe need P(∣Xˉn−μ∣/(σ/n)<0.1n)≥0.95.By CLT, 0.1n≥1.96⟹n≥19.6⟹n≥384.16, so n≥385.
Next topic: Week 5.3: Bivariate Normal Distribution — The bivariate normal distribution. Join Discord PreviousWeek 5.1: Joint Continuous DistributionsNextWeek 5.3: Bivariate Normal Distribution