Sampling Distributions and the Central Limit Theorem
What a sampling distribution is and how it differs from the population and from one sample, how to approximate one by simulation, what a randomization distribution shows, and what the central limit theorem says about sample means.
Every random sample gives a slightly different statistic. The sampling distribution of a statistic describes that sample-to-sample variation: the values the statistic takes over all possible samples of the same size. It tells you which results are ordinary and which would be surprising. For sample means, the central limit theorem adds that the sampling distribution is close to normal once samples are large enough.
1Three distributions
The sampling distribution of a statistic is the distribution of the values of the statistic for all possible samples of a given size from a given population. It is easy to confuse with two other distributions.
| Distribution | What it is made of | Commute-time example |
|---|---|---|
| Population | The values of the variable for every individual | All 2,400 students’ commute times |
| One sample | The values for the individuals in one sample | The 30 commute times you collected |
| Sampling distribution | The value of a statistic for every possible sample of size n | The means \(\bar{x}\) of all possible samples of 30 |
Commute times
Say whether each statement is about the population distribution, the distribution of one sample, or a sampling distribution.
- The commute times of all 2,400 students are skewed right with mean about 21 minutes.
- The 30 students in one survey had commute times from 6.8 to 36.3 minutes.
- If we took many random samples of 30 students, their mean commute times would be roughly normal.
- 11. Every student in the school: the population distribution.
- 22. The values in one collected sample: the distribution of one sample.
- 33. The pattern of a statistic (the mean) across many samples: a sampling distribution.
The 30 commute times in your sample form one distribution of data. The sampling distribution is made of statistics, one per sample, over many samples. Ask: is each value a person’s commute time, or a sample’s mean?
2Simulating a sampling distribution
You can approximate a sampling distribution by simulation. Assume known values for the population parameters, then repeatedly generate a large number of random samples from the population. Find and record the statistic for each sample. The distribution of the recorded values approximates the sampling distribution.
Sample proportions
Suppose 40% of a school’s students bike to school at least once a week. Describe how to simulate the sampling distribution of \(\hat{p}\), the proportion who bike, for random samples of 50 students.
- 1Assume the parameter is known: \(p = 0.40\).
- 2Simulate one sample: for each of 50 students, generate a random number from 1 to 100; 1 to 40 means the student bikes. Record \(\hat{p}\) = (number who bike) ÷ 50.
- 3Repeat for a large number of samples, such as 1,000, recording \(\hat{p}\) each time.
- 4The distribution of the 1,000 values approximates the sampling distribution of \(\hat{p}\).
28 bikers in a sample of 50
A random sample of 50 students at the school finds that 28 bike, \(\hat{p} = 0.56\). If the true proportion is 0.40, how unusual is that?
- 1In Figure 2, 15 of the 1,000 simulated samples had \(\hat{p} \ge 0.56\).
- 2That is a proportion of about \(15 \div 1000 = 0.015\).
- 3So a sample proportion this high would be rare if 40% of students really bike.
3Randomization distributions
Experiments have their own version. A randomization distribution is built by repeatedly reassigning the measured response values to the treatment groups at random, as if the treatment had no effect, and recording the statistic, such as a difference in means, each time. The distribution of those values approximates the sampling distribution of the statistic under “no treatment effect.”
Nap or read
In an experiment, 5 randomly chosen students napped and 5 read before a reaction-time test. Times (ms): nap 231, 244, 238, 226, 249; read 252, 247, 263, 240, 258. Describe the randomization distribution and use it.
- 1Observed statistic: mean(read) − mean(nap) = 252 − 237.6 = 14.4 ms.
- 2If napping made no difference, each student’s time would have been the same in either group. So pool the 10 times, randomly reassign 5 to “nap” and 5 to “read,” and record the difference in means.
- 3Repeat 1,000 times. The differences center near 0 (Figure 3). Only 27 of them were 14.4 ms or more.
Reshuffling destroys any link between treatment and response, so the reshuffled differences center near 0, not near the observed 14.4. The question is where the observed value falls in that distribution: in the crowd, or far out in a tail.
4The central limit theorem
The central limit theorem (CLT) states that the sampling distribution of the mean of a random sample has a shape that can be approximated by a normal distribution. The larger the sample, the better the approximation. This holds even when the population itself is not normal.
How large a sample?
The commute times are strongly skewed right. A student says the mean of a random sample of 40 commute times cannot have a normal sampling distribution, because the population is not normal. Respond.
- 1The central limit theorem is about the sampling distribution of the mean, not about the population.
- 2Even when the population is skewed, the sampling distribution of \(\bar{x}\) is approximately normal when the sample is large enough.
- 3Figure 4 shows this: with n = 40, the sample means form a nearly normal shape.
The central limit theorem says nothing about the shape of the population or of the values in one sample. A sample of 40 skewed commute times is still skewed. What becomes approximately normal is the distribution of the sample mean over many samples.
Running 10,000 simulated samples instead of 1,000 makes the simulated picture smoother, but it does not change the sampling distribution. The sample size n is what changes its shape and spread. A sampling distribution of means of samples of size 2 stays skewed no matter how many samples you simulate.
“Because the sample size is large (n = 40), the central limit theorem says the sampling distribution of the sample mean commute time is approximately normal, even though individual commute times are skewed right.”
5Quick reference
| Term | Meaning |
|---|---|
| Sampling distribution | Values of a statistic over all possible samples of size n from a population |
| Simulated sampling distribution | Many random samples from a population with known parameters; record the statistic each time |
| Randomization distribution | Reassign responses to treatment groups at random many times; record the statistic each time |
| Central limit theorem | The sampling distribution of a sample mean is approximately normal, more so for larger n |