Sampling Distributions and the Central Limit Theorem
See how statistics vary from sample to sample, compute standard errors for means and proportions, and apply the central limit theorem.
Welcome back!
Step 1 of 13Learn
Every sample tells a slightly different story
Two polling firms each ask a random sample of 1,000 voters whether they approve of the mayor. One finds 52% approval; the other finds 49%. Is one of them wrong?
Probably not. Random samples differ by chance, so their statistics differ too. This is sampling variability, and it's not a mistake; it's built into sampling. The key insight of statistics is that this variability is predictable.
Imagine taking every possible random sample of 1,000 voters, computing p̂ for each one, and making a histogram of all those p̂ values. That histogram is the sampling distribution of p̂: the distribution of a statistic over all possible samples of the same size.
You never actually see a sampling distribution; you only get one sample. But mathematics tells us what it looks like, and that's what lets a single poll say "52%, plus or minus 3 points."
Keep three distributions straight:
- The population distribution: values of the variable for every individual.
- The sample distribution (the data): values for the individuals in your one sample.
- The sampling distribution: values of a statistic (like x̄ or p̂) across many samples.
Confusing the second and third is the most common stumbling block in this topic.
Step 2 of 13Chart
Ten random polls of 1,000 voters, same population
Step 3 of 13Learn
The sampling distribution of the mean
Suppose a population has mean μ and standard deviation σ, and you take random samples of size n and compute x̄ for each. The sampling distribution of x̄ has:
- Center: μ. The sample mean is an unbiased estimator: on average, over all samples, x̄ hits the population mean exactly. Individual samples miss high or low, but not systematically.
- Spread: σ/√n. This is the standard error of the mean, SE = σ/√n. It measures how far a typical sample mean lands from μ.
The √n in the denominator is the payoff of bigger samples. Averages are less variable than individual values, because highs and lows in a sample partly cancel out.
Example. Adult heights in a population have σ = 4 inches. For samples of 16 people, SE = 4/√16 = 1 inch. For samples of 100, SE = 4/10 = 0.4 inches.
Note the square root: to halve the standard error you need four times as many observations. Going from 100 to 400 people cuts the SE in half; going to 1,600 halves it again. That's why polls rarely go beyond a few thousand people. The extra precision gets expensive fast.
When σ is unknown (the usual case), we estimate the SE with the sample standard deviation: SE ≈ s/√n.
Step 4 of 13Practice · Work it out
A population has standard deviation σ = 12. What is the standard error of the sample mean for random samples of size n = 36?
Step 5 of 13Explore
Standard error vs. sample size
The curve shows SE = σ/√n as the sample size n grows (horizontal axis). Notice how fast it falls at first and how slowly later. Change σ to see the whole curve scale up or down.
- SE at n = 25
- 2.4
- SE at n = 100
- 1.2
- SE at n = 400
- 0.6
Step 6 of 13Learn
The central limit theorem
We know the center and spread of the sampling distribution of x̄. What about its shape?
- If the population is normal, the sampling distribution of x̄ is exactly normal for any sample size.
- If the population is not normal, the central limit theorem (CLT) says that the sampling distribution of x̄ becomes approximately normal as n gets large, whatever the shape of the population.
How large is large? A common rule of thumb is n ≥ 30. Mildly skewed populations need fewer; heavily skewed ones with extreme outliers may need more.
Rolling a die shows the CLT in action. A single roll is uniform: 1 through 6 equally likely, a flat histogram. The average of 2 rolls has a triangular distribution peaking at 3.5. The average of 30 rolls has a sampling distribution that looks convincingly bell-shaped.
This is why the normal distribution is everywhere in statistics. Household incomes are heavily skewed, but the mean income of random samples of 500 households is approximately normal. That lets us use z-scores and the 68-95-99.7 rule for sample means, even when the original data look nothing like a bell.
Be careful with wording: the CLT is about the distribution of sample means, not the data. A large sample from a skewed population is still skewed. Only the averages become normal.
Step 7 of 13Practice · True or false
The central limit theorem says that if you take a large enough sample from a skewed population, the values in your sample will be approximately normally distributed.
Step 8 of 13Practice · Diagram
What the central limit theorem is about
Which item becomes approximately normal as n grows?
Tap the shape that answers the question, then press Check.
- Population (any shape)
Could be skewed, like incomes or wait times.
- Many samples of size n
Imagine repeating the sampling over and over.
- One x̄ per sample
Each sample is boiled down to its mean.
- Distribution of x̄
This is the sampling distribution, not the data in any one sample.
- Approximately normal
Centered at μ with SE = σ/√n, once n is large enough (often 30+).
Step 9 of 13Learn
The sampling distribution of a proportion
For a categorical variable, the statistic is the sample proportion p̂. If the population proportion is p and you take random samples of size n:
- Center: p. p̂ is unbiased.
- Standard error: √( p(1 − p) / n ).
- Shape: approximately normal when the sample has at least 10 expected successes and 10 expected failures: np ≥ 10 and n(1 − p) ≥ 10.
Example. Suppose 50% of voters approve of the mayor, and pollsters sample n = 1,000.
SE = √(0.5 × 0.5 / 1000) = √0.00025 ≈ 0.0158, about 1.6 percentage points.
By the 95% rule, about 95% of polls will land within 2 × 1.6 ≈ 3.2 points of the true 50%. That's where the familiar "margin of error of plus or minus 3 points" for national polls comes from.
So two polls showing 52% and 49% are both well within the range you'd expect from chance alone. A headline announcing that approval "fell 3 points" between two such polls might be describing nothing but sampling variability.
The formula also explains why the margin of error depends on the sample size, not the population size (as long as the population is much bigger than the sample). A poll of 1,000 is about as precise for a city of 1 million as for a country of 300 million.
Step 10 of 13Practice · Work it out
In a population, 30% of adults have a library card (p = 0.3). For random samples of n = 100, what is the standard error of p̂? Give a decimal to three places.
Step 11 of 13Note
Step 12 of 13Practice · Choose one
Delivery times have mean 50 minutes and standard deviation 10 minutes. For a random sample of 25 deliveries, about how likely is a sample mean above 54 minutes?
Step 13 of 13Practice · Select all that apply
Which statements about the sampling distribution of x̄ are true? Select all that apply.
Select all that apply.
Lesson complete!