Skip to main content

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

Common tests by situation
SituationUsual first choiceAlternative
Two category variablesChi-square test of independenceFisher's exact test when expected counts are small
Numeric outcome, two independent groupsWelch's t-testMann–Whitney U for skewed data or ordered categories
Numeric outcome, same people measured twicePaired t-testWilcoxon signed-rank test
Numeric outcome, three or more groupsOne-way ANOVA (Welch's version if spreads differ)Kruskal–Wallis test
Two numeric measuresPearson correlation (straight-line relationship)Spearman correlation (ranked or curved but consistent)
Numeric outcome, several predictorsLinear regressionRobust or transformed models when assumptions fail
Yes/no outcome, several predictorsLogistic 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.

Analyse your own data in NOSCERA Lab

Lab is included in the Free plan. Upload your responses, run the summaries and tests in this guide, and keep every finding linked to the rows it came from.