Unit 2 · Topic 2.12 · about 25 minutes

Sampling Distributions and the Central Limit Theorem

Describe a sampling distribution from a simulation, tell it apart from the population and from one sample's data, and use the central limit theorem to predict its shape.

Predict first

A customer help line's call lengths are strongly skewed to the right: most calls take a few minutes, and a handful run past half an hour. You take a random sample of 40 calls, find the mean length, and repeat that a thousand times. What shape will the histogram of those thousand sample means have?

Three distributions to keep apart

Questions about sampling go wrong when distributions get mixed up, so name them carefully.

  • The population distribution holds the values of the variable for every individual in the population: the lengths of all 10,000 calls the help line took last month.
  • The distribution of one sample's data holds the values in a single random sample, such as the lengths of 40 calls.
  • The sampling distribution of a statistic is the distribution of the values of that statistic, such as the sample mean, for all possible samples of a given size from a given population.

The first two describe individual calls. The third describes a statistic, one number per sample.

Every possible sample

A sampling distribution is easiest to see when the population is tiny. Five plants in a classroom are 12, 15, 20, 24 and 34 centimeters tall, a population mean of 21 cm. There are exactly 10 different samples of 2 plants. The table lists each one with its sample mean, and those 10 means are the sampling distribution of x‾ for samples of size 2 from this population.

All 10 samples of 2 plants and their sample means (cm)
SampleHeightsx‾
112, 1513.5
212, 2016
312, 2418
412, 3423
515, 2017.5
615, 2419.5
715, 3424.5
820, 2422
920, 3427
1024, 3429

Sampling distribution of the sample mean, samples of 2 plants

15202530Sample mean height (cm)

The 10 sample means average exactly 21, the population mean, and they spread out less than the plants do: no sample mean is as small as 12 or as large as 34.

Simulating a sampling distribution

Real populations are far too big for that. The help line's 10,000 calls can form about 10112 different samples of 40, more than the number of atoms in the observable universe. So you simulate. Assume what the population looks like, or assume values for its parameters. Generate a large number of random samples from it, compute the statistic for each sample, and record it. The distribution of the recorded values approximates the sampling distribution.

The three histograms below come from one such simulation: the population of 10,000 call lengths, then the means of 1,000 random samples of size 2, then the means of 1,000 random samples of size 40.

The population: 10,000 call lengths

0100020003000Number of calls0 to 2: 28652 to 4: 19434 to 6: 14626 to 8: 10328 to 10: 75310 to 12: 54012 to 14: 40014 to 16: 30916 to 18: 20518 to 20: 13020 to 22: 9622 to 24: 5624 to 26: 5526 to 28: 5028 to 30: 2230 to 32: 2332 to 34: 1634 to 36: 1636 to 38: 638 to 40: 740 to 42: 142 to 44: 344 to 46: 546 to 48: 248 to 50: 050 to 52: 152 to 54: 201020304050Call length (minutes)

Strongly skewed to the right. The mean is about 6.1 minutes, but the longest call ran 52.7 minutes.

Means of 1,000 random samples of 2 calls

050100Number of samples0 to 1: 611 to 2: 802 to 3: 1083 to 4: 1084 to 5: 1035 to 6: 1036 to 7: 987 to 8: 758 to 9: 549 to 10: 4210 to 11: 4011 to 12: 2512 to 13: 2613 to 14: 1414 to 15: 1615 to 16: 916 to 17: 617 to 18: 318 to 19: 819 to 20: 220 to 21: 421 to 22: 222 to 23: 423 to 24: 124 to 25: 125 to 26: 026 to 27: 527 to 28: 028 to 29: 129 to 30: 10102030Sample mean call length (minutes)

Averaging just two calls barely helps. The sample means are still clearly skewed to the right.

Means of 1,000 random samples of 40 calls

050100150200Number of samples3 to 3.5: 43.5 to 4: 74 to 4.5: 354.5 to 5: 855 to 5.5: 1815.5 to 6: 1956 to 6.5: 1906.5 to 7: 1607 to 7.5: 807.5 to 8: 328 to 8.5: 208.5 to 9: 79 to 9.5: 29.5 to 10: 110 to 10.5: 146810Sample mean call length (minutes)

