Average 30 draws from a lopsided shape, 2000 times. What shape does the pile of averages take? Pick a sketch, then watch.
Average enough draws and a bell appears
Draws from Exp(1), averaged in samples of n; 2000 samples per setting (seed 4200 + n).
Averages of n = 1 draw: each average is just one draw from the shape at the top. 2000 of them fall into the pile.
Predict first. Average 30 draws from the lopsided shape above, 2000 times. What does the pile look like?
Describe this picture
Before the clip, three small sketches ask for a guess: “lopsided like the top”, “a bell” or “flat”; a tap starts the clip, and Play starts it without a guess. Then three panels, stacked, on one horizontal scale. The top panel, “every draw”, shows the lopsided curve from 0 to 5 with its mean marked at 1; it never changes. The middle panel, “one sample of n”, shows the n draws of one sample as dots on a strip, with their average as a triangle. The bottom panel, “the averages”, is a histogram from 0 to 4 in bins 0.1 wide, filled by 2000 averages. The clip runs n through 1, 2, 5, 10 and 30, about 5 s each. Each time the first 20 averages fall one by one from the middle panel’s triangle while their samples flash there, and stack as dots on their bars; the other 1980 pour in, and a dotted bell with the same centre and spread, labelled “bell, same centre and spread”, is drawn over the pile. The captions say: at n = 1, “each average is one draw, so the pile copies the lopsided shape above; the dotted bell does not fit”; at n = 2, the peak has moved off zero, to the bar from 0.4 to 0.5, and a long tail still runs right; at n = 5, the peak is the bar from 0.8 to 0.9 and the tail is shorter; at n = 10, the peak is still that bar, and the pile is narrower; at n = 30, “a nearly symmetric bell around 1, spread 0.183, as 1/√30 = 0.183 predicts”. Readouts give n, “spread of the averages” as measured, “spread predicted, 1/√n”, and “off the scale”, the averages above 4. From the start of n = 30 your guess is drawn over the pile as a dashed outline labelled “your guess”, and the last caption adds “You expected …; at n = 30 the pile is a nearly symmetric bell.” After the clip a slider, “Draws per average, n”, sets n from 1 to 50.
One draw, one sample, many averages
What did you pick? Many people pick the lopsided sketch, because the draws are lopsided. Others pick the bell, because they have heard that “data is bell-shaped”. The pile at n = 30 is a bell, but not because the data became one.
Look at the top panel again. It is the shape every single draw comes from, and it never moves. I chose an exponential shape, the kind that describes waiting times: most waits are short, a few are long, and none is below zero. Its curve is for . Here is one draw, and is its density, as in Continuous random variables. This shape is called ; the 1 is its rate, one arrival per unit of time on average. Its mean is and its standard deviation is ; the subscript names the random number they belong to. A bare or appears only inside a bell’s name, , and signal processing pages use a bare for something else.
The middle panel is one sample: draws, and their average. The bottom panel collects such averages, one sample at a time. Only the bottom panel changes when grows. The draws stay lopsided. One sample stays a scatter of lopsided draws. It is the pile of averages that rounds into a bell.
So keep the three things apart: the shape of one draw, one sample of draws, and the pile of many averages. Mixing them up is a common mistake with this theorem. After the clip, drag from 1 to 50 and watch only the bottom panel.
How wide the pile is
Why does the pile narrow? Write the average of draws as
The bar marks an average of draws, and is random: a new sample gives a new value. Each draw has mean , so the average has mean too, . The pile stays centred on 1.
For the spread, I use the rule from Sums of random variables: for draws that do not affect one another, the variances add. The sum of draws has variance . Dividing by divides the variance by . So
This is the spread you met in The law of large numbers. With , the predicted spreads at the clip’s five steps are:
| Draws per average | Predicted spread |
|---|---|
| 1.000 | |
| 0.707 | |
| 0.447 | |
| 0.316 | |
| 0.183 |
The readout “spread of the averages” is measured from the 2000 averages on screen, so it wobbles a little around these values. Four times as many draws halve the spread: that square root is why.
The bell
The spread is only half of the story. The surprise is the shape. As grows, the pile looks more and more like the bell of The normal distribution, whatever shape the draws came from.
To compare shapes I need one scale. Subtract the mean and divide by the spread:
Now always has mean 0 and spread 1. The central limit theorem says that if the draws are independent, all come from one shape, and that shape has a finite standard deviation , then as grows
where is the distribution function of the standard bell . In words: the average is close to , a bell with the same centre and spread as the pile. That is the dotted bell in the picture. The sum of the draws, which I’ll write (a sum, not the sample space ), is times the average, so it is close to .
This is not the law of large numbers again. That law says the average settles at , so the pile shrinks towards one spike. This theorem says what shape the pile has on the way, once you zoom in by .
How fast the bell arrives
How large must be? It depends on how lopsided the start is. One measure of lopsidedness is the skewness: zero for a shape that is the same on both sides, positive when a long tail runs to the right. The exponential shape has skewness 2. The average of of its draws has skewness , so the lean fades, but slowly.
At n = 30 the skewness is still 0.37, so the pile in the picture leans a little to the right, even though it looks like a bell. The worked example below shows what that lean costs in a tail.
Counting heads with a bell
Toss a fair coin times and count the heads. The count is a sum of draws, each 1 for a head and 0 for a tail. Each draw has mean and standard deviation . So the count is close to a bell with mean and variance , as the sum rule above says.
In general the count of successes in tries with chance follows , from Discrete random variables, and
A usual rule of thumb asks for and before you trust it.
There is one catch. The count is a whole number, drawn as bars, and the bell is a smooth curve. Watch the bars of and the bell together, with the bars at or above filled.
Half a bar makes the bell fit
Heads in n fair flips: the exact bars and the bell with the same centre and spread.
20 fair flips, 12 heads or more: the filled bars add to 0.2517. The bell from 11.5, half a bar early, gives 0.2512; from 12 it gives only 0.1855.
Describe this picture
Bars of the chance of each count of heads, from 0 to n, with the bell drawn over them. The bars at or above are filled, the bell’s area from half a unit below the first filled bar is shaded, and a bracket on that bar marks its width, labelled from half a unit below the count to half a unit above (“59.5 to 60.5” at n = 100). A key names the filled bars, the bell and the shaded area. In the clip n steps from 20 to 100 in steps of 20, resting on each. Three readouts give the chance of heads or more: “exact”, “bell with half-bar” and “bell without”. At n = 20 they read 0.2517, 0.2512 and 0.1855; at n = 100, 0.0284, 0.0287 and 0.0228. When the clip has finished, a slider sets n to 20, 40, 60, 80 or 100.
Each bar is one unit wide: the bar for 60 heads stands on the stretch from 59.5 to 60.5. So “60 heads or more” is the area of the bars from 59.5 upwards, and the bell’s area should start there too, not at 60. Starting half a bar early is the continuity correction:
After the clip, step n through its values and compare the three readouts. The half-bar bell stays close to the exact chance even at n = 20; the bell without it is far off there.
Worked example
Waiting at a counter. Service times at a counter follow an exponential shape with mean 2 minutes, so the standard deviation is 2 minutes too. What is the chance that 36 customers average more than 2.5 minutes?
- The average of 36 has mean 2 and spread minutes.
- Standardise: .
- By the bell: .
- Computed exactly, without the bell, the chance is 0.0742. The bell is too low by about a tenth.
- Why too low? The averages still lean right: their skewness is . A lean to the right means a heavier right tail than the bell’s.
Sixty heads. Toss a fair coin 100 times. What is the chance of 60 heads or more?
- The mean is and the spread is .
- Exactly, from the binomial: 0.0284.
- Bell with the half-bar: , and .
- Bell without it: , and .
- The same question at 20 tosses, 12 heads or more: exactly ; with the half-bar, and the bell gives 0.2512; without it, and the bell gives 0.1855.
Try these before you read the answers.
- The average of 25 draws from : what is its spread? .
- How many draws would halve that spread? Four times as many, 100.
- Do the 30 draws of one sample look like a bell? No. Only their average does; the top panel never moves.
Where you’ll meet this
An opinion poll asks 1000 people a yes-or-no question. The share who say yes is an average of 1000 draws of 0 or 1, so it is close to a bell. Its spread is , where is the true share, and that is largest at an even split: . About 95 % of a bell lies within 1.96 spreads of its centre, which is where the familiar “plus or minus 3 points” comes from.
A factory weighs five bags each hour and plots their average. Because the average of five is close to a bell, with a spread times smaller than one bag’s, the chart can warn when the average leaves its usual band, long before single bags look strange.
The hiss of an amplifier is the sum of very many tiny, independent pushes from moving electrons. That is why electronic noise follows a bell so closely, and why noise in signal processing is usually modelled as Gaussian, which is another name for the bell.
In signal processing · repeated convolution
Adding two independent random numbers convolves their densities, as Sums of random variables shows. So this theorem also says something about signals: convolve a pulse that never goes negative with itself again and again, and the shape of the result tends to a bell. The page Transforms of common signals shows that a bell is its own transform. One difference in writing: signal processing pages write a random signal in lower case, , and a density as ; here a random number is a capital and its density is .
The page Confidence intervals uses exactly this spread, , and this bell.
Reference card
| Quantity | Formula | Notes |
|---|---|---|
| Average | random: a new sample, a new value | |
| Its mean | the pile stays centred | |
| Its spread | four times the draws, half the spread | |
| Standardised | tends to | |
| Sum | independent draws, one shape, finite | |
| Lean | skewness for | lopsided starts need larger |
| Binomial | when and | |
| Half-bar | start half a bar early |