Educerie · AP · Statistics
AP Statistics 4.6
Sampling Distributions for the Difference Between Two Sample Means
How can a sample of numerical measurements tell us about the mean of a whole population, and how sure can we be?
What you will learn
- Know the mean and standard deviation of the sampling distribution of the difference of two sample means
- Understand why the variances add and the order of subtraction matters only for the mean
- Know the conditions for a normal model, for samples and for experiments
- Understand how to read a probability about the difference in context
You must be able to
- Calculate the mean and standard deviation of the difference of two sample means from given values
- Calculate a probability about the difference with a named normal model and z
- Justify the conditions for two independent samples or an experiment, with numbers
- Interpret the mean, standard deviation and a probability in context, with the order of subtraction
- Identify the common errors of subtracting or adding standard deviations
- Explain why paired data are not two independent samples
In the exam. Section I multiple choice: find the standard deviation of , a probability about the difference, or pick the conditions for two independent samples or an experiment. In Section II it underlies every two-mean interval and test (Q3 and Q4): you check two independent random samples or a randomized experiment, the 10% condition for each sample, and the sample data condition. Common slips are subtracting the standard deviations, adding and without squaring, and forgetting that the samples must be independent of each other.
1Its mean and standard deviation
For two independent populations with means and standard deviations , and independent sampled values, the formula sheet gives
- Center. On average, the difference of the sample means is the difference of the population means.
- Spread. Each sample mean varies. The difference varies by both sources together, so it is more spread out than either mean alone.
Why add? If the two sample means are independent, the uncertainty in one does not cancel the uncertainty in the other. Subtracting a variable does not make it less variable. So the variances add, and then you take the square root.
Two notes on the name:
- needs the population standard deviations. In real studies they are unknown, so from Topic 4.7 on you use the standard error .
- The order of subtraction matters for the mean ( against ), but not for the standard deviation.
2The conditions
A normal model for needs:
- Randomization. The data come from two independent random samples. If the data come from an experiment, the only condition is that the treatments were randomly assigned to the experimental units.
- The 10% condition (sampling without replacement). and , where are the population sizes. This is not needed for an experiment.
- Normality. Each population distribution can be modeled by a normal distribution, or and .
Independence matters twice. Within each sample, the values are independent (randomization and 10%). And the two samples are independent of each other, so one group's values tell you nothing about the other's. Before-and-after measurements on the same people are not independent samples: that is matched pairs (Topic 4.2).
3Worked example: large samples
Two schools sit the same test. School 1 has mean 70 and standard deviation 12. School 2 has mean 64 and standard deviation 15. A random sample of 40 students is taken from school 1 and an independent random sample of 50 from school 2. Each school is much larger than ten times its sample.
Question. Find the mean and standard deviation of , and the probability that school 1's sample mean is lower than school 2's.
- Randomization. Two independent random samples.
- 10%. Both populations are far larger than 400 and 500.
- Normality. and , so the difference is approximately normal.
School 1's sample mean is lower when :
Read Figure 1 in this order:
- The center is 6, the true difference between the school means.
- Most sample differences fall within two standard deviations of 6, from about 0.3 to 11.7.
- The shaded area left of 0 is the chance that the sample from the better school scores lower. It is small, 0.0175.
The same distribution gives other answers. The probability that the difference is more than 10 is , so .
4Worked example: normal populations, small samples
The mass of apples from orchard A is normally distributed with mean 180 g and standard deviation 14 g. Orchard B's apples are normal with mean 172 g and standard deviation 10 g. A random sample of 9 apples is taken from A and an independent sample of 16 from B (each orchard has thousands of apples).
Both populations are normal, so is normal even though and are below 30.
The probability that A's sample mean beats B's by more than 12 g:
A common error is adding the two standard errors, . That treats the two sources of variation as moving together. The correct 5.29 is smaller.
5Experiments
In a randomized experiment, the units are not sampled from two populations. They are assigned at random to two treatments. Then and are the mean responses of the two treatment groups.
- The only condition for the randomization step is random assignment of treatments to units.
- The 10% condition is not needed.
- The normality condition is the same: both populations of responses normal, or both group sizes at least 30.
Say "treatments were randomly assigned". A group chosen by the volunteers themselves does not meet the condition.
6Interpreting in context
Tie every number to the populations and the sample sizes.
- Mean. "Over all pairs of random samples of 40 students from school 1 and 50 from school 2, the mean of the difference in sample means is 6 points."
- Standard deviation. "The difference in sample mean scores, school 1 minus school 2, typically varies from the true difference of 6 points by about 2.85 points."
- Probability. "About 1.75% of all such pairs of random samples would give a school 1 sample mean below the school 2 sample mean."
Name the order of subtraction every time.
Practice questions
30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.