Free tool
Which statistical test should I use?
Answer a few quick questions about your study and this tool tells you which test to run, where to find it in SPSS and how to report it in APA style. It covers 33 tests and procedures, from t-tests and ANOVA to chi-square, regression, moderation and mediation.
How to choose a statistical test
Three questions decide most choices. What is your outcome? Scale scores (such as exam percentages) usually call for t-tests, ANOVA or regression; ordinal ratings or clearly non-normal scores call for non-parametric tests; categories call for chi-square tests. How many groups or conditions? Two means a t-test or its non-parametric partner; three or more means ANOVA or its partner. Same people or different people? Measuring the same people more than once needs a paired or repeated-measures test.
Then check the assumptions for the test you picked: normality (Explore), equal variances (Levene’s test) and, for chi-square, expected counts.
Every test at a glance
Every route through the decision tree, with the SPSS menu path for each test.
Compare groups or conditions
| Your situation | Test | In SPSS |
|---|---|---|
| Scores that are roughly normal → One group against a known value | One-sample t-test | Analyze › Compare Means › One-Sample T Test |
| Scores that are roughly normal → Two → Different people | Independent-samples t-test | Analyze › Compare Means › Independent-Samples T Test |
| Scores that are roughly normal → Two → The same people | Paired-samples t-test | Analyze › Compare Means › Paired-Samples T Test |
| Scores that are roughly normal → Three or more (one grouping variable) → Different people → Yes, the variances are similar | One-way ANOVA | Analyze › Compare Means › One-Way ANOVA |
| Scores that are roughly normal → Three or more (one grouping variable) → Different people → No, or I’m not sure | Welch’s ANOVA with Games-Howell | Analyze › Compare Means › One-Way ANOVA › Options › Welch |
| Scores that are roughly normal → Three or more (one grouping variable) → The same people | Repeated-measures ANOVA | Analyze › General Linear Model › Repeated Measures |
| Scores that are roughly normal → Two or more grouping variables, or a covariate → Two grouping variables, different people in every cell | Two-way ANOVA | Analyze › General Linear Model › Univariate |
| Scores that are roughly normal → Two or more grouping variables, or a covariate → One repeated factor and one between-groups factor | Mixed ANOVA | Analyze › General Linear Model › Repeated Measures |
| Scores that are roughly normal → Two or more grouping variables, or a covariate → Groups compared while controlling for a covariate | ANCOVA | Analyze › General Linear Model › Univariate (with a covariate) |
| Ratings, ranks or non-normal scores → Two groups, different people | Mann-Whitney U test | Analyze › Nonparametric Tests › Legacy Dialogs › 2 Independent Samples |
| Ratings, ranks or non-normal scores → Two conditions, the same people | Wilcoxon signed-rank test | Analyze › Nonparametric Tests › Legacy Dialogs › 2 Related Samples |
| Ratings, ranks or non-normal scores → Three or more groups, different people | Kruskal-Wallis H test | Analyze › Nonparametric Tests › Legacy Dialogs › K Independent Samples |
| Ratings, ranks or non-normal scores → Three or more conditions, the same people | Friedman test | Analyze › Nonparametric Tests › Legacy Dialogs › K Related Samples |
| Categories → One categorical variable against expected proportions | Chi-square goodness of fit | Analyze › Nonparametric Tests › Legacy Dialogs › Chi-square |
| Categories → Two categorical variables, different people → No | Chi-square test of independence | Analyze › Descriptive Statistics › Crosstabs › Statistics › Chi-square |
| Categories → Two categorical variables, different people → Yes, and it’s a 2 × 2 table | Fisher’s exact test | Analyze › Descriptive Statistics › Crosstabs (reported automatically for 2 × 2) |
| Categories → The same people measured twice on a yes/no outcome | McNemar’s test | Analyze › Descriptive Statistics › Crosstabs › Statistics › McNemar |
See how variables are related
| Your situation | Test | In SPSS |
|---|---|---|
| Two Scale variables, roughly normal and linear | Pearson correlation | Analyze › Correlate › Bivariate |
| Ordinal, skewed or with outliers → No | Spearman’s rho | Analyze › Correlate › Bivariate › Spearman |
| Ordinal, skewed or with outliers → Yes | Kendall’s tau-b | Analyze › Correlate › Bivariate › Kendall’s tau-b |
| Two categorical variables | Chi-square test of independence | Analyze › Descriptive Statistics › Crosstabs › Statistics › Chi-square |
| Two Scale variables, controlling for a third | Partial correlation | Analyze › Correlate › Partial |
Predict an outcome
| Your situation | Test | In SPSS |
|---|---|---|
| A Scale score → One predictor | Simple linear regression | Analyze › Regression › Linear |
| A Scale score → Several predictors, all together | Multiple regression | Analyze › Regression › Linear |
| A Scale score → In steps, e.g. control variables first | Hierarchical regression | Analyze › Regression › Linear (Next for each block) |
| Two categories | Binary logistic regression | Analyze › Regression › Binary Logistic |
Test a third variable’s role
| Your situation | Test | In SPSS |
|---|---|---|
| Does the effect depend on a third variable? | Moderation analysis (PROCESS Model 1) | Analyze › Regression › PROCESS (free add-on) |
| Does the effect happen through a third variable? | Mediation analysis (PROCESS Model 4) | Analyze › Regression › PROCESS (free add-on) |
Check a questionnaire scale
| Your situation | Test | In SPSS |
|---|---|---|
| Do the items hang together? | Cronbach’s alpha | Analyze › Scale › Reliability Analysis |
| Which items group together? | Exploratory factor analysis | Analyze › Dimension Reduction › Factor |
Describe or check my data
| Your situation | Test | In SPSS |
|---|---|---|
| Counts and percentages for categories | Frequencies | Analyze › Descriptive Statistics › Frequencies |
| Means and standard deviations | Descriptives | Analyze › Descriptive Statistics › Descriptives |
| Whether data are normal | Explore (normality checks) | Analyze › Descriptive Statistics › Explore › Plots |
| A chart | Chart Builder | Graphs › Chart Builder |
Questions people ask
How do I choose the right statistical test?
Answer three questions: what type of outcome you have (Scale scores, ordinal ratings or categories), how many groups or conditions you are comparing, and whether the same people or different people are in each group. Then check the assumptions: if Scale scores are clearly not normal, use the non-parametric alternative.
What is the difference between a t-test and an ANOVA?
A t-test compares the means of two groups or conditions. A one-way ANOVA compares three or more. Running several t-tests instead of an ANOVA inflates the chance of a false positive.
When should I use a non-parametric test?
Use one when your outcome is ordinal (such as a rating scale) or when Scale scores are clearly not normal, particularly in small samples. Mann-Whitney U, Wilcoxon, Kruskal-Wallis and Friedman replace the independent t-test, paired t-test, one-way ANOVA and repeated-measures ANOVA respectively.
Should I use chi-square or Fisher’s exact test?
Use chi-square when no more than 20% of cells have expected counts below 5. For a 2 × 2 table with small expected counts, report Fisher’s exact test, which SPSS prints automatically in Crosstabs.
What is the difference between correlation and regression?
Correlation measures how strongly two variables move together. Regression goes further: it gives an equation that predicts one variable from one or more others and shows how much variance they explain.
What is the difference between moderation and mediation?
Moderation asks whether a third variable changes the strength of an effect (when or for whom). Mediation asks whether an effect works through a third variable (how or why). Both are usually run in SPSS with the free PROCESS macro.