A global academic service: we work with students from any university in the world
Request a project

Which statistical test to use

Which Statistical Test to Use: A Guide Based on Your Data

Statistics2 min readBy the AcademicPro team

Choosing a test is not about memory. It comes down to three questions: what you want to know, what type of variables you have and how many groups you are comparing.

Blackboard with formulas written in chalk

Three questions to decide

  1. What are you looking for? To compare groups or to measure the relationship between variables.
  2. What type of variables do you have? Numeric (weight, score) or categorical (sex, yes/no).
  3. Are the groups independent or related? Related means the same people measured twice.

The decision table

SituationParametric testNon-parametric alternative
Two independent groups, numeric variableStudent’s t testMann-Whitney U
Two measurements in the same groupPaired t testWilcoxon
Three or more independent groupsOne-way ANOVAKruskal-Wallis
Three or more measurements in the same groupRepeated-measures ANOVAFriedman
Relationship between two numeric variablesPearson correlationSpearman correlation
Two categorical variablesChi-square (or Fisher’s exact with low frequencies)
Predicting a numeric variableLinear regression
Predicting a two-category variableLogistic regression

Check the assumptions

Parametric tests assume, among other things, independent observations, roughly normal residuals and similar variances across groups. Field (2018) advises checking plots as well as formal tests, because with large samples those tests can flag unimportant differences.

Tip: choose your analysis before collecting data and write it into your methods. Trying several techniques until something comes out significant weakens your conclusions.

Report the effect size

Lakens (2013) explains why the p value is not enough and how to calculate measures such as Cohen’s d for comparing means or eta squared for ANOVA. These tell you how big the difference is and make it easier to compare your results with other studies.

After ANOVA

If the ANOVA is significant, you know at least one group differs, but not which. Post hoc comparisons such as Tukey’s answer that and control the risk of false positives across several comparisons.

Still unsure?

Our statistical analysis service processes your data in SPSS, R or Excel and gives you tables, charts and interpretation. Before collecting data, calculate your sample with the free calculator.

References

Field, A. (2018). Discovering statistics using IBM SPSS Statistics (5th ed.). SAGE.
Lakens, D. (2013). Calculating and reporting effect sizes to facilitate cumulative science: A practical primer for t-tests and ANOVAs. Frontiers in Psychology, 4, 863. https://doi.org/10.3389/fpsyg.2013.00863

Keep reading

See the whole blog

Types of sampling

Probability or convenience: what each one means and what you can conclude from your sample.

Meta-analysis for beginners

What a meta-analysis combines, how to read a forest plot and what heterogeneity means.

How to check normality

Shapiro-Wilk, plots and sample size: how to decide between parametric and non-parametric tests.