Educerie

Educerie · AP · Statistics

AP Statistics 2.12

Sampling Distributions and the Central Limit Theorem

How do we describe chance and variation, so that a claim about a population can be backed by numbers?

What you will learn

  • Understand a sampling distribution as the distribution of a statistic over all possible samples of one size
  • Know how to simulate a sampling distribution from a population with known parameters
  • Understand a randomization distribution as the statistic over random reallocations of treatments
  • Know that the central limit theorem says the distribution of a sample mean is approximately normal and improves as the sample grows

You must be able to

  1. Say which of population, sample and sampling distribution a description refers to
  2. Describe a simulation of a sampling distribution step by step
  3. Describe a simulated sampling distribution by shape, center and spread
  4. Explain what a randomization distribution shows
  5. State what the central limit theorem does and does not say
  6. Compare sampling distributions for different sample sizes

In the exam. Section I multiple choice asks which of three distributions a graph or phrase refers to (the population, one sample, or the sampling distribution of a statistic), how a sampling distribution changes with sample size, and what the central limit theorem lets you say. The Course and Exam Description warns that the reply must make clear which distribution is meant: "larger samples have less variability" is not enough. In Section II the idea returns in the conditions for every inference procedure in Units 3 and 4. Skill 4.C.

1Three different distributions

Many wrong answers confuse three distributions. Name which one you mean.

DistributionWhat is in itExample: waiting times at a clinic
PopulationThe value for every individualAll waiting times of all patients, with mean μ\mu
Sample (the data)The values for the individuals actually chosenThe 30 waiting times we collected
Sampling distributionThe value of a statistic for every possible sample of one sizeThe sample mean xˉ\bar{x} from each possible sample of 30 patients

The population and the sample are made of individual values. The sampling distribution is made of statistics, one for each sample, and it is never seen in practice. We study it by simulation or by theory.

A sentence like "larger samples have less variability" is ambiguous. Within one larger sample the values are no less spread out. It is the statistic, the sample mean, that varies less from sample to sample. Say "the sampling distribution of the sample mean has less variability for larger nn".

2Simulating a sampling distribution

The method has a fixed recipe, which the exam may ask you to describe.

  1. Assume a population with known parameters.
  2. Take a random sample of size nn from it.
  3. Calculate the statistic (for example, the sample mean) and record it.
  4. Repeat steps 2 and 3 a large number of times.
  5. Plot the recorded values. Their distribution approximates the sampling distribution.

Example (invented): waiting times at a clinic are right-skewed, with mean μ=20\mu = 20 minutes and standard deviation σ=20\sigma = 20 minutes. Figure 1 shows the population on the left. On the right are the sample means from 5000 random samples of size 30 from that population, simulated by computer.

Figure 1. Left: a right-skewed population of waiting times with mean 20 minutes. Right: the sample mean of 5000 random samples of size 30 from that population, which is centred at 20, far less spread out and close to symmetric and bell-shaped (a) the population 20 40 60 80 100 10% 20% 30% 0 percent of values waiting time, x Figure 1. Left: a right-skewed population of waiting times with mean 20 minutes. Right: the sample mean of 5000 random samples of size 30 from that population, which is centred at 20, far less spread out and close to symmetric and bell-shaped (b) sample means, n = 30 20 40 60 80 100 5% 10% 15% 0 percent of samples sample mean
Figure 1 · Left: the skewed population of waiting times. Right: the means of 5000 random samples of size 30

Compare the two panels, which use the same horizontal scale.

  • Shape. The population is strongly right-skewed. The distribution of sample means is close to symmetric and bell-shaped.
  • Center. Both are centered near 20. The sample means had a mean of 20.03.
  • Spread. The population runs from 0 to well over 60. The sample means are packed between about 9 and 36, with a standard deviation of 3.69.

Table 1 repeats the simulation for four sample sizes, 5000 samples each.

Sample size nn2530100
Mean of the sample means20.3120.0720.0320.03
Standard deviation of the sample means14.578.983.692.02
Skewness of the sample means1.520.970.420.22
  • The center stays at 20, the population mean, whatever nn is.
  • The spread falls as nn rises: 14.57, 8.98, 3.69, 2.02.
  • The skewness falls toward 0, so the shape moves toward symmetric.

Unit 4 puts a formula on the spread: the standard deviation of xˉ\bar{x} is σ/n\sigma/\sqrt{n}, which the Exam Reference Information gives. Here 20/30≈3.6520/\sqrt{30} \approx 3.65, close to the simulated 3.69. In this topic, you only need the pattern: more data, less spread.

3The central limit theorem

The central limit theorem says that, for a random sample, the sampling distribution of the sample mean can be approximated by a normal distribution, and the larger the sample, the better the approximation.

What the theorem does for you:

  • It lets you use the normal curve for probabilities about a sample mean, even when the population is not normal. The clinic population is badly skewed, but means of samples of 30 are close to normal.
  • It says the approximation improves as nn grows. A very skewed population needs a larger sample than a nearly symmetric one. A common rule of thumb is nn of about 30 or more.
  • If the population is already approximately normal, the sample mean is approximately normal for any sample size.

What it does not say:

  • It does not say the sample becomes normal. The values in a large sample from a skewed population are still skewed.
  • It does not say the population becomes normal.
  • It is about the distribution of the statistic over many samples, not about one sample.

When a question asks whether a normal model for xˉ\bar{x} is appropriate, name the reason: the sample is random, and either the population is approximately normal or the sample size is large enough for the CLT. "The data are normal" is not a reason.

4A randomization distribution

In an experiment, we may ask whether a difference between two treatment groups could be due only to the chance of who was put in which group. A randomization distribution answers that: reallocate the responses to the groups at random, many times, and record the statistic each time.

Example (invented): 12 plants of the same kind are randomly split, 6 to a plant-food solution and 6 to plain water. The growth in cm is:

  • Plant food: 14.2, 15.1, 13.8, 16.4, 15.7, 14.9, with mean 15.02.
  • Plain water: 13.1, 12.6, 14.0, 13.5, 12.9, 14.3, with mean 13.40.

The observed difference in means is 15.02−13.40=1.6215.02 - 13.40 = 1.62 cm.

Now suppose the plant food did nothing, so each plant's growth would have been the same in either group. Then any way of splitting the 12 plants into two groups of 6 was equally likely. For each split, recompute the difference in group means. There are (126)=924\binom{12}{6} = 924 possible splits, and all of them can be listed.

The 924 differences make a randomization distribution. It is centered at 0, and it shows what differences chance alone produces. Only 5 of the 924 splits give a difference of 1.62 or more, so about 5/924≈0.0055/924 \approx 0.005 of the reallocations are that extreme.

A difference this large is rare when only chance is at work. That is the reasoning behind significance tests, which Units 3 and 4 develop. In this topic, you need to know how the distribution is built and what it shows: the values of a statistic under random reallocation.

A randomization distribution is like a sampling distribution in that it shows how a statistic varies. The difference is the source of the variation: random reallocation of the treatments, not random sampling from a population.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.