You have a clean dataset, a clear research question, and a genuine fear sitting underneath both: what if you run the wrong test and don't find out until your committee does? Choosing the correct statistical test is less about memorizing a long list of test names and more about learning to ask the same handful of questions about your data, in the same order, every single time. This guide builds that decision process explicitly, as a reasoning framework you can apply to any dataset, independent of whichever specific software you eventually use to run the test.

The four questions that determine almost every test choice

Before naming a single test, answer these four questions about your specific research question and data. In most cases, the answers alone will point you to the correct test family. What type of data is your outcome variable, continuous, ordinal, or categorical? How many groups or variables are you comparing or relating, two groups, three or more groups, or a relationship between two or more continuous variables? Are your groups independent, meaning different, unrelated participants in each group, or related, meaning the same participants measured more than once, or naturally matched pairs? And does your data meet the assumptions required for a parametric test, primarily normal distribution and, for group comparisons, roughly equal variance across groups?

Walking through these four questions in order, rather than jumping straight to a familiar test name, is the single habit most likely to prevent test selection errors.

Parametric vs. nonparametric tests: what thesis writers need to understand

This distinction sits underneath nearly every test selection decision, so it's worth understanding clearly before moving into specific test types. Parametric tests assume your data follows a specific distribution, typically normal, and generally require continuous data. They tend to have greater statistical power when their assumptions are genuinely met, meaning they are more likely to detect a real effect if one exists. Nonparametric tests make fewer assumptions about your data's distribution and are appropriate for ordinal data, or for continuous data that seriously violates normality assumptions, especially in smaller samples where violations are harder to correct through other means. They generally trade some statistical power for this flexibility.

The practical decision rule: default to the parametric test that matches your design, then switch to its nonparametric counterpart if your assumption checks reveal a serious violation your sample size or design can't otherwise accommodate.

A decision tree for comparing two groups

If your outcome variable is continuous and the two groups are independent, different, unrelated participants, use an independent samples t-test, or a Mann-Whitney U test if the nonparametric alternative is needed. If your outcome variable is continuous and you are comparing the same participants at two time points or under two conditions, use a paired samples t-test, or a Wilcoxon signed-rank test as the nonparametric alternative. If your outcome variable is categorical, comparing two independent groups, use a chi-square test of independence, or Fisher's exact test if your expected cell counts are small.

A decision tree for comparing three or more groups

If your outcome variable is continuous and the groups are independent, use a one-way ANOVA, or a Kruskal-Wallis test as the nonparametric alternative. If your outcome variable is continuous and you are measuring the same participants across three or more time points or conditions, use a repeated measures ANOVA, or a Friedman test as the nonparametric alternative. If you are comparing groups across two independent categorical factors simultaneously, for example treatment group and gender, examining both main effects and their interaction, use a two-way, or factorial, ANOVA. If your outcome variable is categorical, comparing three or more independent groups, use a chi-square test of independence.

Examining relationships between variables

If both variables are continuous and your data meets normality assumptions, use a Pearson correlation. If both variables are continuous or ordinal but normality assumptions are violated, or your data is ordinal by nature, use Spearman's rank correlation. If you are predicting a continuous outcome from one or more predictor variables, use simple or multiple linear regression. If you are predicting a categorical, often binary, outcome from one or more predictor variables, use logistic regression. If you are testing relationships among multiple latent constructs simultaneously, often with mediating or moderating variables, use structural equation modeling, either covariance-based or partial least squares, depending on your sample size, data characteristics, and research goals.

Special designs worth knowing

If you are comparing an outcome measured before and after an intervention, with a separate control group also measured at both points, use a mixed-design, or split-plot, ANOVA, or ANCOVA if you are statistically controlling for baseline scores. If you are examining agreement between two raters or two measurement methods, use Cohen's Kappa for categorical agreement, or the intraclass correlation coefficient for continuous agreement.

"Choosing the right test family from the decision tree is the first step. Confirming your data actually meets that test's specific assumptions is the second, equally necessary step."

