How do you compute the t test statistic and P-value and conclude a test comparing two means?
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.
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.9) wants you to carry out and conclude a test comparing two means: compute the two-sample t statistic with the unpooled standard error (or the paired one-sample t statistic on the differences), find the P-value, compare to , and state a conclusion in context.
The two-sample t statistic
The numerator is the observed difference of means; the denominator is the same unpooled standard error as the two-sample interval (variances added). Unlike the proportion case, the two-sample mean test and interval use the same standard error, because there is no pooled-proportion analogue required on the AP exam by default. The degrees of freedom are messy, so report the calculator value or use the conservative smaller- choice; AP grading accepts either.
The paired t statistic
Pairing turns a two-sample problem into a one-sample problem on a single list of differences. This is why the procedure, statistic, and degrees of freedom all match Topic 7.5 applied to the differences. The payoff is that pairing removes between-subject variability, often giving a smaller standard error and more power than an independent design with the same number of measurements.
P-value, decision, and conclusion
Find the P-value from the appropriate -distribution in the direction of : upper tail for , lower for , both (doubled) for . Then compare to : P-value rejects (convincing evidence of a difference in the stated direction); P-value fails to reject (not convincing evidence). The conclusion sentence states the decision, ties it to the -versus- comparison, and interprets in context ("there is convincing evidence the supplement lowers the mean reaction time"). As ever, never write "accept ," and for a two-sided two-sample test, the two-sided interval at gives the same verdict via the zero-check.
Try this
Q1. Write the two-sample t statistic and name the standard error type. [2 points]
- Cue. ; it uses the unpooled standard error.
Q2. Paired data give , , . Find the paired t statistic. [1 point]
- Cue. , .
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 2018 (style)1 marksSection I (multiple choice). For a two-sample t-test, the test statistic is (A) (B) only (C) (D) Show worked answer →
The correct answer is (A).
The standard two-sample t-test (unpooled) uses , the difference over the unpooled standard error.
(B) is a pooled-variance version not required on the AP exam as the default. (C) is not a valid standard error. (D) is the paired statistic, used only for matched data.
AP 2022 (style)4 marksSection II (free response). Independent random samples compare a supplement to a placebo on reaction time (ms). Treatment: , , . Placebo: , , . Test at whether the supplement lowers mean reaction time. Compute the test statistic and P-value, and conclude in context (justify in context). Use a conservative .Show worked answer →
A 4-point two-sample t-test.
(1) (1 point) Let be the true mean reaction times for supplement and placebo. versus . Random/independent; both , so normal/large holds.
(2) (1 point) .
(3) (1 point) , conservative . P-value .
(4) (1 point) Since , reject . There is convincing evidence that the supplement lowers the true mean reaction time relative to placebo.
Markers reward the unpooled standard error, the t statistic, the lower-tail P-value, and a contextual conclusion.
Related dot points
- 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.
- 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.5 Carrying Out a Test for a Population Mean: compute the t test statistic with n minus 1 degrees of freedom, find the P-value, compare to the significance level, and state a conclusion in context.
A focused answer to AP Statistics Topic 7.5, on computing the one-sample t statistic with n minus 1 degrees of freedom, finding the P-value, comparing to alpha, and stating a conclusion in context, with a full worked t-test.
- Topic 6.11 Carrying Out a Test for the Difference of Two Population Proportions: compute the two-sample z test statistic using the pooled standard error, find the P-value, and state a conclusion in context.
A focused answer to AP Statistics Topic 6.11, on computing the two-sample z statistic with the pooled standard error, finding the P-value, and stating a conclusion in context, with a full worked two-proportion test.
- 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)