AP Statistics · Topic 2.12 · Reading guide, about 6 min

How statistics vary from sample to sample

Sampling distributions, simulation, randomization distributions and the central limit theorem, with a fully worked small example.

In one minute

A statistic such as a sample mean or a sample proportion changes every time you draw a new sample. If you could draw every possible sample of one size from a population and record the statistic each time, the pattern of those values would be the sampling distribution of the statistic. This idea sits underneath every confidence interval and hypothesis test in the course.

The key habit is to keep three different distributions apart: the population, one sample, and the sampling distribution. Most mistakes in this unit come from blurring them together.

Key terms

Sampling distribution
The pattern of values a statistic takes across every sample of one fixed size drawn from a single population.
Parameter
A number describing a population, such as μ\mu or pp. It is fixed and usually unknown.
Statistic
A number computed from a sample, such as xˉ\bar{x} or p^\hat{p}. It varies from sample to sample.
Simulation
Using random numbers or technology to repeat a sampling process many times and collect the statistic each time.
Randomization distribution
The distribution of a statistic when responses in an experiment are reshuffled among treatment groups many times, as if treatment did nothing.
Central limit theorem
For large enough samples, the sampling distribution of xˉ\bar{x} is approximately normal, whatever shape the population has.
Sampling variability
The natural sample-to-sample differences in a statistic, even when sampling is done correctly.
Population distribution
How the individual values in the whole population are spread out. It is not the same as a sampling distribution.

Three distributions, three questions

Suppose a school has 2,000 students and you want the mean number of hours they sleep. The population distribution shows the sleep hours of all 2,000 students. A sample distribution shows the hours of the 40 students you actually surveyed. The **sampling distribution of xˉ\bar{x}** shows what the mean of 40 students would look like across every possible group of 40. Each dot in that third picture is a whole sample boiled down to one number.

The first two pictures are made of individual students. The third is made of statistics. That is why its spread is smaller: averages of 40 students vary less than single students do.

What each distribution describes
DistributionWhat each value isCenter and spread
PopulationOne individual in the populationParameters μ\mu and σ\sigma
One sampleOne individual in your sampleStatistics xˉ\bar{x} and ss
Sampling distribution of xˉ\bar{x}The mean of one possible sampleCenter at μ\mu, spread smaller than σ\sigma

Building a sampling distribution by hand

Here is a tiny, invented population of five plants with heights 2, 4, 6, 8 and 10 inches, so μ=6\mu = 6 and σ=8≈2.83\sigma = \sqrt{8} \approx 2.83. We take samples of size n=2n = 2 without replacement. There are exactly 10 possible samples, and their means are listed below.

The sample means are 3, 4, 5, 6, 5, 6, 7, 7, 8 and 9, coming from the pairs (2,4), (2,6), (2,8), (2,10), (4,6), (4,8), (4,10), (6,8), (6,10) and (8,10). Counting gives a mean of 3 once, 4 once, 5 twice, 6 twice, 7 twice, 8 once and 9 once. The average of these ten means is 60/10=660/10 = 6, exactly μ\mu. The means run only from 3 to 9, while the population runs from 2 to 10, and most of the means sit near the middle.

To measure spread, find the squared distances from 6: 9, 4, 1, 0, 1, 4, 9 for the values 3, 4, 5, 6, 7, 8, 9, with the 5s, 6s and 7s each counted twice. The total is 9+4+2+0+2+4+9=309 + 4 + 2 + 0 + 2 + 4 + 9 = 30, so the variance is 30/10=330/10 = 3 and the standard deviation is 3≈1.73\sqrt{3} \approx 1.73. That is clearly less than the population value of 2.83. This single example shows the two lessons of the topic: sample means are centered on the parameter, and they vary less than individuals.

Simulation and randomization distributions

Real populations are too big to list every sample, so we simulate. Draw a random sample, compute the statistic, record it, and repeat many times, say 1,000. A dotplot or histogram of the 1,000 recorded values approximates the sampling distribution. This only works when we know, or assume, the population parameters, so it answers questions such as "if 40% of students really do this, how much would sample proportions vary for n=100n = 100?"

A randomization distribution answers a different question. In an experiment, suppose 10 volunteers are randomly split into a new-method group and an old-method group, and the new-method group scores higher on average. To see whether chance alone could do that, imagine the treatment made no difference. Then every score would have been the same under either group, so reshuffle the 10 scores into two new groups of 5, compute the difference in means, and repeat many times. The pile of differences shows how big a gap random assignment alone tends to create. If the actual gap lands far out in the tail, it is hard to blame chance.

The central limit theorem

The central limit theorem says that as the sample size grows, the sampling distribution of xˉ\bar{x} becomes closer to a normal curve, even when the population is skewed or lumpy. A common guideline is that n≥30n \ge 30 is usually enough, though a population with extreme skew or outliers needs far more. If the population itself is normal, the sampling distribution of xˉ\bar{x} is normal for any nn.

Be careful about what changes. If a skewed population is sampled with n=100n = 100, the 100 data values in your sample still look skewed. Only the distribution of many sample means looks normal. A bigger sample does not make your data bell-shaped; it makes the statistic's distribution narrower and more bell-shaped.

How it connects

  • Back to 2.11: the normal curve and z-scores are the tools you will apply to sampling distributions once they are approximately normal.
  • Forward to 3.2: the sampling distribution of p^\hat{p} gets an exact center and spread.
  • Forward to 4.1: the sampling distribution of xˉ\bar{x} has mean μ\mu and standard deviation σ/n\sigma/\sqrt{n}.

Common mistakes

  • Mixing up the sample and the sampling distribution. One sample's histogram shows individuals. The sampling distribution shows one statistic across many samples. Label what each dot represents before you describe a graph.
  • Thinking a bigger sample makes the data normal. The central limit theorem is about the distribution of xˉ\bar{x}, not about the raw values in one sample.
  • Describing a simulation as if it were real data collection. A simulation shows what could happen under assumed parameters; it does not replace collecting an actual sample.
  • Calling the statistic's variation a mistake. Sampling variability is expected even when everything is done correctly. Bias is a separate problem caused by the method.

How it shows up on the exam

  • You may see a dotplot of simulated statistics and be asked what each dot represents, where the distribution is centered, and whether a particular value is unusual.
  • A description of a simulation or a reshuffling scheme may ask you to explain in context what one trial models.
  • Questions about the central limit theorem often ask whether the shape of xˉ\bar{x} is approximately normal given a population shape and a sample size, with a written justification.

Check yourself

  1. In your own words, what does one dot in a sampling distribution of p^\hat{p} stand for?
  2. Why is the standard deviation of sample means smaller than the standard deviation of the population?
  3. A population is strongly right-skewed and n=50n = 50. Describe the shape of the sample data and the shape of the sampling distribution of xˉ\bar{x}.
  4. In a randomization distribution, what assumption is built into the reshuffling?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.