Carrying Out a Test for the Difference Between Two Population Means
AP StatisticsΒ· 12 min read
1. Step 1: State Hypotheses and Define Parametersβ β ββββ± 8 min
renderer not yet implemented Β· content will appear once shipped]Two-Sample Hypothesis Notation
Null hypothesis claims no difference between the two population means; alternative hypothesis claims a non-zero difference, greater than zero, or less than zero, aligned exactly to the stated research question.
A researcher claims that 10th graders sleep more on average than 9th graders. State the correct hypotheses for this test.
- 1
First define parameters explicitly:
- 2
= true mean hours of sleep per night for all 10th graders, = true mean hours of sleep per night for all 9th graders
- 3
Null hypothesis (no difference between population means):
- 4
- 5
One-sided alternative hypothesis aligned to the researcher's claim:
- 6
2. Step 2: Verify Inference Conditionsβ β β βββ± 10 min
renderer not yet implemented Β· content will appear once shipped]Independent: Observations within each sample are independent, and the two samples are fully independent of each other. The 10% rule requires each population to be at least 10 times larger than its corresponding sample.
Normal/Large Sample: For each sample, if n < 30, you must confirm no strong skewness or outliers in the sample distribution. If n β₯ 30, the Central Limit Theorem applies and the sampling distribution of is approximately normal.
You are comparing mean commute time for 50 urban workers and 42 suburban workers. Both samples are random. Confirm the normal condition for this test.
- 1
Sample 1 (urban workers): n1 = 50 β₯ 30, so sampling distribution for is approximately normal by CLT.
- 2
Sample 2 (suburban workers): n2 = 42 β₯ 30, so sampling distribution for is approximately normal by CLT.
- 3
The difference of two approximately normal distributions is also approximately normal, so the normal condition is fully satisfied.
3. Step 3: Calculate Test Statistic and P-Valueβ β β β ββ± 12 min
renderer not yet implemented Β· content will appear once shipped]Sample 1: n1=25, xΜ1=18.2, s1=3.1; Sample 2: n2=30, xΜ2=15.7, s2=2.8. Calculate the t-statistic for a test of H0: ΞΌ1 - ΞΌ2 = 0.
- 1
Plug values into the test statistic formula:
- 2
- 3
Simplify denominator first:
- 4
- 5
Final t-statistic:
- 6
Test your understanding of the calculation rules:
What is the correct conservative degrees of freedom for n1=25, n2=30?
24
29
53
54
Reveal answer
24 βConservative df is min(n1-1, n2-1) = min(24, 29) = 24.
4. Step 4: Make a Contextual Conclusionβ β β βββ± 7 min
renderer not yet implemented Β· content will appear once shipped]Your p-value for the earlier sleep difference test is 0.023, with Ξ± = 0.05. Write a full valid conclusion.
- 1
- Compare p-value to Ξ±: 0.023 < 0.05
- 2
- State formal decision: We reject the null hypothesis.
- 3
- Link to full context: There is convincing evidence that the true mean hours of sleep for 10th graders is greater than the true mean hours of sleep for 9th graders.
5. Common Pitfalls
Wrong move:
Using a pooled two-sample t-test by default
Why:
AP graders deduct points for pooled tests unless the problem explicitly states population variances are equal
Correct move:
Always use unpooled Welch's t-test for all two-sample mean inference on the AP exam.
Wrong move:
Combining n1 and n2 to check the n β₯ 30 normal condition
Why:
CLT applies to each individual sampling distribution, not the combined sample
Correct move:
Verify the normal/large sample condition separately for each of the two groups.
Wrong move:
Writing a conclusion that refers to the sample difference instead of the population difference
Why:
Hypothesis tests make claims about population parameters, not observed sample results
Correct move:
Explicitly reference 'true population mean' in every part of your conclusion.
Wrong move:
Using a paired t-test for two independent samples
Why:
Paired tests are for matched observations, not separate independent groups
Correct move:
Confirm the two samples are independent before selecting a two-sample t-test.
Wrong move:
Stating that you 'accept the null hypothesis' when the p-value is large
Why:
We never have evidence to prove the null is 100% true, only that we cannot reject it
Correct move:
Use the exact phrasing 'fail to reject the null hypothesis' for non-significant results.
6. Quick Reference Cheatsheet
Component | Formula / Requirement |
|---|---|
Hypotheses | , |
Conditions | Random, Independent (10% rule), Normal (nβ₯30 or no outliers) |
t-statistic | |
Conservative df | |
Conclusion Structure | P-value < Ξ± β Reject H0, state context conclusion |
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2023 Β· FRQ 2
Two-sample t-test for test score difference
- 2022 Β· MCQ Set 7
Identify correct p-value for two-sample test
- 2021 Β· FRQ 3
Verify conditions for two-sample t-test
What's Next
Mastering the full workflow for two-sample t-tests is one of the highest-weight skills on the AP Statistics free response section, as it appears in nearly every other exam administration. You will next extend this logic to scenarios where you are comparing the difference between two population proportions, rather than quantitative means, and learn to identify which type of inference test is appropriate for any given prompt. This skill will also help you earn full credit on the investigative task FRQ that makes up 25% of your total exam score.
