AP Statistics · Study guide

Three distributions. Keep them apart.

AP® Statistics · Unit 2 · Probability, Random Variables, and Probability Distributions

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.

The idea in one paragraph

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.

DistributionWhat it is made ofCommute-time example
PopulationThe values of the variable for every individualAll 2,400 students’ commute times
One sampleThe values for the individuals in one sampleThe 30 commute times you collected
Sampling distributionThe value of a statistic for every possible sample of size nThe means \(\bar{x}\) of all possible samples of 30
Figure 1. The population is every student’s commute time. One sample is the 30 times you actually collect. The sampling distribution is the pattern of the sample means over many samples of 30. All three use the same scale, in minutes.
Worked Example 1 Which distribution?

Commute times

Say whether each statement is about the population distribution, the distribution of one sample, or a sampling distribution.

  1. The commute times of all 2,400 students are skewed right with mean about 21 minutes.
  2. The 30 students in one survey had commute times from 6.8 to 36.3 minutes.
  3. If we took many random samples of 30 students, their mean commute times would be roughly normal.
  1. 11. Every student in the school: the population distribution.
  2. 22. The values in one collected sample: the distribution of one sample.
  3. 33. The pattern of a statistic (the mean) across many samples: a sampling distribution.
Answer: Population, one sample, sampling distribution. Only the third describes how a statistic varies from sample to sample.
Common Mistake 1 · Mixing up a sample with the 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.

Figure 2. Each bar counts simulated samples of 50 with that sample proportion. The simulation assumes the parameter is known, p = 0.40, and shows how much \(\hat{p}\) varies from sample to sample by chance alone.
Worked Example 2 Describe a simulation

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.

  1. 1Assume the parameter is known: \(p = 0.40\).
  2. 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.
  3. 3Repeat for a large number of samples, such as 1,000, recording \(\hat{p}\) each time.
  4. 4The distribution of the 1,000 values approximates the sampling distribution of \(\hat{p}\).
Answer: Figure 2 shows the result: the values center near 0.40 and mostly fall between about 0.25 and 0.55.
Worked Example 3 Is a sample result surprising?

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?

  1. 1In Figure 2, 15 of the 1,000 simulated samples had \(\hat{p} \ge 0.56\).
  2. 2That is a proportion of about \(15 \div 1000 = 0.015\).
  3. 3So a sample proportion this high would be rare if 40% of students really bike.
Answer: Quite unusual: only about 1.5% of simulated samples were that high. The result suggests the true proportion may be greater than 0.40.

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.”

Figure 3. Reshuffling the 10 reaction times into two random groups of 5, again and again, shows what differences chance alone produces when the treatment makes no difference. The observed 14.4 ms sits far out in the right tail.
Worked Example 4 Build a randomization distribution

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.

  1. 1Observed statistic: mean(read) − mean(nap) = 252 − 237.6 = 14.4 ms.
  2. 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.
  3. 3Repeat 1,000 times. The differences center near 0 (Figure 3). Only 27 of them were 14.4 ms or more.
Answer: A difference as large as 14.4 ms happened in only about 2.7% of random reassignments, so chance alone rarely produces it. That points to napping making a real difference.
Common Mistake 2 · Expecting the randomization distribution to center at the observed result

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.

Figure 4. 1,000 sample means for each sample size, all drawn from the skewed population in Figure 1. As n grows, the sampling distribution of x̄ looks more and more normal, and it also gets narrower.
Worked Example 5 Use the central limit theorem

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.

  1. 1The central limit theorem is about the sampling distribution of the mean, not about the population.
  2. 2Even when the population is skewed, the sampling distribution of \(\bar{x}\) is approximately normal when the sample is large enough.
  3. 3Figure 4 shows this: with n = 40, the sample means form a nearly normal shape.
Answer: The student is mixing up the population and the sampling distribution. By the central limit theorem, means of samples of 40 have a roughly normal sampling distribution even though individual commute times are skewed.
Common Mistake 3 · Thinking the CLT makes the data normal

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.

Common Mistake 4 · Confusing more samples with bigger 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.

Say it like this

“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

TermMeaning
Sampling distributionValues of a statistic over all possible samples of size n from a population
Simulated sampling distributionMany random samples from a population with known parameters; record the statistic each time
Randomization distributionReassign responses to treatment groups at random many times; record the statistic each time
Central limit theoremThe sampling distribution of a sample mean is approximately normal, more so for larger n