Statistics
Which statistical test should I use? A plain-language guide
By the NOSCERA team · Published · 8 min read
Choosing a test is less about memorising names and more about describing your data accurately. Answer three questions and the choice usually narrows to one or two sensible options.
Question 1: what kind of outcome do you have?
- Categories with no order: yes/no, faculty, payment method.
- Ordered categories: a single Likert item, a satisfaction rating, a grade band.
- Numbers: income, hours, test scores, a multi-item scale score.
Question 2: what are you comparing or relating?
Are you comparing two groups, three or more groups, the same people at two times, or looking at how two measures move together? Or do you want to predict one outcome from several factors at once?
Question 3: are the observations independent?
Most standard tests assume each observation is independent of the others. That breaks when the same person is measured more than once (before and after), when people are grouped (pupils within classes, branches within one company), or when data are ordered in time (monthly sales). Paired tests, multilevel models and time-series methods exist for these situations; using an independent-groups test instead usually makes results look more certain than they are.
Quick reference
| Situation | Usual first choice | Alternative |
|---|---|---|
| Two category variables | Chi-square test of independence | Fisher's exact test when expected counts are small |
| Numeric outcome, two independent groups | Welch's t-test | Mann–Whitney U for skewed data or ordered categories |
| Numeric outcome, same people measured twice | Paired t-test | Wilcoxon signed-rank test |
| Numeric outcome, three or more groups | One-way ANOVA (Welch's version if spreads differ) | Kruskal–Wallis test |
| Two numeric measures | Pearson correlation (straight-line relationship) | Spearman correlation (ranked or curved but consistent) |
| Numeric outcome, several predictors | Linear regression | Robust or transformed models when assumptions fail |
| Yes/no outcome, several predictors | Logistic regression | — |
Welch's t-test is a good default for two groups because it does not assume the groups have equal variances, and it performs well when they do.
Check the assumptions you can check
- Look at the data first: histograms or box plots by group show skew, outliers and very unequal spreads.
- Chi-square needs reasonably large expected counts in each cell; a common guide is at least 5 in most cells.
- Regression needs a roughly straight-line relationship and residuals without strong patterns.
- Small samples make every assumption harder to check — say so in your limitations.
Report more than a p-value
A p-value tells you how surprising the data would be if there were no real difference; it does not tell you how big or important a difference is. Report the effect size (for example, the difference in means with a 95% confidence interval, or a correlation coefficient) alongside the test result.
If you run many tests, some will cross p < 0.05 by chance. Decide your main comparisons in advance, and consider an adjustment such as Bonferroni or Holm when you test many at once.
A worked choice
Do postgraduates and undergraduates rate the library differently?
- Outcome: a four-item satisfaction scale score (numeric).
- Comparing: two independent groups.
- Independence: each student answered once — independent.
- Choice: Welch's t-test, reporting the difference in mean scores and its 95% confidence interval; check with Mann–Whitney U if the scores are very skewed.
