Professional Documents
Culture Documents
Nonparametric Tests
Nonparametric Tests
PARAMETRIC
TESTS
SPEARMAN'S RHO
MANN-WHITNEY U
K R U S K A L WA L L I S
NON-
PARAMETRIC
TESTS
(Assumption-
freer Test)
SPEARMAN'S
RHO
ASSUMPTIONS
1. Your two variables should be measured on
an ordinal, interval or ratio scale.
2. Your two variables represent paired observations.
3. There is a monotonic relationship between the two
variables.
SPEARMAN'S
RHO
Practice
SPEARMAN'S
RHO
Practice
r=0.851
SPEARMAN'S In a recent study by Lu et al (2017) it was suggested that the number
countries you have visited, the less precise your moral compass
RHO becomes, e.g. the more you are likely to cheat on a test. They suggest
that exposure to a variety of moral codes means people start to view
morality as relative rather than absolute leading to more lax following
of rules for example. Imagine the table contains some of their data:
Practice in
PSPP
B S
TA
r=0.851 SS
O
CR
MANN-
WHITNEY U
We may use this test when sample sizes are smaller (or greater)
than 10
MANN- 1. You have one dependent variable that is measured at
the continuous or ordinal level.
WHITNEY U 2. You have one independent variable that consists
of two categorical, independent groups
3. You should have independence of observations,
which means that there is no relationship between the
observations in each group of the independent
variable or between the groups themselves.
ASSUMPTIONS 4. You must determine whether the distribution of scores
for both groups of your independent variable have
the same shape or a different shape.
If the two distributions have a different shape, the Mann-Whitney U test is used to determine whether
there are differences in the distributions of your two groups. However, if the two distributions are
the same shape, the Mann-Whitney U test is used to determine whether there are differences in
the medians of your two groups.
MANN-
WHITNEY U
MANN- Step 1: Label the two groups X and Y; if one group
WHITNEY U contains fewer cases than the other, it must be labeled X.
Step 3: Find ΣRX, the sum of the ranks of all scores in the
X distribution (larger ranks)
STEP FOUR: Rx = 55
MANN- To be significant, our obtained U has to be equal to or
LESS than this critical value.
WHITNEY U
Our obtained U = 2
The critical value for a two tailed test at .05 significance
level = 5
PRACTICE
The distribution that these data are drawn from is not
normal. Is there a difference between number of
cigarettes smoked per day between the sexes?
MANN- Researchers have asked several smokers how many
cigarettes they had smoked in the previous day. Here
WHITNEY U are the data.
PRACTICE
The distribution that these data are drawn from is not
normal. Is there a difference between number of
cigarettes smoked per day between the sexes?
U= 6, U' = 18. U.05(2),4,6 = 22, so we reject H0: Women
smoke the same number of cigarettes as men
KRUSKAL
WALLIS TEST
FORMULA
When H0 is true, the sampling distribution of H
approximates the chi-square distribution.
QUESTION
KRUSKAL With the following data on ml of potassium in brands of
drink, determine if there is a significant difference in the
WALLIS TEST potassium content between brands.
QUESTION
KRUSKAL With the following data on ml of potassium in brands of
drink, determine if there is a significant difference in the
WALLIS TEST potassium content between brands.
QUESTION
KRUSKAL With the following data on ml of potassium in brands of
drink, determine if there is a significant difference in the
WALLIS TEST potassium content between brands.
QUESTION
KRUSKAL Kruskal-wallis test for the following data
10,12,11,9,13,12
11,14,10,16,17,12
PRACTICE
QUESTION 18,20,16,15,14,22
PRACTICE
QUESTION