Paired vs unpaired t-test: what's the difference and when to use each
The choice depends on one question: is each value in one group linked to a specific value in the other?
Unpaired (independent) t-test
Use an unpaired t-test when the two groups contain different, unrelated subjects. For example, tumour weight in eight vehicle-treated mice compared with eight different mice given a drug.
Paired t-test
Use a paired t-test when each measurement in one group has a partner in the other:
- the same cells or animals measured before and after treatment
- left and right sides of the same subject
- samples split and processed under two conditions
The test works on the differences within each pair, which removes variation between subjects. When that variation is large, a paired design can detect an effect that an unpaired analysis of the same data would miss.
Welch's or Student's?
For unpaired data there are two versions. Student's t-test assumes both groups have similar variances. Welch's t-test does not, and it performs well even when variances are equal, which is why many statisticians recommend it as a sensible default.
The mistake to avoid: pseudoreplication
Technical replicates, such as three wells from the same culture or several fields from one section, are not independent samples. Treating them as separate data points inflates n and makes p-values look far more convincing than they are. Average technical replicates first, then analyse one value per biological replicate.
Quick check
- Could you draw a line connecting each value in group A to one value in group B? Use a paired test.
- Are the groups made of entirely different subjects? Use an unpaired test.