Checking assumptions before finalizing your choice

Check normality using the Shapiro-Wilk test for smaller samples, or by visually inspecting a histogram or Q-Q plot for larger samples, where formal normality tests become overly sensitive to trivial deviations. Mild violations are often tolerable, particularly with larger sample sizes, due to the central limit theorem, more serious violations warrant switching to a nonparametric alternative. For most group-comparison tests, check whether variance is roughly equal across your groups, commonly using Levene's test. Most statistical software reports this automatically alongside your main t-test or ANOVA results, and a significant violation may require a corrected version of the test, such as Welch's t-test, rather than a full switch to a nonparametric alternative.

Independence of observations is generally addressed through your study design itself, ensuring each participant contributes independently, unless your design specifically calls for a related-samples or repeated-measures test, rather than through a statistical check run after data collection. For correlation and regression, check linearity using a scatterplot before running a Pearson correlation or linear regression, since these tests specifically assume a linear relationship, and a genuinely curvilinear relationship will be poorly represented, or entirely missed, by a linear test.

More complex designs

If your study measures several related outcome variables simultaneously and you want to test whether groups differ across the combination of outcomes as a set, MANOVA extends the logic of ANOVA to multiple dependent variables at once, though it carries its own additional assumptions worth checking specifically. If you want to compare groups on an outcome while statistically controlling for another continuous variable that might influence that outcome, a pre-test score, age, or another relevant covariate, ANCOVA adjusts group comparisons for that covariate's effect. If your data has a meaningful nested structure, students nested within classrooms, patients nested within hospitals, standard tests that assume fully independent observations may not be appropriate, and multilevel, or hierarchical linear, modeling is generally the correct approach, accounting explicitly for the shared variance within each higher-level unit.

Common test selection mistakes worth checking for

Likert-scale items are frequently treated as continuous data in practice, but this remains a genuinely debated convention in some fields. If you make this choice, be prepared to justify it and acknowledge the debate explicitly rather than treating it as an uncontroversial default. Comparing three or more groups using several separate t-tests, rather than a single ANOVA followed by appropriate post-hoc tests, inflates your overall risk of a false positive finding across the multiple comparisons, a problem ANOVA and proper correction methods are specifically designed to address. Applying an independent-samples test to related, repeated-measures or paired, data, or vice versa, produces a fundamentally incorrect analysis regardless of how correctly every other step was executed, since this distinction changes the underlying statistical model entirely. And nonparametric tests are the right choice when parametric assumptions are genuinely, seriously violated, not a default safer option to reach for out of general anxiety about assumption checking, defaulting to nonparametric tests without actually checking assumptions sacrifices statistical power unnecessarily when a parametric test would have been entirely appropriate.

A quick reference summary

For two independent groups, use an independent samples t-test, or Mann-Whitney U as the nonparametric alternative. For two related groups, use a paired samples t-test, or Wilcoxon signed-rank. For three or more independent groups, use a one-way ANOVA, or Kruskal-Wallis. For three or more related groups, use a repeated measures ANOVA, or the Friedman test. For a relationship between two continuous variables, use Pearson correlation, or Spearman correlation. And for categorical association, use a chi-square test, or Fisher's exact test for small samples.

Confidence comes from a consistent process, not memorization

You do not need to memorize every test name and its exact conditions to choose correctly. You need a consistent process: identify your data types, count your groups or variables, determine independence, check your assumptions, and let those answers point you to the appropriate test family. Applied consistently, this process removes most of the guesswork, and most of the anxiety, from a step that feels far more intimidating in the abstract than it actually is once broken into its component questions.

Eliminate statistical guesswork from your analysis

Choosing the correct test, checking its assumptions properly, and running it correctly in your specific software are three separate skills, and a mistake in any one of them can undermine an otherwise sound study. Get expert quantitative consulting, SPSS analysis support, and test selection guidance for your thesis.

See research & data analysis services →