Mann Whitenye and Kolmogrov

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Mann-Whiteny U

Hypotheses:
Ho: The hobby tends didn’t reduce the need for doctor visit(µA - µB ≥ 0)
Ha: The hobby tends reduce the need for doctor visit (µA - µB < 0)
Significance level: α = 0.05
Statistic Teat: Mann-Whiteny U
n1 = 6
n2 = 6
Number of doctor Rank No Hobby Rank Hobby
Rank
viist in 1 years Group Group
2 1 1
3 2 2
4 3 3
5 4 4
8 5 5
9 6.5 6.5
9 6.5 6.5
10 8 8
11 9 9
12 10 10
15 11 11
17 12 12
Total 53.5 24.5

W1 = 53.5
W2 = 24.5
Since n1 and n2 = 6 which is ≤ 10
n1 (n1 +1)
U = n1 n2 + - W1
2
6(6+ 1)
U = (6)(6) + – 53.5= 3.5
2

U critical one tail test with α = 0.05 = 7


If U statistic < U critical then reject Ho
If U statistic > U critical then Accept Ho
Colclusion
Then U statistic (3.5) < 7 then reject Ho
Its mean At the 5% significance level, we can conclude that The hobby tends reduce the
need for doctor visit

Kolmogrov Smirnov – Two Samples


Hypotheses:
Ho: The hobby tends didn’t reduce the need for doctor visit
Ha: The hobby tends reduce the need for doctor visit
Significance level: α = 0.05
Statistic Teat: Kolmogrov Smirnov
No Hobby Group Hobby Group Sn 1 (x) Sn 2 (x) |Sn 1 ( x ) −S n 2 (x)|
2 0 1 0.000 0.167 0.167
3 0 1 0.000 0.333 0.333
4 0 1 0.000 0.500 0.500
5 0 1 0.000 0.667 0.667
8 1 0 0.167 0.667 0.500
9 1 1 0.333 0.833 0.500
10 0 1 0.333 1.000 0.667
11 1 0 0.500 1.000 0.500
12 1 0 0.667 1.000 0.333
15 1 0 0.833 1.000 0.167
17 1 0 1.000 1.000 0.000
Total 6 6

Then D max or Kolmogrov Statistic = 0.667


D critical one tail test with α = 0.05 = 5
If D statistic < D critical then Accept Ho
If D statistic > D critical then RejectHo

Conclusion
Then D statistic (0.667) < 5 then Accept Ho
Its mean At the 5% significance level, we can conclude that The hobby tends did not
reduce the need for doctor visit

You might also like