Statistical test finder

What does your research question do?

Which statistical test should I use?

Choose the right statistical test from your research question, outcome type, number of groups and assumptions, with a decision table of common tests.

By the Twin Statistics teamUpdated 2026-11-157 min read

Use the test finder above to get a quick suggestion, then read on to check that it fits your study. The right test depends on four things: your research question, the type of outcome variable, the number and structure of your groups, and whether your data meet parametric assumptions. Answer those four questions in order and most dissertation designs map to one standard test.

Step 1: What type of research question do you have?

Start with what you want to find out, not with the software. Most quantitative research questions fall into three families.

  • Comparing groups: "Do students in the flipped classroom score higher than those in lectures?" You compare an outcome across groups or time points. Typical tests are t-tests, ANOVA and their nonparametric versions.
  • Testing relationships: "Is study time related to exam score?" You measure association between two variables. Typical tests are Pearson and Spearman correlations, or chi-square for two categorical variables.
  • Predicting an outcome: "Do study time and motivation predict exam score?" You estimate how several predictors relate to one outcome. Typical tests are linear and logistic regression.

Relationship and prediction questions overlap. Use correlation for a single pair of variables and regression when you have several predictors or need to control for other variables.

Step 2: What type of outcome variable do you have?

Your outcome (dependent variable) is the thing you measure and compare or predict. Its level of measurement narrows the options quickly.

  • Continuous: interval or ratio data with many possible values, such as test scores, blood pressure or income. These suit parametric tests if assumptions hold.
  • Ordinal: ordered categories, such as a single 5-point Likert item or a ranking. These usually call for rank-based nonparametric tests.
  • Categorical (nominal): unordered groups, such as yes/no, pass/fail or program type. These call for chi-square or logistic regression.

Scale scores made by summing or averaging several Likert items are usually treated as continuous. A single Likert item is safer to treat as ordinal. Check what your field and supervisor expect.

Step 3: How many groups, and are they independent or paired?

For group comparisons, count the groups and check how they relate.

  • Independent groups: different people in each group, such as a treatment group and a control group.
  • Paired (related) groups: the same people measured more than once, such as before and after an intervention, or matched pairs.

Two groups lead to t-tests or their nonparametric versions. Three or more groups lead to ANOVA or its nonparametric versions. Using an independent test on paired data, or the reverse, is one of the most common errors in dissertation analyses.

Step 4: Do your data meet parametric assumptions?

Parametric tests (t-tests, ANOVA, Pearson, linear regression) assume the following.

  • Normality: the outcome, or the residuals, is roughly normal within each group. Check histograms, Q-Q plots and the Shapiro–Wilk test.
  • Homogeneity of variance: groups have similar variances. Levene's test checks this.
  • Independence: observations do not influence each other.
  • Linearity: for correlation and regression, the relationship is roughly linear.

With moderate or large samples, t-tests and ANOVA are fairly robust to mild non-normality. Shapiro–Wilk also flags trivial departures in large samples, so look at the plots too. If assumptions clearly fail, or your outcome is ordinal, use the nonparametric alternative. For unequal variances in a t-test, Welch's version is a common fix.

Decision table: which test fits your situation

Research questionOutcome typeGroups or predictorsParametric testNonparametric alternative
Compare 2 independent groupsContinuous2 independent groupsIndependent-samples t-testMann–Whitney U
Compare 2 related measurementsContinuousSame people, 2 time pointsPaired-samples t-testWilcoxon signed-rank
Compare 3+ independent groupsContinuous3+ independent groupsOne-way ANOVAKruskal–Wallis
Compare 3+ related measurementsContinuousSame people, 3+ time pointsRepeated-measures ANOVAFriedman test
Compare groups on an ordinal outcomeOrdinal2 independent / 2 paired / 3+ independent / 3+ paired—Mann–Whitney U / Wilcoxon / Kruskal–Wallis / Friedman
Relationship between 2 variablesBoth continuous2 variablesPearson correlationSpearman correlation
Relationship between 2 variablesOrdinal, or non-normal2 variables—Spearman correlation
Relationship between 2 categorical variablesCategorical2 variables, independent observationsChi-square test of independenceFisher's exact test (small expected counts)
Predict a continuous outcomeContinuous1+ predictorsLinear regression—
Predict a binary outcomeCategorical (2 levels)1+ predictorsLogistic regression—

