Which statistical test should I use?

By Dr. Rafiq Muhammad, MD, PhD · Updated June 2026

The right test falls out of four facts about your study: the type of outcome you measured, how many groups you’re comparing, whether those groups are independent or paired, and whether your data meet the test’s assumptions. Answer those four and the test is decided.

Skip to the answer: the free Statistical Test Selector asks these questions and names your test (with the assumptions to check) in about 30 seconds.

The four questions

  1. What kind of outcome? Continuous (e.g. blood pressure, score), ordinal (ranked categories), or categorical/nominal (e.g. yes/no, group membership).
  2. How many groups or conditions? One, two, or three-plus.
  3. Independent or paired? Different people in each group (independent) vs the same people measured more than once (paired/repeated).
  4. Are assumptions met? Many tests assume roughly normal data (and equal variances). If not, you use a non-parametric alternative.

Decision table (the common cases)

GoalIf assumptions metIf not (non-parametric)
Compare 2 independent groups, continuous outcomeIndependent-samples t-testMann–Whitney U
Compare 2 paired measurements, continuousPaired t-testWilcoxon signed-rank
Compare 3+ independent groups, continuousOne-way ANOVAKruskal–Wallis
Compare 3+ repeated conditions, continuousRepeated-measures ANOVAFriedman
Relationship between 2 continuous variablesPearson correlationSpearman correlation
Association between 2 categorical variablesChi-square testFisher’s exact (small samples)
Predict a continuous outcome from predictorsLinear regression
Predict a binary outcome from predictorsLogistic regression

Three traps to avoid

Once you have your test, two follow-ups complete the picture: do you have enough participants to detect the effect, and how large is that effect?

Get the free Statistics toolkit

A full test-selection flowchart, assumption checklists, and worked examples from the Statistical Test Selection Workbook. We’ll email you the download link.

One email with your download, then occasional research tips. One-click unsubscribe, anytime. We never sell your data.

Get the Statistical Test Selection Workbook

Frequently asked questions

How do I choose a statistical test?

Answer four questions — outcome type, number of groups, independent vs paired, and whether assumptions are met — and the test is decided. The selector tool does this for you.

Which test for two groups, continuous outcome?

Independent t-test (or paired t-test if same people); Mann–Whitney U / Wilcoxon if not normal.

Which test for 3+ groups?

One-way ANOVA (Kruskal–Wallis if assumptions fail); repeated-measures ANOVA / Friedman for the same participants across conditions.

Which test for relationships?

Pearson (or Spearman) correlation for two continuous variables; regression to predict an outcome from predictors.

← Statistics guide Open the Test Selector →