SCRIBBR - Choosing The Right Statistical Test
SCRIBBR - Choosing The Right Statistical Test
SCRIBBR - Choosing The Right Statistical Test
Table of contents
Published on January 28, 2020 by Rebecca Bevans. Revised on December 28, 2020.
Statistical tests are used in hypothesis testing. They can be used to:
If you already know what types of variables you’re dealing with, you can use the flowchart to
choose the right statistical test for your data.
https://www.scribbr.com/statistics/statistical-tests/ 1/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
Statistical tests work by calculating a test statistic – a number that describes how much the
relationship
Tablebetween variables in your test differs from the null hypothesis of no relationship.
of contents
It then calculates a p-value (probability value). The p-value estimates how likely it is that you
would see the difference described by the test statistic if the null hypothesis of no relationship
were true.
If the value of the test statistic is more extreme than the statistic calculated from the null
hypothesis, then you can infer a statistically significant relationship between the predictor
and outcome variables.
If the value of the test statistic is less extreme than the one calculated from the null
hypothesis, then you can infer no statistically significant relationship between the predictor
and outcome variables.
For a statistical test to be valid, your sample size needs to be large enough to approximate the
true distribution of the population being studied.
Statistical assumptions
Statistical tests make some common assumptions about the data they are testing:
https://www.scribbr.com/statistics/statistical-tests/ 2/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
test’s effectiveness.
3. Normality
Table ofofcontents
data: the data follows a normal distribution (a.k.a. a bell curve). This
assumption applies only to quantitative data.
If your data do not meet the assumptions of normality or homogeneity of variance, you may
be able to perform a nonparametric statistical test, which allows you to make comparisons
without any assumptions about the data distribution.
If your data do not meet the assumption of independence of observations, you may be able to
use a test that accounts for structure in your data (repeated-measures tests or tests that
include blocking variables).
Types of variables
The types of variables you have usually determine what type of statistical test you can use.
Quantitative variables represent amounts of things (e.g. the number of trees in a forest).
Types of quantitative variables include:
Continuous (a.k.a ratio variables): represent measures and can usually be divided into
units smaller than one (e.g. 0.75 grams).
Discrete (a.k.a integer variables): represent counts and usually can’t be divided into units
smaller than one (e.g. 1 tree).
Categorical variables represent groupings of things (e.g. the different tree species in a
forest). Types of categorical variables include:
Choose the test that fits the types of predictor and outcome variables you have collected (if
you are doing an experiment, these are the independent and dependent variables). Consult
the tables below to see which test best matches your variables.
https://www.scribbr.com/statistics/statistical-tests/ 3/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
Table of contents
The most common types of parametric test include regression tests, comparison tests, and
correlation tests.
Regression tests
Regression tests are used to test cause-and-effect relationships. They look for the effect of
one or more continuous variables on another variable.
Predictor variable:
Continuous
1 predictor
Outcome variable:
Continuous
1 outcome
https://www.scribbr.com/statistics/statistical-tests/ 4/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
Predictor variable:
Continuous
2 or more predictors
Outcome variable:
Continuous
1 outcome
Research question example: What is the effect of income and minutes of exercise per day on
longevity?
Logistic regression
Predictor variable:
Continuous
Outcome variable:
Binary
Research question example: What is the effect of drug dosage on the survival of a test subject?
Comparison tests
Comparison tests look for differences among group means. They can be used to test the
effect of a categorical variable on the mean value of some other characteristic.
T-tests are used when comparing the means of precisely two groups (e.g. the average heights
of men and women). ANOVA and MANOVA tests are used when comparing the means of more
than two groups (e.g. the average heights of children, teenagers, and adults).
Paired t-test
Predictor variable:
Categorical
https://www.scribbr.com/statistics/statistical-tests/ 5/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
1 predictor
Table of contents
Outcome variable:
Quantitative
groups come from the same population
Research question example: What is the effect of two different test prep programs on the average
exam scores for students from the same class?
Independent t-test
Predictor variable:
Categorical
1 predictor
Outcome variable:
Quantitative
groups come from different populations
Research question example: What is the difference in average exam scores for students from two
different schools?
ANOVA
Predictor variable:
Categorical
1 or more predictor
Outcome variable:
Quantitative
1 outcome
Research question example: What is the difference in average pain levels among post-surgical
patients given three different painkillers?
https://www.scribbr.com/statistics/statistical-tests/ 6/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
MANOVA
Table of contents
Predictor variable:
Categorical
1 or more predictor
Outcome variable:
Quantitative
2 or more outcome
Research question example: What is the effect of flower species on petal length, petal width, and
stem length?
Correlation tests
Correlation tests check whether two variables are related without assuming cause-and-
effect relationships.
These can be used to test whether two variables you want to use in (for example) a multiple
regression test are autocorrelated.
Pearson’s r
Spearman’s r
https://www.scribbr.com/statistics/statistical-tests/ 7/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
Predictor variable:
Table of contents
Quantitative
Outcome variable:
Quantitative
Predictor variable:
Categorical
Outcome variable:
Categorical
Sign test
Predictor variable:
Categorical
Outcome variable:
Quantitative
Kruskal–Wallis H
Predictor variable:
Categorical
3 or more groups
Outcome variable:
Quantitative
https://www.scribbr.com/statistics/statistical-tests/ 8/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
ANOSIM
Table of contents
Predictor variable:
Categorical
3 or more groups
Outcome variable:
Quantitative
2 or more outcome variables
Predictor variable:
Categorical
2 groups
Outcome variable:
Quantitative
groups come from different populations
Predictor variable:
Categorical
2 groups
Outcome variable:
Quantitative
groups come from the same population
https://www.scribbr.com/statistics/statistical-tests/ 9/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
This flowchart helps you choose among parametric tests. For nonparametric alternatives,
check
theTable
table of
above.
contents
https://www.scribbr.com/statistics/statistical-tests/ 10/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
Table of contents
What is statistical significance?
516 32
Rebecca Bevans
Rebecca is working on her PhD in soil ecology and spends her free time writing. She's very
happy to be able to nerd out about statistics with all of you.
https://www.scribbr.com/statistics/statistical-tests/ 11/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
Hypothesis testing is a formal procedure for investigating our ideas about the world. It allows you to statistically test
your predictions.
Table of contents
321
25
21
1 comment
Thanks for reading! Hope you found this article helpful. If anything is still unclear, or if
you didn’t find what you were looking for here, leave a comment and we’ll see if we
can help.
https://www.scribbr.com/statistics/statistical-tests/ 12/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
Still have
Table questions?
of contents
Name
Add comment
I'm not a robot
reCAPTCHA
Privacy - Terms
Scribbr
Our editors
Jobs
FAQ
Partners
Sitemap
Our services
Plagiarism Checker
Proofreading & Editing
Citation Checker
https://www.scribbr.com/statistics/statistical-tests/ 13/14
17/01/2021 Choosing the Right Statistical Test | Types and Examples
Contact
info@scribbr.com
+1 (510) 822-8066
4.9
Terms of use
Privacy Policy
Happiness Guarantee
https://www.scribbr.com/statistics/statistical-tests/ 14/14