Framework

Choosing a statistical test

The question it answers

When analysing survey or trial data, which statistical test should an analyst choose to fit the question being asked and the type of data at hand?

Origin
Kim, Kim and Kwak, 2024
Diagram type
Comparison table
Level of analysis
Individual
Magnifying lens over a line chart tile, icon for data and analytics

Diagram

Choosing a statistical test

CriterionQuestionVariable typeUsual test
Two independent groupsDo the means differ?Quantitative outcome, categorical groupIndependent t-test (or non-parametric if not normal)
Before and afterDid the same units change after an intervention?Two paired measurementsPaired t-test
Three or more groupsDoes any group differ?Quantitative outcome, categorical groupANOVA (or Kruskal–Wallis)
Two categorical variablesAre they associated?Two nominal variablesChi-square
Two quantitative variablesHow do they move together?Two numeric variablesPearson correlation, simple regression
Yes/no outcomeWhich factors predict it?Binary outcomeLogistic regression

Pitfalls

Pitfall

Using a parametric test when assumptions fail; ignoring the measurement scale.

Sources

References

Listed A–Z by author surname, Harvard style. A source with a DOI links to https://doi.org/…; one without links to its page or says plainly that it has no DOI.

  1. Kim, J., Kim, D.H. and Kwak, S.G. (2024) ‘Comprehensive guidelines for appropriate statistical analysis methods in research’, Korean Journal of Anesthesiology, 77(5), pp. 503–517.doi:10.4097/kja.24016Source page