SimuVeda/ Mathematics

Mathematics · Simulator 048

Central Limit Theorem

Start with a population that looks nothing like a bell curve: skewed, flat, or with two humps. Draw samples of size n, average each one, and plot the averages. As n grows, the averages pile up in a normal curve whose width shrinks like σ/√n.

CollegeCollege statistics

Experiments 0 of 0 Challenge not tried

How the model works

The central limit theorem: if you average n independent draws from almost any population with mean μ and standard deviation σ, the distribution of that average approaches a normal distribution as n grows:

X̄ ≈ Normal(μ, σ/√n)

σ/√n is the standard error. Quadrupling n halves the spread of the sample means. This is why averages are more reliable than single measurements, and why so many measured quantities look normal.

How fast the bell appears depends on the population. Symmetric populations (uniform) look normal by n ≈ 5. Strongly skewed ones (exponential) need n ≈ 30 or more; the readout's skewness tracks this.

Requires a finite variance. Heavy-tailed populations such as the Cauchy distribution never settle down; that case is not included here.

Guided experiments

  1. Dice averages. Uniform 1–6 population, n = 2, then 10. Prediction: n = 2 gives a triangle; n = 10 is already a clear bell with SD 1.71/√10 ≈ 0.54.
  2. Skewed waiting times. Exponential population, n = 5 then 50. Prediction: n = 5 is still visibly skewed (skewness ≈ 2/√5 ≈ 0.9); n = 50 is almost symmetric (≈ 0.28).
  3. Two humps. Bimodal population, n = 30. Prediction: the sample means form one single bell between the humps, even though no individual is likely to be there.

Challenge

A machine fills bags with a mean of 500 g and SD 12 g (not normally distributed). A box holds 36 bags. Roughly what is the chance that the average bag weight in a box is below 497 g?

Reveal the explanation

Standard error = 12/√36 = 2 g. 497 g is 1.5 standard errors below the mean, and by the CLT P(Z < −1.5) ≈ 6.7%. The individual bags need not be normal; the average of 36 nearly is.

References

  • OpenStax, Introductory Statistics, ch. 7 “The Central Limit Theorem”.

Related simulators

Worked example

A skewed population: waiting times with mean 2 minutes and standard deviation 2 minutes (exponential).

Averages of 25: the standard error is σ / √n = 2 / 5 = 0.4 minutes, and the averages look close to normal. About 95% of them land within 2 × 0.4 of the mean, between 1.2 and 2.8 minutes.

Dice: one die has mean 3.5 and SD ≈ 1.71. Averages of 25 rolls have SD 1.71 / 5 ≈ 0.34; averages of 100 rolls have 0.17. Four times the sample, half the spread.

Choose the exponential population with n = 25 and compare the spread of the sample means with 0.4.

Common questions

What does the central limit theorem say?

Averages of many independent values from almost any population are approximately normally distributed, centred on the population mean with spread σ/√n.

How large does n need to be?

It depends on the population. Symmetric ones look normal by about n = 5; strongly skewed ones may need 30 or more. The often quoted n = 30 is only a rule of thumb.

What is the standard error?

The standard deviation of the sample mean, σ/√n. It measures how much the average would vary from sample to sample, and it shrinks as the sample grows.

Keyboard shortcuts

Space
Play or pause
S
Step
R
Reset
F
Full screen
?
Show this list