The body-mass index (BMI) of the same participants was recorded before and after a training program.
| BMI before | BMI after | |
|---|---|---|
| 1 | 19.24 | 18.50 |
| 2 | 20.50 | 19.50 |
| 3 | 23.00 | 21.90 |
| 4 | 31.90 | 27.00 |
| 5 | 22.00 | 21.70 |
| 6 | 34.30 | 33.70 |
| 7 | 25.80 | 24.80 |
| 8 | 23.70 | 22.50 |
| 9 | 20.10 | 19.80 |
| 10 | 32.40 | 31.20 |
| 11 | 25.10 | 23.93 |
| 12 | 25.00 | 23.00 |
| 13 | 27.67 | 28.99 |
| 14 | 23.48 | 24.30 |
| 15 | 28.49 | 28.92 |
Test at the significance level whether the training program changed the mean BMI.
Recognise that the two columns are not independent samples. Each row is one person measured twice, so the "before" and "after" numbers are linked in pairs. A two-sample -test would treat them as unrelated observations and would be swamped by the huge between-person spread (BMI ranges from to here). Working with the differences cancels each person's baseline out and leaves only the effect of the program, which is why the paired test is far more sensitive.
Form the differences .
Twelve of the fifteen are positive (BMI went down), three are negative. The hypotheses are stated about the mean difference :
Compute the mean and standard deviation of the differences. The differences sum to , so
Use in the denominator, not : the sample mean has already been fitted to the data, so only of the deviations are free to vary.
Turn the mean difference into a statistic. The standard error of is
with . The statistic is just "how many standard errors is the observed drop away from zero".
Compare with the critical value and read off the -value. For a two-tailed test at with degrees of freedom the critical value is .
The corresponding two-tailed -value is , which is below . Reject : the mean BMI change is statistically significant.
Report a confidence interval, because a -value alone hides the size of the effect.
The interval excludes , which is the same conclusion as the test. But it also shows the drop could plausibly be as small as BMI points — statistically detectable, yet of little clinical meaning at the low end. Note too that a single group measured twice has no control group, so the change cannot be attributed to the program alone.
Need to solve a different problem like this? Open the solver →