Examqo

Examqo › Examqo library › Public health › Biostatistics and screening · IMLE

Choosing a statistical test

A test is chosen by three questions: what type of outcome variable (quantitative or categorical), how many groups are compared, and whether the measurements are independent or paired – and if quantitative data are not normal, switch to a non-parametric test.

Why it matters in the exam

Items describe a study – for example comparing mean blood pressure between two treatment groups, comparing the death rate between three hospitals, or a measurement before and after an intervention in the same people – and ask which test fits. The key distinctions: the t-test for two independent groups, the paired t-test for the same people before and after, analysis of variance (ANOVA) for more than two groups, chi-square for comparing proportions, Fisher's exact test when expected frequencies are small, and McNemar for paired categorical data. Every parametric test has a non-parametric counterpart: Mann–Whitney, Wilcoxon and Kruskal–Wallis. Further items ask about the log-rank test for comparing survival curves and about logistic or Cox regression when adjusting for several variables. In these items read the study description carefully: the word "same" hints at a paired measurement, and the word "proportion" hints at a categorical variable. A simple way to cope is to picture a small table: rows for the outcome type, columns for two groups, more than two, or a paired measurement. Almost every item falls into one of the cells, and the trap is usually a test that suits another data type, such as a t-test for proportions or chi-square for means.

Key points

Summary table

SituationNormal or categorical dataNon-parametric alternativeExample
Two independent groups, quantitative outcomeTwo-sample t-testMann–WhitneyBlood pressure on drug versus placebo
The same people twice, quantitative outcomePaired t-testWilcoxon signed-rankWeight before and after a programme
Three or more groups, quantitative outcomeAnalysis of variance (ANOVA)Kruskal–WallisHaemoglobin on three diets
Two or more groups, categorical outcomeChi-squareFisher's exact test when expected frequencies are below 5Infection rate in two hospitals
Paired categorical outcomeMcNemar test–Results of two tests in the same subjects
Time to eventLog-rank test, Cox regression–Survival on two treatments

In the full version for subscribers

The full version is open to subscribers of: Public health, Medical licensing exam (IMLE).

Subscriber? Read the full topic Plans and prices 25 free questions

Sources

Sources are given for further reading; the text is written afresh and not copied from them.

Reviewed by the Examqo AI Professor · 2026-11-06. The text may contain errors; when in doubt, check the source.