Skip to main content
United StatesStatisticsSyllabus dot point

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.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. Decide the design first
  3. Hypotheses for each design
  4. Significance level and conditions
  5. Try this

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 (μ1,μ2\mu_1, \mu_2, or μd\mu_d), 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 α\alpha 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, n30n \ge 30, or a graph with no strong skew or outliers); each sample at most 10%10\% 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 30\ge 30, or a graph of the differences shows no strong skew or outliers); the number of pairs is at most 10%10\% 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; H0:μ1=μ2H_0: \mu_1 = \mu_2.

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) H0:xˉ1=xˉ2H_0: \bar{x}_1 = \bar{x}_2 (B) H0:μ1=μ2H_0: \mu_1 = \mu_2, Ha:μ1μ2H_a: \mu_1 \ne \mu_2 (C) H0:μ1μ2H_0: \mu_1 \ne \mu_2 (D) H0:μd=0H_0: \mu_d = 0 (paired)
Show worked answer →

The correct answer is (B).

For two independent means, the null of "no difference" is H0:μ1=μ2H_0: \mu_1 = \mu_2 (equivalently μ1μ2=0\mu_1 - \mu_2 = 0), with Ha:μ1μ2H_a: \mu_1 \ne \mu_2 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: 4040 subjects randomly assigned to diet A and 4040 to diet B, comparing mean weight loss. Design 2: each of 4040 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; H0:μA=μBH_0: \mu_A = \mu_B versus Ha:μAμBH_a: \mu_A \ne \mu_B. Design 2 (each subject does both, matched): paired t-test on the differences; H0:μd=0H_0: \mu_d = 0 versus Ha:μd0H_a: \mu_d \ne 0, where μd\mu_d 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 n30n \ge 30 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

Sources & how we know this