Instructional videos are coming to Albert.Join the waitlist
AP® Statistics
Practice

Carrying Out a Test for the Difference of Two Population Means

✎ Study Mode — Highlight text and annotate as you read.

Your hypotheses are set, conditions are verified, and the test statistic is calculated. Now comes the decisive phase: finding the p-value, comparing it to your significance level, and writing a conclusion that translates your statistical result back to the research question. This carry-out phase is identical in structure to every other hypothesis test — master it here and you’ve mastered it everywhere.

The Two-Sample T-Test Statistic

The test statistic measures how many standard errors the observed difference (x̅₁ − x̅₂) is from the null hypothesis value (typically 0):

The p-value is the tail area beyond the test statistic, assuming H₀ is true.
The p-value is the tail area beyond the test statistic, assuming H₀ is true.
\(t = \frac{(\bar{x}_1 – \bar{x}_2) – 0}{\sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}}\)

Use the conservative degrees of freedom: df = min(n₁ − 1, n₂ − 1). Technology gives the exact Welch df, which is larger and produces a slightly smaller p-value — both are acceptable on the AP exam.

Complete Worked Example

Do students studying with background music score differently than students studying in silence?

Data:
Music group: n₁ = 28, x̅₁ = 76.4, s₁ = 8.2
Silence group: n₂ = 32, x̅₂ = 74.1, s₂ = 9.1

Hypotheses: H₀: μ_music = μ_silence    Hₐ: μ_music ≠ μ_silence

Test statistic:

\(t = \frac{76.4 – 74.1}{\sqrt{\frac{8.2^2}{28} + \frac{9.1^2}{32}}} = \frac{2.3}{\sqrt{2.404 + 2.590}} = \frac{2.3}{\sqrt{4.994}} = \frac{2.3}{2.235} = 1.03\)

df: min(28 − 1, 32 − 1) = min(27, 31) = 27

P-value: Two-sided, t = 1.03, df = 27 → p ≈ 0.312 (from table: t = 1.03 falls below 1.314, the one-tail 0.10 critical value for df = 27, so p > 0.20)

Decision: p = 0.312 > α = 0.05 → fail to reject H₀.

Conclusion: “Since the p-value (0.312) is greater than α = 0.05, we fail to reject H₀. There is insufficient evidence that mean exam scores differ between students who study with background music and those who study in silence. The observed 2.3-point difference is consistent with sampling variation.”

Reading P-Values from a t-Table

t-distributions have heavier tails than the normal and approach it as degrees of freedom grow.
t-distributions have heavier tails than the normal and approach it as degrees of freedom grow.

Loading the t-test calculator…

Step What to Do
1. Find df row Use your calculated df (conservative: min(n₁−1, n₂−1))
2. Locate |t| in the row Find which critical values your t falls between
3. Read the tail probability For two-sided: double the one-tail probability you read
4. Report as a range E.g., “p > 0.20” or “0.02 < p < 0.05”

Technology advantage: A calculator’s 2-SampTTest gives the exact p-value instantly. On the AP exam, report both the test statistic and the p-value even when using technology — show your work.

Decision and Conclusion Framework

If… Then… Conclude (in context)…
p ≤ α Reject H₀ “There is convincing evidence that the mean [outcome] differs between [group 1] and [group 2].”
p > α Fail to reject H₀ “There is insufficient evidence that the mean [outcome] differs between [group 1] and [group 2].”

Every AP conclusion requires four elements: p-value stated, comparison to α, decision (reject/fail to reject), and context (what populations and outcome are involved).

P-Value Interpretation

Statement Correct?
“p = 0.03 means there’s a 3% chance H₀ is true.” ✗ Wrong — p-value is about the data, not H₀’s truth
“p = 0.03 means, if H₀ were true, data this extreme would occur 3% of the time.” ✓ Correct
“We accept H₀.” ✗ Wrong — always “fail to reject”
“The groups are identical.” ✗ Wrong — failing to reject means insufficient evidence, not proof of equality

Connection to Confidence Intervals

A two-sided test at α = 0.05 and a 95% CI for (μ₁ − μ₂) always agree:

  • If CI excludes 0 → reject H₀ (p ≤ 0.05)
  • If CI includes 0 → fail to reject H₀ (p > 0.05)
What 95% confidence means: about 95% of intervals from repeated samples capture the parameter.
What 95% confidence means: about 95% of intervals from repeated samples capture the parameter.

In the example: a 95% CI for (μ_music − μ_silence) would include 0, consistent with failing to reject H₀. Use this relationship to double-check your work or answer “CI or test?” questions.

Test-Taking Strategies

Mnemonic for conclusions: PDDC. P-value stated, Decision (reject/fail to reject), Direct comparison to α, Context. Every conclusion needs all four. Write them in order — it becomes automatic and ensures nothing is omitted.

For two-sided tests: double the tail probability from the table. The t-table usually gives one-tail probabilities. For Hₐ: μ₁ ≠ μ₂, multiply the one-tail probability by 2. For one-sided tests (Hₐ: μ₁ > μ₂ or μ₁ < μ₂), use the one-tail probability directly.

Report the test statistic, df, and p-value separately. “t = 1.03, df = 27, p = 0.312” — write all three. AP graders look for each component. Technology output doesn’t excuse skipping any of them.

Avoid these mistakes. Don’t say “accept H₀.” Don’t claim the groups are equal when you fail to reject. Don’t write a conclusion without naming the actual populations (not “Group 1 and Group 2” — use the problem’s language). Don’t mix up one-tailed and two-tailed p-value calculations.

Connect to effect size. Statistical significance and practical significance differ. A difference of 0.1 points might be statistically significant with n = 10,000 per group but practically meaningless. Always report the actual means and difference alongside your conclusion so the magnitude is visible.

Time management. Computing the test statistic: 2–3 minutes. Finding p-value from table or calculator: 1 minute. Writing conclusion: 2 minutes. Total: 5–6 minutes for the carry-out phase. Allocate conclusion time generously — it’s where interpretation points are earned or lost.

Check for Understanding

Think you’ve got it? Complete the quiz below to make sure. Download your results at the end.

Highlight & Annotate
📝

Study Annotations

You just made your first highlight! You can highlight text and click images to add study notes as you read.

Your annotations are saved during this session, as long as you keep this browser tab open. When you’re done, use the Print button to save the article with all your notes in the margins.

Click any highlight to view or edit your note.

Click another word to finish highlighting, or press Esc to cancel
0 Notes
Study Mode
Print Preview — Article with Annotations

Ready to practice? Try Albert free.

Build real confidence with thousands of adaptive practice questions across AP®, SAT®, ACT®, and core subjects — aligned to what you’re studying right now.

Practice for Albert