Research methods
Statistical test selector
Answer a few questions about your study and get a suitable test, its alternative and what to check before you run it.
How to use Statistical test selector
- Say whether you want to compare groups, test a relationship or predict an outcome.
- Describe your outcome — continuous, ordinal or categorical — and how many groups you have.
- Say whether the same people were measured more than once and whether the usual assumptions look reasonable.
- Read the recommended test, its alternative, the assumptions to check and the APA reporting template.
How the recommendation is made
The selector follows the decision charts used in standard statistics textbooks. It asks about your aim, the type of outcome, the number of groups, whether observations are paired and whether the data look roughly normal. Each answer leads to one test, so you can see the path that produced the recommendation.
Every result lists a nonparametric or robust alternative and says when to prefer it, the assumptions to check, the effect size to report and an APA 7 template with placeholders for your numbers.
What it cannot decide for you
A short questionnaire cannot see your data or your research question. Designs with several factors, covariates, nested data (pupils within schools) or missing time points usually need a model such as factorial ANOVA, ANCOVA or a mixed-effects model. Ask your supervisor or a statistician when your design does not fit the questions.
Normality tests such as Shapiro–Wilk are oversensitive in large samples and miss problems in small ones. Look at plots as well.
Questions
Which statistical test should I use to compare two groups?
For a continuous outcome in two independent groups, use an independent-samples t-test, or Welch's t-test if variances differ. If the data are ordinal or clearly non-normal in small groups, use the Mann–Whitney U test. If the same people are measured twice, use a paired t-test or the Wilcoxon signed-rank test.
When should I use a nonparametric test?
When the outcome is ordinal, such as a single Likert item, or when the data are clearly non-normal and the groups are small. With about 30 or more per group, t-tests and ANOVA are fairly robust to non-normality.
Should I use a t-test or ANOVA?
Use a t-test for two groups and ANOVA for three or more. Running several t-tests instead of one ANOVA raises the chance of a false positive.
Can I use Pearson's correlation with Likert data?
For a single Likert item, use Spearman's correlation. Total scores from several items are often treated as continuous, so Pearson is common there if the relationship looks linear.
What is the difference between correlation and regression?
Correlation measures how strongly two variables move together. Regression predicts one variable from one or more others and gives the size of each predictor's effect. Choose regression when you have a clear outcome and several predictors.
Which test should I use for yes/no data?
To compare proportions between independent groups, use a chi-square test, or Fisher's exact test with small expected counts. For before-and-after yes/no answers from the same people, use McNemar's test. To predict a yes/no outcome, use logistic regression.
Related tools
- Effect size calculatorCohen's d, Hedges' g, r, η², ω², Cramér's V and odds ratios with CIs
- APA statistics formatterFormat test statistics, p values, CIs and effect sizes in APA 7 style
- Sample size calculatorCochran, Krejcie and Morgan, Yamane and power-based sample sizes, with working
- Cronbach's alpha calculatorCronbach's alpha, item–total correlations and alpha if item deleted