How do you state the hypotheses and check the conditions for a test comparing two means?
Topic 7.8 Setting Up a Test for the Difference of Two Population Means: state the hypotheses about the difference of two means, decide between a two-sample and a paired procedure, identify the significance level, and check the conditions.
A focused answer to AP Statistics Topic 7.8, on writing the hypotheses for a difference of two means, deciding between a two-sample and a paired t-test, choosing the significance level, and checking the conditions.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this topic is asking
The College Board (Topic 7.8) wants you to set up a test for the difference of two means: write the hypotheses, decide between a two-sample and a paired procedure based on the design, identify the significance level, and check the conditions.
Decide the design first
This decision drives everything that follows, the hypotheses, the standard error, and the degrees of freedom, so make it explicitly. The classic cue for pairing is that each subject contributes a before/after pair, or that subjects are deliberately matched (twins, left/right). The cue for independence is two separate groups of different units. Choosing the wrong design is one of the most consequential errors in the unit.
Hypotheses for each design
Both null hypotheses state "no difference," but they are about different parameters: two population means versus one mean of differences. Hypotheses are about parameters (, or ), never the sample means. Define the parameters in words and fix the subtraction order so the alternative direction matches the question.
Significance level and conditions
Choose in advance as the Type I error rate. Then check conditions appropriate to the design.
For a two-sample test: random (each sample random/randomised) and the two samples independent; normal/large sample for each group (population normal, , or a graph with no strong skew or outliers); each sample at most of its population.
For a paired test: the differences come from a random sample (or randomised experiment); the differences are approximately normal (or the number of pairs is , or a graph of the differences shows no strong skew or outliers); the number of pairs is at most of the population of pairs. Note that for a paired test you check the differences, not the two original groups, a frequent slip.
Try this
Q1. Two separate random groups are compared on a mean response. State the design and the null hypothesis. [1 point]
- Cue. Independent samples, two-sample t-test; .
Q2. For a paired test, which data do you check the normal/large condition on? [1 point]
- Cue. The list of within-pair differences, not the two original groups.
Exam-style practice questions
Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AP 2019 (style)1 marksSection I (multiple choice). To test whether two independent groups have different mean responses, the hypotheses are (A) (B) , (C) (D) (paired)Show worked answer →
The correct answer is (B).
For two independent means, the null of "no difference" is (equivalently ), with for "different."
(A) uses sample means, not parameters. (C) wrongly puts the inequality in the null. (D) is the paired hypothesis, used only when the data are matched, not for independent groups.
AP 2020 (style)3 marksSection II (free response). A researcher compares two diets. Design 1: subjects randomly assigned to diet A and to diet B, comparing mean weight loss. Design 2: each of subjects tries both diets (in random order), comparing the mean difference in loss. (a) For each design, state the appropriate test and the hypotheses. (b) Explain why the procedures differ. (c) State a condition that design 2 must satisfy that design 1 does not require.Show worked answer →
A 3-point design-and-setup question.
(a) (2 points) Design 1 (independent groups): two-sample t-test; versus . Design 2 (each subject does both, matched): paired t-test on the differences; versus , where is the mean within-subject difference.
(b) (1 point) Design 1 has two independent samples, so variances add (two-sample SE). Design 2 pairs each subject with themselves, removing between-subject variability, so it analyzes one list of differences with a one-sample procedure.
(c) (implicit in b) Design 2 requires the differences to be approximately normal (or pairs) and the pairs to be a random sample; design 1 requires each of the two samples to satisfy the normal/large condition and be independent of the other.
Markers reward matching each design to the correct procedure and hypotheses and explaining the role of pairing.
Related dot points
- Topic 7.9 Carrying Out a Test for the Difference of Two Population Means: compute the two-sample (or paired) t test statistic, find the P-value, compare to the significance level, and state a conclusion in context.
A focused answer to AP Statistics Topic 7.9, on computing the two-sample t statistic with the unpooled standard error (or the paired one-sample t statistic on differences), finding the P-value, and concluding in context, with a full worked test.
- Topic 7.6 Confidence Intervals for the Difference of Two Means: check the conditions and construct a two-sample t-interval for the difference between two population means, including the paired case, using the unpooled standard error.
A focused answer to AP Statistics Topic 7.6, on building a two-sample t-interval for the difference of two population means and distinguishing it from a paired (one-sample) interval, with a full worked interval.
- Topic 7.4 Setting Up a Test for a Population Mean: state the null and alternative hypotheses about a population mean, identify the significance level, and verify the conditions for a one-sample t-test.
A focused answer to AP Statistics Topic 7.4, on writing the null and alternative hypotheses for a population mean, choosing the significance level, and checking the random, normal/large-sample, and 10% conditions for a one-sample t-test.
- Topic 6.10 Setting Up a Test for the Difference of Two Population Proportions: state the hypotheses about the difference of two proportions, identify the significance level, and verify the conditions for a two-sample z-test using the pooled proportion.
A focused answer to AP Statistics Topic 6.10, on writing the hypotheses for a difference of two proportions, choosing the significance level, computing the pooled proportion, and checking the conditions for a two-sample z-test, with a worked set-up.
- Topic 7.10 Skills Focus: Selecting, Implementing, and Communicating Inference Procedures: identify the appropriate confidence interval or significance test for a scenario (proportion or mean, one or two samples, paired or independent), and carry it out and communicate the result correctly.
A focused answer to AP Statistics Topic 7.10, on choosing the correct inference procedure (proportion vs mean, one vs two samples, paired vs independent, interval vs test) for a scenario and implementing and communicating it correctly, with a worked decision and procedure.
Sources & how we know this
- AP Statistics Course and Exam Description — College Board (2020)