Choosing The Right Test
Choosing The Right Test
Choosing The Right Test
measurement
test nominal variables ranked variables purpose notes example
variables
description of
Arithmetic mean – 1 – central tendency - -
of data
median height of
trees in forest, if
most trees are
description of more useful than
short seedlings
Median – 1 – central tendency mean for very
and the mean
of data skewed data
would be skewed
by a few very tall
trees
used more in
description of everyday life than
Range – 1 – -
dispersion of data in scientific
statistics
Variance – 1 – description of forms the basis of -
dispersion of data many statistical
expectation
test the hypothesis
that the mean just another name compare mean
values of the for one-way heavy metal
Two-sample t–test 1 1 – measurement anova when there content in mussels
variable are the are only two from Nova Scotia
same in two groups and New Jersey
groups
compare mean
test the hypothesis heavy metal
that the mean content in mussels
values of the from Nova Scotia,
One-way anova 1 1 – measurement - Maine,
variable are the Massachusetts,
same in different Connecticut, New
groups York and New
Jersey
compare mean
heavy metal
after a significant content in mussels
one-way anova, from Nova Scotia
Tukey-Kramer test for significant vs. Maine, Nova
1 1 – -
test differences Scotia vs.
between all pairs Massachusetts,
of groups Maine vs.
Massachusetts,
etc.
Bartlett's test 1 1 – test the hypothesis usually used to compare standard
that the standard see whether data deviation of heavy
deviation of a fit one of the metal content in
measurement mussels from
compare mean
heavy metal
test hypothesis content in mussels
that the mean from Nova Scotia,
values of the Maine,
measurement Massachusetts,
subgroups must
variable are the Connecticut, New
Nested anova 2+ 1 – be arbitrary
same in different York and New
(model II)
groups, when Jersey; several
each group is mussels from each
divided into location, with
subgroups several metal
measurements
from each mussel
compare
test the hypothesis
cholesterol levels
that different
in blood of male
groups, classified
vegetarians,
Two-way anova 2 1 – two ways, have -
female
the same means of
vegetarians, male
the measurement
carnivores, and
variable
female carnivores
test the hypothesis just another name compare the
that the means of for two-way cholesterol level
the continuous anova when one in blood of people
Paired t–test 2 1 –
variable are the nominal variable before vs. after
same in paired represents pairs of switching to a
data observations vegetarian diet
compare the
test the hypothesis cholesterol level
that the means of used when the in blood of people
Wilcoxon signed- the measurement differences of before vs. after
2 1 –
rank test variable are the pairs are severely switching to a
same in paired non-normal vegetarian diet,
data when differences
are non-normal
measurement
test nominal variables ranked variables purpose notes example
variables
Polynomial
– 2 – fits the Y variable - -
regression
significantly
better than a
linear regression
measure chirping
speed vs.
first test the temperature in
test the hypothesis homogeneity of four species of
Analysis of that different slopes; if they are crickets, see if
covariance 1 2 – groups have the not significantly there is significant
(ancova) same regression different, test the variation among
lines homogeneity of the species in the
the Y -intercepts slope or Y -
intercept of the
relationships
measurement
test nominal variables ranked variables purpose notes example
variables
measure air
temperature,
fit an equation
humidity, body
Multiple relating several X
– 3+ – - mass, leg length,
regression variables to a
see how they
single Y variable
relate to chirping
speed in crickets
fit an equation
give different
relating an
doses of a drug
independent
(the measurement
measurement
Simple logistic variable), record
1 1 – variable to the -
regression who lives or dies
probability of a
in the next year
value of a
(the nominal
dependent
variable)
nominal variable
Multiple logistic 1 2+ – fit an equation - record height,
regression relating more than weight, blood
one independent pressure, age of
measurement multiple people,
variable to the see who lives or
probability of a dies in the next
value of a year
compare the
cholesterol level
in blood of people
test randomness before vs. after
of direction of switching to a
Sign test 2 – 1 -
difference in vegetarian diet,
paired data only record
whether it is
higher or lower
after the switch
40 ears of corn (8
from each of 5
test the hypothesis often used as a varieties) are
Kruskal–Wallis that rankings are non-parametric ranked for
1 – 1
test the same in alternative to one- tastiness, and the
different groups way anova mean rank is
compared among
varieties
40 ears of corn are
often used as a
ranked for
see whether the non-parametric
Spearman rank tastiness and
– – 2 ranks of two alternative to
correlation prettiness, see
variables covary regression or
whether prettier
correlation
corn is also tastier
Contributor
John H. McDonald (University of Delaware)