Professional Documents
Culture Documents
Week 7 & 8
Mann-Whitney U Test
Kruskal-Wallis Test
Friedman Test
Chi-square test
Parametric alternative:
• Independent-samples t-test.
Hypothesis testing and decision
on Mann-Whitney test
H0:
1. Gender will have no effect on self-esteem.
H1:
1. Gender will have a significant effect on self-esteem
(two-tailed).
2. Men will have a higher level of self-esteem than women
(one tailed).
Decision Rule:
1. If the p-value of the obtained test statistic is less than
.05, reject the null hypothesis.
How to conduct
Mann-Whitney test
• Analyse-non-parametric tests- Legacy
Dialogs- 2 Independent Samples
• Next: in test variable list add
Dependent variable (continuous- self-
esteem) and in Grouping variable add
Independent variable (define variable)
• Then: Click on Mann-Whitney test
• Then: ok
APA format table of
Mann-Whitney test
Decision Rule:
1. If the p-value of the obtained test statistic is less than
.05, reject the null hypothesis.
How to conduct
WILCOXON SIGNED RANK TEST
• Analyse-non-parametric tests- Legacy Dialogs- 2
Related Samples
• Next: Click on the variables that represent the scores
at Time 1 and at Time 2 (e.g. fear of stats time1:
fost1, fear of stats time2: fost2). Click on the arrow to
move these into the Test Pairs box
• Make sure that the Wilcoxon box is ticked in the Test
Type section.
• Then: Click on the Options button. Choose Quartiles
(this will provide the median scores for each time
point).
• Click on Continue and then on OK (or on Paste to save
to Syntax Editor).
APA format table of
Wilcoxon Signed Rank Test
Variable n Median Z p
Pre-test 30 40.00 –4.18 .000
Post-test 30 38.00
Interpretation of
Wilcoxon Signed Rank Test
• A Wilcoxon Signed Rank Test revealed a statistically significant
reduction in fear of statistics following participation in the training
program, z = –4.18, p < .001. The median score on the Fear of
Statistics Scale decreased from pre-program (Md = 40) to post-
program (Md = 38).
3: KRUSKAL-WALLIS TEST
• The Kruskal-Wallis Test (sometimes referred to as the Kruskal-
Wallis H Test) is the non-parametric.
• It allows you to compare the scores on some continuous
variable for three or more groups.
• It is similar in nature to the Mann-Whitney U Test presented
earlier in this chapter, but it allows you to compare more than
just two groups.
• Scores are converted to ranks and the mean rank for each
group is compared. This is a ‘between groups’ analysis, so
different people must be in each of the different groups.
Cont.…..
• Example of research question:
• Is there a difference in optimism across three age levels?
• What you need: Two variables:
• one categorical independent variable with three or more categories
(e.g. agegp3: 18–29, 30–44, 45+)
• one continuous dependent variable (e.g. total optimism)
• Parametric alternative:
• One-way between-groups analysis of variance.
Hypothesis testing and decision on
Kruskal-Wallis Test
H0:
1. There is no difference in optimism across three age
levels.
H1:
1. Different age groups differ significantly on optimisms.
Decision Rule:
1. If the p-value of the obtained test statistic is less than
.05, reject the null hypothesis.
How to conduct
Kruskal-Wallis Test
You will also need to obtain the median optimism values
for each age group. Follow the same procedure for
obtaining median values as described in the Mann-
Whitney U Test section.
APA format table of
Kruskal-Wallis Test
Decision Rule:
1. If the p-value of the obtained test statistic is less than .05,
reject the null hypothesis.
How to conduct
Friedman Test
APA format table of
Friedman Test