With 40 calls per sample the means form a single mound that is close to symmetric, with a slight right skew left over from the population.

Worked exampleDescribing the simulated sampling distribution

Describe the simulated sampling distribution of the sample mean for samples of 40 calls, and compare it with the population of call lengths.

  1. Shape. Unimodal and roughly symmetric, close to a normal curve, with a slight skew to the right. The population is strongly skewed to the right.

  2. Center. The sample means center at about 6.0 minutes, close to the population mean of about 6.1 minutes.

  3. Variability. 891 of the 1,000 sample means fall between 4.5 and 7.5 minutes, and none is above 10.4 minutes. Individual calls range from under a minute to 52.7 minutes.

  4. Say what it means in context. The mean length of a random sample of 40 calls is far more predictable than the length of any one call, and its distribution is approximately normal even though call lengths are not.

Answer.

Approximately normal, centered near the population mean of about 6 minutes, and far less variable than individual call lengths.

The central limit theorem

The pattern in those histograms has a name. The central limit theorem (CLT) says that the sampling distribution of a mean of a random sample has a shape that can be approximated by a normal distribution, and the larger the sample, the better the approximation.

Read that carefully. It is about the distribution of the sample mean across many samples. It does not say the population becomes normal, and it does not say the data inside one sample become normal. How large a sample is large enough depends on how skewed the population is, and 4.1 Sampling Distributions for Sample Means gives the working rule.

Randomization distributions

Experiments assign treatments at random instead of sampling at random, and they have their own version of this simulation. Twenty volunteers were randomly assigned, 10 to learn a list of words with a new memory technique and 10 with their usual method. The technique group recalled a mean of 15.7 words and the usual group 13.0, a difference of 2.7 words.

Could random assignment alone produce a gap that big? To find out, pool the 20 responses, reassign them at random to two groups of 10, and record the difference in means. Repeat many times. The resulting randomization distribution shows how the statistic varies from one random assignment to another, and it approximates the sampling distribution of the difference.

1,000 random reassignments of the 20 memory scores

050100150Number of reassignments−3.2 to −2.8: 1−2.8 to −2.4: 4−2.4 to −2: 16−2 to −1.6: 42−1.6 to −1.2: 77−1.2 to −0.8: 98−0.8 to −0.4: 127−0.4 to 1.11022e-16: 1230 to 0.4: 1420.4 to 0.8: 1330.8 to 1.2: 991.2 to 1.6: 591.6 to 2: 432 to 2.4: 262.4 to 2.8: 82.8 to 3.2: 2−202Difference in mean words recalled (technique minus usual)

The reassigned differences center at 0. The observed difference of 2.7 words sits far out in the right tail: only 6 of the 1,000 reassignments produced a difference that large.

Topic 3.6 turns this kind of comparison into a p-value.

Lab

Sampling Distribution Machine

Choose the strongly skewed population and draw 1,000 samples of size 2, then size 30. Before each run, predict the shape of the sample means. Then compare how spread out the sample means are at each size.

Open the full Sampling Distribution Machine lab

Check your understanding

1

A researcher selects one random sample of 50 students from a large high school and records each student's height. Which of these is the sampling distribution of the sample mean height?

2

The amounts customers spend at a hardware store are skewed to the right. A manager takes many random samples of 100 receipts and computes the mean of each sample. Which best describes the distribution of those sample means?

3

A student takes one random sample of 20 values from a population that is skewed to the right, then takes a single much larger random sample of 2,000 values from the same population. How should a histogram of the data in the larger sample look?

4

In an experiment, 30 volunteers are randomly assigned to two treatments, and the difference in mean responses between the groups is recorded. How is a randomization distribution for that difference built?

5

A student wants to simulate the sampling distribution of the sample proportion p^ for random samples of 50 people from a population in which 30% have a library card. Which plan does that?

Course alignment, for teachers

AP Statistics topic 2.12, Unit 2: Probability, Random Variables, and Probability Distributions.

  • Skill 4.C: Describe distributions and compare relative positions of points within a distribution.