Paired t-Test Examples in Math
Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Paired t-Test.
This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.
Concept Recap
A hypothesis test for the mean difference in a paired (matched) data design, where each subject provides two related measurements. The test analyzes the differences d_i = x_{1i} - x_{2i} as a single sample.
You want to know if a tutoring program improves math scores. Instead of comparing two separate groups, you test the SAME students before and after tutoring. Each student is their own control. By looking at the difference (after - before) for each student, you eliminate individual variation and focus purely on the change.
Read the full concept explanation โHow to Use These Examples
- Read the first worked example with the solution open so the structure is clear.
- Try the practice problems before revealing each solution.
- Use the related concepts and background knowledge badges if you feel stuck.
What to Focus On
Core idea: The paired t-test reduces the problem to a one-sample t-test on the differences. By pairing, you control for subject-to-subject variation, making it easier to detect a treatment effect.
Common stuck point: Students use a two-sample t-test when they should use a paired t-test. The giveaway: if the same subjects appear in both groups, or subjects are deliberately matched, it's paired.
Sense of Study hint: When comparing two related measurements on the same subjects, use a paired t-test. First, compute the difference d_i = x_{\text{after}} - x_{\text{before}} for each pair. Then calculate \bar{d} and s_d, and compute t = \bar{d}/(s_d/\sqrt{n}). Finally, compare t to the critical value or find the p-value with n-1 degrees of freedom.
Worked Examples
Example 1
mediumSolution
- 1 Differences d_i = \text{After} - \text{Before}: 5, 5, 5, 5, 10
- 2 \bar{d} = (5+5+5+5+10)/5 = 30/5 = 6; s_d = \sqrt{\frac{\sum(d_i-\bar{d})^2}{n-1}} = \sqrt{\frac{4+1+1+1+16}{4}} = \sqrt{4.25} \approx 2.06
- 3 t-statistic: t = \frac{\bar{d}}{s_d/\sqrt{n}} = \frac{6}{2.06/\sqrt{5}} = \frac{6}{0.921} \approx 6.51
- 4 df=4; t^*_{0.05, 4} = 2.132 (one-tailed); 6.51 > 2.132 โ Reject H_0
Answer
Example 2
hardPractice Problems
Try these problems on your own first, then open the solution to compare your method.
Example 1
easyExample 2
hardRelated Concepts
Background Knowledge
These ideas may be useful before you work through the harder examples.