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

Table 5.

Kruskal Wallis H-Test

Number of Level of Anxiety


Questions 1 2 3 4
1 8 24 21 9
2 20 24 14 4
3 17 20 15 10
4 9 29 17 7
5 13 29 13 7
6 17 27 15 3
7 24 22 13 3
8 17 27 16 2
9 18 23 14 7
10 27 25 8 2
11 20 22 13 7
Total 190 272 159 61
α = 0.05 df = 4 – 1 = 3
As shown in the H-test is based on the information provided, the significance level is α = 0.05, and the
degree of freedom is df = 4 – 1 = 3. Pearson’s chi-square test is utilized to determine the rejection region
for this data, wherein chi-squarer test is R={ χ 2: χ 2>7.815 }. A chi-square test is a statistical
hypothesis test used in analyzing contingency in a large sample size.

The H statistic is computed as shown in the following formula:

( )
2 2 2
12 R1 R 1 R
H= + +∙∙ ∙+ k −3 ( N +1)
N ( N +1 ) n2 n2 nk

¿
12
( 2822 4122 222.52 71.52
44 ( 44+1 ) 11
+
11
+
11
+
11 )
−3 ( 44+ 1 )=33.34

2
Since it is observed that χ2=33.341> χ c =7.815, it is then concluded that the null hypothesis is rejected.

It is concluded that the null hypothesis Ho is rejected. Therefore, there is not enough evidence to claim
that not all population medians are equal, at the α=0.05 significance level.

You might also like