The chi-square test is itself nonparametric. Cochran's guideline is that no more than 20% of expected counts should fall below 5. If your table breaks that rule, use Fisher's exact test.

How to read your choice

Once you have a test, confirm that it matches your hypothesis exactly. A hypothesis like "Group A will score higher than Group B" points to a group comparison. A hypothesis like "X will predict Y after controlling for Z" points to regression.

Also check that the test gives you the numbers your committee will expect. Each test has a standard effect size: Cohen's d for t-tests, η² for ANOVA, φ or Cramér's V for chi-square, r for correlations and R² for regression. Our effect size guide explains each one.

Worked example

Example (invented study): a nursing student wants to know whether a new hand-hygiene training changes compliance scores. She measures 40 nurses before and after the training, on a 0–100 compliance score.

  1. Research question: comparing groups (two time points).
  2. Outcome: continuous (a 0–100 score).
  3. Groups: two measurements on the same nurses, so paired.
  4. Assumptions: the differences between before and after scores look roughly normal in a Q-Q plot.

The test is a paired-samples t-test. If the difference scores were strongly skewed with outliers, the Wilcoxon signed-rank test would be the safer choice.

Now suppose she also wants to know whether ward type (surgical, medical, pediatric) affects compliance after training. That is three independent groups on a continuous outcome, so a one-way ANOVA, or Kruskal–Wallis if assumptions fail.

Running and reporting the test

Each test has its own steps and output. These guides walk through the most common ones in SPSS:

In your methods chapter, name the test and justify it in one or two sentences. For example: "A paired-samples t-test was used because the same participants were measured before and after the training, and the outcome was continuous." For the results chapter format, see our APA results section guide.

Common mistakes

  • Choosing a test because it is familiar. Start from the research question and data, not from the test you already know.
  • Running many t-tests instead of ANOVA. Multiple t-tests across three or more groups inflate the Type I error rate.
  • Ignoring pairing. Before-and-after data need a paired test.
  • Running chi-square on percentages. Chi-square needs raw counts.
  • Switching to nonparametric tests at the first sign of non-normality. Look at sample size, plots and the size of the departure first.
  • Using correlation to claim cause. Correlation and regression on observational data show association, not causation.

FAQ

What if my study fits more than one test?

That usually means your research question could be phrased in more than one way. Decide which comparison or relationship your hypothesis states and choose the test that matches it. If you have covariates, a model like ANCOVA or regression may combine both aims.

Can I use a parametric test with Likert data?

For scale scores built from several items, most researchers use parametric tests. For a single Likert item, nonparametric tests are the more cautious choice. State and justify your decision in the methods chapter.

How do I know if my sample is large enough?

Run a power analysis before you collect data. It uses your chosen test, expected effect size, alpha and desired power to give a minimum sample size. Our G*Power sample size guide shows how.

What if none of these tests fit my design?

Some designs need more advanced models, such as mixed or multilevel models for nested data, or structural equation modeling for latent variables. Those go beyond a simple decision table. A methods check is a good way to confirm the right approach.

Should I test assumptions before or after choosing a test?

Choose a provisional test from your question, outcome type and groups first. Then check its assumptions with your data. If they fail clearly, switch to the alternative listed in the table.

Check your choice with a statistician

A decision table covers standard designs, but real dissertation data often have quirks. Send your research questions and a short description of your variables for a free methods check. We will tell you which analyses fit and reply within 24 hours.

If you then want the analyses run, checked and explained so you can defend them, our dissertation statistics help covers your full results chapter.

Need help with this analysis?

A statistician can run, check and explain it with you. Fixed quote before we start.