Which statistical test should I use?

Updated March 2026

Choosing the right statistical test is one of the most common challenges in research. The decision depends on your research question, your variable types, and how many groups you're comparing.

Use the interactive flowchart below to find the right test, or read the full guide to understand the reasoning behind each recommendation.

Interactive test selector

Answer each question to narrow down to the right test. The flowchart covers the most common research scenarios.

What is your research goal?

What are you trying to find out?

The key questions

Every statistical test decision comes down to a few fundamental questions about your data and research design:

1. What is your research goal?

Comparing groups (Is there a difference between treatment and control?) requires t-tests or ANOVA. Examining relationships (Does X predict Y?) requires correlation or regression. Testing categorical associations (Are smokers more likely to develop disease X?) requires chi-square. Time-to-event (How long until relapse?) requires survival analysis.

2. What types are your variables?

Continuous variables (weight, blood pressure, reaction time) allow parametric tests. Ordinal variables (pain scale 1-10, Likert ratings) generally require non-parametric tests. Categorical variables (treatment/control, male/female) require chi-square or logistic regression.

3. How many groups are you comparing?

Two groups: t-test or Mann-Whitney. Three or more groups: ANOVA or Kruskal-Wallis. Never run multiple t-tests to compare 3+ groups — this inflates your Type I error rate.

4. Are observations independent or paired?

Independent: Different participants in each group. Paired: Same participants measured at two time points, or matched pairs. Using the wrong test here is one of the most common statistical errors in published research.

5. Are the parametric assumptions met?

Parametric tests (t-test, ANOVA, Pearson correlation) assume normality and, in some cases, equal variances. When these assumptions are violated, non-parametric alternatives are more appropriate. See our normality assumptions guide for how to check.

Not sure where to start? The most common mistake is overthinking the decision. If you can answer the five questions above, the flowchart gives you a defensible answer. The key is checking assumptions after choosing the test family — not before.

Common scenarios

Scenario Recommended test
Treatment vs. control, continuous outcome Unpaired t-test (or Mann-Whitney U)
Before/after measurement on same subjects Paired t-test (or Wilcoxon signed-rank)
Three drug doses, continuous outcome One-way ANOVA (or Kruskal-Wallis)
Drug × sex on blood pressure Two-way factorial ANOVA
Does age predict recovery time? Linear regression
Does treatment predict survival/death? Logistic regression
Is smoking associated with disease X? Chi-square test
Time to relapse across three treatments Kaplan-Meier + log-rank test

Once you know which test you need, use our free sample size calculator to determine how many participants your study requires.

Join the beta to try this in GraphHelix — describe your research question, and the AI will recommend the right test and check assumptions automatically.

Join the beta