Clinical Knowledge › Epidemiology and biostatistics › Statistical tests
Choosing a statistical test
Choosing a statistical test is a structured decision, not a matter of habit. Four questions decide it: what type of outcome variable is being analysed (continuous, ordinal, categorical or time-to-event), how many groups are compared, whether the observations are independent or paired (matched, repeated, before-and-after), and whether the assumptions of a parametric test (approximately normal distribution of the data or residuals, similar variances) are reasonable. Continuous normal data in two independent groups use the unpaired t-test; paired data the paired t-test; three or more groups one-way ANOVA. Skewed or ordinal data use the Mann–Whitney U, Wilcoxon signed-rank or Kruskal–Wallis tests. Proportions use the chi-squared test, Fisher's exact test when expected counts are small, and McNemar's test when paired. Associations use correlation or regression; time-to-event data use the log-rank test and Cox regression. Worked example: before-and-after BP in 8 patients gives paired t = 3.32 (P = 0.013) but the wrong unpaired test gives P = 0.19.
Patient case, mechanism, investigations, management, differentials, exam pearls, flashcards and exam-style questions. Included free with every exam plan (IFOM, MCCQE, AMC, Qatar, MRCP, OET) or a Clinical Knowledge plan.Open the lesson → See plans

Key facts (preview)
- Four questions choose the test: outcome type, number of groups, independent or paired data, and whether parametric assumptions hold
- Two independent groups, continuous normal outcome: unpaired (independent samples) t-test; same patients measured twice: paired t-test
- Three or more independent groups, continuous normal outcome: one-way ANOVA, followed by pre-specified or adjusted post hoc comparisons
- Non-parametric equivalents: Mann–Whitney U (two independent), Wilcoxon signed-rank (paired), Kruskal–Wallis (≥ 3 independent), Friedman (≥ 3 related)
Guideline
SAMPL guidelines for basic statistical reporting (2015), CONSORT 2025 statement and ICH E9(R1) statistical principles with estimands addendum (2019)
References
- Lang TA, Altman DG. Basic statistical reporting for articles published in biomedical journals: the 'Statistical Analyses and Methods in the Published Literature' or the SAMPL guidelines. Int J Nurs Stud 2015.
- Hopewell S, Chan AW, Collins GS, et al.. CONSORT 2025 statement: updated guideline for reporting randomised trials. BMJ 2025.
- International Council for Harmonisation (ICH). E9 Statistical principles for clinical trials (1998) and E9(R1) addendum on estimands and sensitivity analysis in clinical trials (2019). ICH Harmonised Guideline 2019.
- Altman DG, Bland JM. Parametric v non-parametric methods for data analysis. BMJ 2009.
- Campbell I. Chi-squared and Fisher-Irwin tests of two-by-two tables with small sample recommendations. Stat Med 2007.
- Fagerland MW. t-tests, non-parametric tests, and large studies - a paradox of statistical practice?. BMC Med Res Methodol 2012.
Related topics
By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.