The paired difference test, commonly known as the paired t‑test, is a statistical procedure used to determine whether the mean difference between two related sets of observations is statistically significantly different from zero. The test is appropriate when the data consist of paired observations—for example, measurements taken on the same subjects before and after a treatment, or matched subjects in a case‑control study.
Definition and Purpose
The test evaluates the null hypothesis
$$ H_{0}:\ \mu_{d}=0 $$
where $\mu_{d}$ is the population mean of the differences $d_i = X_{i1} - X_{i2}$ between each pair of observations. Rejection of $H_{0}$ indicates that the average change (or difference) between the paired conditions is unlikely to be due to random variation alone.
Assumptions
- Independence of pairs – Each pair of observations is independent of all other pairs.
- Normality of differences – The distribution of the differences $d_i$ is approximately normal. This assumption can be relaxed for large sample sizes via the central limit theorem.
- Scale of measurement – The data are measured on at least an interval scale.
Test Statistic
Given $n$ pairs, let
$$ \bar{d} = \frac{1}{n}\sum_{i=1}^{n} d_i, \qquad s_d = \sqrt{\frac{1}{n-1}\sum_{i=1}^{n}(d_i - \bar{d})^2} $$
The test statistic is
$$ t = \frac{\bar{d}}{s_d / \sqrt{n}} $$
which follows a Student’s t distribution with $n-1$ degrees of freedom under $H_{0}$.
Procedure
- Compute the differences $d_i$ for each paired observation.
- Calculate the mean $\bar{d}$ and standard deviation $s_d$ of the differences.
- Form the t statistic as above.
- Compare the calculated t value to the critical value from the t distribution (or compute a p‑value).
- Conclude whether to reject or fail to reject $H_{0}$ at the chosen significance level $\alpha$.
Variants and Related Tests
- Wilcoxon signed‑rank test – A non‑parametric alternative that does not require normality of differences.
- Paired proportion test – For binary outcomes, McNemar’s test examines changes in paired dichotomous data.
- Repeated‑measures ANOVA – Extends the paired comparison to more than two related measurements.
Applications
- Clinical trials comparing pre‑ and post‑treatment measurements (e.g., blood pressure).
- Educational research assessing the effect of an intervention on the same group of students.
- Manufacturing quality control where measurements are taken on the same items under two conditions.
Limitations
- Sensitive to violations of the normality assumption for small samples.
- Only tests the mean difference; does not provide information about the shape or variability of the distribution beyond what is captured by $s_d$.
- Requires that each observation in one condition be uniquely matched to an observation in the other condition.
References
- Student (1908). “The probable error of a mean”. Biometrika 6 (1): 1–25.
- Huber, P. J. (2011). Robust Statistics. Springer.
See also
- Independent‑samples t‑test
- One‑sample t‑test
- Non‑parametric tests
- Confidence interval for the mean difference