Nonparametrictest 140723051620 Phpapp02 PDF
Nonparametrictest 140723051620 Phpapp02 PDF
TESTS
PGIMS, Rohtak
Contents
• Introduction
• Assumptions of parametric and non-parametric tests
• Testing the assumption of normality
• Commonly used non-parametric tests
• Applying tests in SPSS
• Advantages of non-parametric tests
• Limitations
• Summary
Introduction
• Variable: A characteristic that is observed or manipulated.
• Dependent
• Independent
Vaccinated 10 90 100
(observed)
Unvaccinated 26 74 100
(observed)
Total 36 164 200
Attacked Not-attacked
Vaccinated 18 82 100
(Expected)
Unvaccinated 18 82 100
(Expected)
• χ2 = ∑ [O- E-0.5]2
E
Fisher’s Exact Test
• Used when the
25
Wilcoxon signed-rank test
• The 14 difference scores in BP among hypertensive patients
after giving drug A were:
-20, -8, -14, -12, -26, +6, -18, -10, -12, -10, -8, +4, +2, -18
• Null hypothesis: the population means are the same for the
two groups.
• Rank the combined data values for the two groups. Then find
the average rank in each group.
Mann-Whitney U test
• Then the U value is calculated using formula
• Hypothetical RESULTS:
• Atkin’s group loses an average of 34.5 lbs.
25
20
P
e
r
c 15
e
n
t
10
0
-30 -25 -20 -15 -10 -5 0 5 10 15 20
Weight Change
Atkin’s diet
30
25
20
P
e
r
c 15
e
n
t
10
0
-300 -280 -260 -240 -220 -200 -180 -160 -140 -120 -100 -80 -60 -40 -20 0 20
Weight Change
Mann-Whitney U test
• RANK the values, 1 being the least weight loss and 20 being
the most weight loss.
• Atkin’s
– +4, +3, 0, -3, -4, -5, -11, -14, -15, -300
– 1, 2, 3, 4, 5, 6, 9, 11, 12, 20
• J. Craig
− -8, -10, -12, -16, -18, -20, -21, -24, -26, -30
− 7, 8, 10, 13, 14, 15, 16, 17, 18, 19
Mann-Whitney U test
• Sum of Atkin’s ranks:
1+ 2 + 3 + 4 + 5 + 6 + 9 + 11+ 12 + 20=73
42
The Sign, Wilcoxon and McNemar
test
Mann Whitney U test
• Mann whitney U
Kruskal Wallis H test
Friendman’s ANOVA and Cochran’s
Spearman’s rho correlation test
Advantages of non-parametric
tests
• These tests are distribution free.