STAT 200 · Statistics for Economics
Sampling Distributions and the Central Limit Theorem
See how sample averages vary from draw to draw, why they form a bell shape, and how the standard error measures their wobble.
Key takeaways
- A statistic such as the sample mean changes from sample to sample, so it has its own probability distribution.
- The sampling distribution of the mean is centered on the population mean when samples are random.
- The standard error, σ ÷ √n, measures the typical wobble of a sample mean and shrinks as the sample grows.
- The central limit theorem says that means of large random samples are close to normally distributed, even when the raw data are not.
- Quadrupling the sample size only halves the standard error, so extra precision gets steadily more expensive.
Ben manages a pizza shop. His delivery times are a mess. Most pizzas arrive in about 25 minutes. A few take an hour, thanks to drawbridges, lost drivers and one very confusing apartment complex. Plot all the times and you get a lopsided shape with a long tail to the right.
On Monday, Ben times 36 random deliveries and gets an average of 29 minutes. On Tuesday his assistant times another 36 and gets 32. Did the shop get slower overnight? Or do averages simply wobble?
To answer, you have to imagine something slightly odd: not one sample, but all the samples you might have drawn. How their averages scatter is the key to nearly everything in inference.
A statistic has a distribution too
Draw a random sample, compute its mean and write it down. Put everyone back, draw again and compute again. Do this thousands of times. The pile of means you collect has a shape, a center and a spread. That pile is the sampling distribution of the mean: the distribution of a statistic across all possible samples of the same size.
Keep three distributions apart in your head:
- The population distribution is how individual delivery times vary.
- The sample distribution is how the 36 times in Monday's sample vary.
- The sampling distribution is how the average of 36 times would vary from one sample to another.
In real life Ben draws only one sample. The wonderful thing is that math tells him what the whole pile would look like anyway.
Watching dice turn into a bell
Roll one fair die. Each face from 1 to 6 has the same chance. The distribution is completely flat, with a mean of 3.5.
Now roll two dice and average them. There are 36 equally likely pairs. Only one pair averages 1, namely two ones. Six pairs average 3.5, such as 1 and 6 or 3 and 4.
| Average of two dice | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 4.5 | 5 | 5.5 | 6 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Ways out of 36 | 1 | 2 | 3 | 4 | 5 | 6 | 5 | 4 | 3 | 2 | 1 |
Each one-die outcome is worth 6 ways out of 36. Averaging pulls results toward the middle.
The flat line became a tent after adding just one die. Why? There is only one way to get an extreme average, since every die must be extreme. There are many ways to get a middling one, since high rolls can cancel low rolls. Add more dice and the tent rounds into a bell.
The center and the standard error
For random samples, two facts hold.
First, the sampling distribution of the mean is centered on the population mean, μ. Some samples come out high, some low, but they are not tilted either way. This assumes a sound method. As sampling bias showed, a flawed method centers on the wrong place.
Second, its standard deviation has a special name, the standard error: the typical distance between a sample statistic and the value it is aiming at. For a mean of n independent observations, it is:
Suppose Ben's delivery times have μ = 30 minutes and σ = 12 minutes. (We are pretending to know these.)
| Sample size n | √n | Standard error |
|---|---|---|
| 4 | 2 | 6 minutes |
| 36 | 6 | 2 minutes |
| 144 | 12 | 1 minute |
| 576 | 24 | 0.5 minutes |
Each time the sample grows fourfold, the standard error halves. This square root rule is the tax on precision. Going from a wobble of 2 minutes to 1 minute costs 108 more timed deliveries. Going from 1 to 0.5 costs another 432.
The formula assumes the sample is a small share of the population, or that you draw with replacement. If you measure a large fraction of a small population, the true wobble is smaller.
The central limit theorem
The central limit theorem says this: if you take large random samples of independent observations from a population with a finite standard deviation, the sampling distribution of the mean is approximately normal. It has mean μ and standard deviation σ ÷ √n. The original population can be flat, lopsided or lumpy.
This is why the bell curve matters so much, even though many raw data sets are not bell-shaped.
How large is large? A common rule of thumb is about 30. Treat it as a rough guide. A nearly symmetric population needs fewer. A heavily skewed one with rare giant values, such as insurance claims, may need hundreds or more. And some wild distributions, with tails so heavy that the standard deviation is not finite, break the theorem altogether.
Worked example: was Tuesday really slower?
Ben takes a sample of 36 deliveries when nothing has changed, so μ = 30 and σ = 12. How likely is a sample average above 33 minutes?
Step 1: SE = 12 ÷ √36 = 12 ÷ 6 = 2
Step 2: z = (33 − 30) ÷ 2 = 1.50
Step 3: share below z = 1.50 is 0.9332
Step 4: share above = 1 − 0.9332 = 0.0668 About 6.7% of samples would average more than 33 minutes just by chance. That is roughly 1 day in 15. Tuesday's 32 is even less remarkable: z = 1.00, and about 16% of samples would come out that high or higher.
So one slow-looking average is weak evidence of a real change. Ben should not yell at anyone yet.
Compare that with a single delivery. One pizza taking 33 minutes is only 0.25 standard deviations above average, since (33 − 30) ÷ 12 = 0.25. It happens all the time. We cannot use the normal table for that single trip, because individual times are skewed. The theorem speaks for averages.
Proportions work the same way
A sample proportion is just a mean of ones and zeros. Count 1 for "yes" and 0 for "no," then average. So it also becomes roughly normal in large samples, with standard error:
SE = √( p × (1 − p) ÷ n ) Suppose 40% of Ben's customers order extra cheese, and he samples 600 orders. Then SE = √(0.4 × 0.6 ÷ 600) = √0.0004 = 0.02. About 95% of samples would show a share within 2 standard errors, that is, between 36% and 44%. The counting behind this comes from the binomial distribution.
Try it yourself with a simulation
You can watch the theorem work without any algebra. Imagine a spreadsheet holding 5,000 old delivery times. Ask the computer to draw 36 of them at random, average them and write the answer in a new column. Repeat 1,000 times.
Now plot two histograms. The first shows the 5,000 original times. It has the long right tail, with those drawbridge disasters stretching toward an hour. The second shows the 1,000 averages. It is far narrower, centered near 30, and close to symmetric.
Change the sample size and run it again. With samples of 4, the averages still lean to one side, because a single 60-minute trip can drag a small group upward. With samples of 36, most of the lean is gone. With samples of 144, the histogram is narrower still, with about half the spread of the 36 version.
This experiment is worth doing once in your life. Reading that averages become bell-shaped is one thing. Watching a lumpy mess turn into a tidy hill on your own screen is another.
Planning how much data to collect
The standard error lets you plan before spending anything. Suppose Ben wants about 95% of samples to give an average within 1 minute of the truth. In a bell shape, about 95% of values sit within 2 standard errors. So he needs 2 × SE = 1, or SE = 0.5.
12 ÷ √n = 0.5
√n = 12 ÷ 0.5 = 24
n = 24² = 576 deliveries If he can live with being within 2 minutes, he needs SE = 1 and only 144 deliveries. Halving the target error quadruples the work. A manager has to ask whether the extra minute of accuracy is worth 432 more timings.
Notice what does not appear in the formula: the size of the whole population, as long as it is much larger than the sample. A well-drawn sample of 576 is about as precise for a giant city as for a mid-sized town. A cook can judge a huge pot of soup with one spoonful, provided the pot is well stirred. Stirring is the random part.
It also shows why steady processes are cheaper to measure. If Ben could cut σ from 12 minutes to 6, perhaps by giving drivers better directions to that confusing apartment complex, then 144 deliveries would give the same SE of 0.5. This idea returns when you choose sample sizes for tests.
Independence matters here as well. If Ben times 36 deliveries all on the same stormy night, they share the same bad weather. Their average will wobble far more from night to night than σ ÷ √n suggests. In effect he has much less than 36 separate pieces of information. Spreading the timings across many days and shifts, chosen at random, brings the formula back to life. Economic data that follow one another in time, such as monthly sales, often have this linked quality and need other tools.
The common mistake: thinking the data become normal
Many people read the theorem as "with enough data, everything is bell-shaped." Not so. If Ben times 10,000 deliveries, the histogram of those times will look more and more like the lopsided population. More data reveals the true shape. It does not reshape it. What becomes bell-shaped is the distribution of the average across repeated samples.
A close cousin of this error confuses standard deviation with standard error. The standard deviation, 12 minutes, tells a customer how much one delivery can vary. The standard error, 2 minutes for n = 36, tells Ben how much his average can vary. Quoting the small one to a hungry customer would be a mean trick.
Words to know
Sampling distribution the distribution of a statistic across all possible samples of a given size.
Standard error the standard deviation of a statistic's sampling distribution.
Central limit theorem the result that means of large random samples are approximately normally distributed.
Population distribution the pattern of values among all individual members of the population.
Sample proportion the share of a sample that has a given trait.
Check yourself
- What is a sampling distribution of the mean?
- A population has σ = 20. What is the standard error of the mean for a sample of 100?
- With μ = 30, σ = 12 and n = 144, what is the chance a sample mean exceeds 32?
- To cut a standard error in half, how must the sample size change?
- Explain why timing more deliveries will not turn skewed delivery times into a bell shape.
Show the answers
- It is the distribution of sample means you would get from all possible random samples of the same size.
- SE = 20 ÷ √100 = 20 ÷ 10 = 2.
- SE = 12 ÷ 12 = 1, so z = 2.00 and the chance above is 1 − 0.9772 = 0.0228, about 2.3%.
- It must be four times as large, because the standard error depends on the square root of n.
- More data shows the population's real shape more clearly; only the distribution of sample averages becomes close to normal.