250 likes | 612 Views
Kruskal Wallis H test Use when a nonparametric test is needed. When you have one variable but more than two groups. Equivalent to a one way ANOVA. Gr 1 Gr 2 Gr 3 100 140 150
E N D
Kruskal Wallis H test • Use when a nonparametric test is needed. • When you have one variable but more than two groups. • Equivalent to a one way ANOVA
Gr 1 Gr 2 Gr 3 100 140 150 95 200 212 150 185 280 82 150 225 160 210 190
Gr 1 Gr 2 Gr 3 100 3 140 4 150 95 2 200 212 150 185 280 82 1 150 225 160 210 190
Tied ranks of 5, 6 and 7 5 + 6 + 7 = 18 18 / 3 = 6 Averaged rank to be given: 6
Gr 1 Gr 2 Gr 3 100 3 140 4 150 6 95 2 200 212 150 6 185 280 82 1 150 6 225 160 210 190
Gr 1 Gr 2 Gr 3 100 3 140 4 150 6 95 2 200 212 150 6 185 9 280 82 1 150 6 225 160 8 210 190
Gr 1 Gr 2 Gr 3 100 3 140 4 150 6 95 2 200 11 212 13 150 6 185 9 280 15 82 1 150 6 225 14 160 8 210 12 190 10
Gr 1 Gr 2 Gr 3 100 3 140 4 150 6 95 2 200 11 212 13 150 6 185 9 280 15 82 1 150 6 225 14 160 8 210 12 190 10 20 42 58
Evaluate using a Chi Square table df: K-1 If the computed value is greater than the critical value the outcome is significant.
K= 3 groups df = 2 critical value : 5.99 7.28 > 5.99, therefore, there are significant differences between the groups.