Parametric vs non-parametric tests: how to choose, with examples
Parametric tests are more powerful when their assumptions hold. Non-parametric tests are safer when they don't.
What "parametric" means
Parametric tests, such as the t-test and ANOVA, assume your data follow a particular distribution, usually a normal one, and compare means. Non-parametric tests make fewer assumptions. Most work on the ranks of the values rather than the values themselves, which makes them robust to skew and outliers.
Common tests and their non-parametric equivalents
| Design | Parametric | Non-parametric |
|---|---|---|
| Two independent groups | Unpaired t-test | Mann-Whitney U test |
| Two paired measurements | Paired t-test | Wilcoxon signed-rank test |
| Three or more independent groups | One-way ANOVA | Kruskal-Wallis test |
| Repeated measurements | Repeated-measures ANOVA | Friedman test |
| Association between two variables | Pearson correlation | Spearman correlation |
Checking normality, and its pitfalls
The Shapiro-Wilk test is a common formal check. It has two blind spots worth knowing:
- Very small samples: with three or four values per group, it has almost no power, so "passed" doesn't mean the data are normal.
- Very large samples: it flags trivial departures from normality that wouldn't affect a t-test at all.
Always look at the data too. A dot plot or histogram often tells you more than a single p-value.
The trade-off
When data really are normal, parametric tests detect real effects with fewer samples. Non-parametric tests give up some of that power in exchange for robustness. They also have limits with tiny samples: with three values per group, the smallest possible two-sided p-value from a Mann-Whitney test is 0.1, however different the groups are.
Other options for skewed data
For right-skewed measurements such as concentrations or tumour volumes, a log transformation often makes the data close to normal, letting you use a parametric test on the transformed values. Report clearly that you did so.