Skip to content
Part IA Easter Term

Central Limit Theorem

Motivation

The Laws of Large Numbers say Xˉn\bar{X}_n converges to μ\mu. But how fast, and what is the distribution of Xˉn\bar{X}_n for large nn?

The CLT answers: it’s approximately normal.

Statement

Let X1,X2,X_1, X_2, \ldots be i.i.d. with mean μ\mu and variance σ2\sigma^2 (0<σ2<0 < \sigma^2 < \infty). Define:

Xˉn=1ni=1nXi\bar{X}_n = \frac{1}{n}\sum_{i=1}^n X_i

Central Limit Theorem:

Xˉnμσ/ndN(0,1)\frac{\bar{X}_n - \mu}{\sigma/\sqrt{n}} \xrightarrow{d} N(0, 1)

Equivalently:

n(Xˉnμ)dN(0,σ2)\sqrt{n}(\bar{X}_n - \mu) \xrightarrow{d} N(0, \sigma^2)

Or:

i=1nXiN(nμ,nσ2)\sum_{i=1}^n X_i \approx N(n\mu, n\sigma^2)

for large nn.

Interpretation

  • The sample mean Xˉn\bar{X}_n is approximately normal
  • Mean: μ\mu
  • Variance: σ2/n\sigma^2/n (decreases with nn)
  • Standard error: σ/n\sigma/\sqrt{n}

The ”n\sqrt{n} rate”: standard deviation shrinks as 1/n1/\sqrt{n}.

Normal Approximation

For large nn:

P(aXˉnμσ/nb)Φ(b)Φ(a)P\left(a \leq \frac{\bar{X}_n - \mu}{\sigma/\sqrt{n}} \leq b\right) \approx \Phi(b) - \Phi(a)

This works regardless of the original distribution of XiX_i.

Conditions

  1. Independence: XiX_i are independent
  2. Identical distribution: XiX_i have the same distribution
  3. Finite variance: σ2<\sigma^2 < \infty

The CLT works for most common distributions.

Example: Coin Flips

Flip fair coin n=100n = 100 times. Xi{0,1}X_i \in \{0, 1\} with μ=0.5\mu = 0.5, σ2=0.25\sigma^2 = 0.25.

Total heads: S100=i=1100XiS_{100} = \sum_{i=1}^{100} X_i.

By CLT: S100N(50,25)S_{100} \approx N(50, 25), so:

P(S10060)=P(S10050560505)P(Z2)=0.0228P(S_{100} \geq 60) = P\left(\frac{S_{100} - 50}{5} \geq \frac{60 - 50}{5}\right) \approx P(Z \geq 2) = 0.0228

Exact (binomial): P(S10060)=k=60100(100k)0.51000.028P(S_{100} \geq 60) = \sum_{k=60}^{100} \binom{100}{k} 0.5^{100} \approx 0.028.

CLT approximation is close.

Continuity Correction

When approximating discrete distributions, add 0.5:

P(Snk)P(Zk0.5nμσn)P(S_n \geq k) \approx P\left(Z \geq \frac{k - 0.5 - n\mu}{\sigma\sqrt{n}}\right)

Using continuity correction in coin example:

P(S10060)P(Z59.5505)=P(Z1.9)=0.0287P(S_{100} \geq 60) \approx P\left(Z \geq \frac{59.5 - 50}{5}\right) = P(Z \geq 1.9) = 0.0287

Better approximation: 0.0287 vs exact 0.028.

Visualisation

As nn increases, the distribution of Xˉn\bar{X}_n becomes more bell-shaped and narrower.

CLT convergence for different sample sizes

Why Does It Work?

Each XiX_i contributes a “small random perturbation”. The sum of many small independent random effects tends toward normality.

This explains why many natural phenomena are normally distributed: they result from many small factors additive up.

Application: Confidence Intervals

Approximate 95% confidence interval for μ\mu:

Xˉn±1.96σn\bar{X}_n \pm 1.96 \frac{\sigma}{\sqrt{n}}

where σ\sigma is known, or replaced by sample standard deviation ss for large nn.

Rate of Convergence

CLT gives the rate: O(1/n)O(1/\sqrt{n}). The error in the CLT approximation is typically O(1/n)O(1/\sqrt{n}), quantified by the Berry-Esseen theorem.

Example: Load Times

A website has average page load time μ=2\mu = 2 seconds, SD σ=0.5\sigma = 0.5 seconds. For n=25n = 25 users:

Xˉ25N(2,0.52/25)=N(2,0.01)\bar{X}_{25} \approx N(2, 0.5^2/25) = N(2, 0.01)

P(Xˉ25>2.2)=P(Z>2.220.1)=P(Z>2)0.0228P(\bar{X}_{25} > 2.2) = P\left(Z > \frac{2.2 - 2}{0.1}\right) = P(Z > 2) \approx 0.0228

Summary

AspectStatement
Conclusionn(Xˉnμ)dN(0,σ2)\sqrt{n}(\bar{X}_n - \mu) \xrightarrow{d} N(0, \sigma^2)
RateO(1/n)O(1/\sqrt{n})
ApproximationXˉnN(μ,σ2/n)\bar{X}_n \approx N(\mu, \sigma^2/n)
Conditionsi.i.d., finite σ2\sigma^2