The Averaging Machine

A Central Limit Theorem demo: choose a population, take many random samples, and watch the sample means organize themselves into a predictable bell-shaped pattern.

Population shape

The population can look very non-normal. The CLT is about what happens to repeated sample means.

Sample size
n5
Small samplesLarge samples
Speed
samples per click/run100
CarefulFast
Run the experiment
Classroom challenge

Try n = 1, then n = 5, then n = 30. What changes about the histogram of sample means? Does the original population need to be bell-shaped?

What to notice

The center stays near the population mean, but the spread of sample means shrinks like 1 divided by the square root of n.

Population mean μ
—
Population SD σ
—
Predicted SE σ/√n
—
Observed mean of x̄
—
Observed SD of x̄
—

1. Population

This is where individual values come from.

values

2. Current sample

One random sample of size n.

sample

3. Sample means

Each bar records averages from repeated samples.

x̄ normal curve

The Central Limit Theorem, in plain English

When we repeatedly take random samples of size n and compute the sample mean, those sample means tend to form an approximately normal distribution as n gets larger. This can happen even when the original population is not normal.

That is why averages are so powerful in statistics. Individual observations may be noisy, but averages become more stable and predictable.

σx̄ = σ / √n
The standard deviation of the sample mean is called the standard error. As n grows, the standard error gets smaller, so the sample means bunch closer to the true population mean.