Choosing a statistical test
First identify the outcome type and whether observations are independent or paired. Then count the groups.
A chi-square test of independence compares counts across categories when observations are independent and expected cell counts are adequate. An independent-samples t test compares a continuous mean between two separate groups. A paired t test uses within-person differences when the same people are measured twice. One-way ANOVA compares a continuous outcome across three or more independent groups, assuming an appropriate distribution and variance pattern. A significant overall ANOVA says that not all group means are equal, but does not by itself identify which pair differs.
Books and videos
Practice questions
Books and videosGive feedback on this question
Checking availability…
On the map
Choosing a statistical test is linked to 3 other concepts. See the whole map
- 1Case control, cohort and other study designsStudy structure and the type of outcome guide the choice of statistical test.
- 15Mean, median and modeBefore choosing a test, decide whether the data are continuous or categorical and how they are distributed.
- 77Errors, power and confidence intervalsA test result must be interpreted alongside uncertainty, false positives and false negatives.