Download User Manual for - Statistician | Statistics Add

Transcript
(g) Non Parametric Tests (Two or More Samples)
When comparing two or more samples of ordinal data the Kruskal Wallis and
Friedman tests can be employed. Assuming we have π‘˜ populations of ordinal data. The
null and alternative hypothesis to be tested is:
𝐻0 : π‘‡β„Žπ‘’ π‘™π‘œπ‘π‘Žπ‘‘π‘–π‘œπ‘› π‘œπ‘“ π‘‘β„Žπ‘’ π‘˜ π‘π‘œπ‘π‘’π‘™π‘Žπ‘‘π‘–π‘œπ‘›π‘  π‘Žπ‘Ÿπ‘’ π‘‘β„Žπ‘’ π‘ π‘Žπ‘šπ‘’
𝐻1 : π‘‡β„Žπ‘’ π‘™π‘œπ‘π‘Žπ‘‘π‘–π‘œπ‘› π‘œπ‘“ π‘Žπ‘‘ π‘™π‘’π‘Žπ‘ π‘‘ π‘œπ‘›π‘’ π‘π‘œπ‘’π‘™π‘Žπ‘‘π‘–π‘œπ‘› π‘‘π‘–π‘“π‘“π‘’π‘Ÿπ‘  π‘“π‘Ÿπ‘œπ‘š π‘‘β„Žπ‘’ π‘œπ‘‘β„Žπ‘’π‘Ÿπ‘ 
(h) Kruskal Wallis Test
The Kruskal Wallis test is employed to compare two or more populations of ordinal
data which may have a non-normal distribution and are independent.
Let 𝑛1 , β‹― , π‘›π‘˜ denote the sample size of each of the π‘˜ samples let 𝑛 = 𝑛1 + β‹― + π‘›π‘˜ . All of
the observations from each of the π‘˜ samples are pooled and ranked from 1 to n.
Observations with a tied rank are assigned a rank which is the average of the
corresponding raw ranks. The sum of the ranks from each of the π‘˜ samples are
denoted by 𝑇1 , β‹― , π‘‡π‘˜ . The test statistic (𝐻) is given as:
π‘˜
𝑇𝑗2
12
𝐻=[
βˆ‘ ] βˆ’ 3(𝑛 + 1)
𝑛(𝑛 + 1)
𝑛𝑗
𝑗=1
Let a large sample size be defined as the case where the sample size from each of the
populations is greater than or equal to five (ie 𝑛𝑖 β‰₯ 5 ). The H statistic has a πœ’ 2
2
distribution with k-1 degrees of freedom. If 𝐻 > πœ’π›Ό,π‘˜βˆ’1
the null hypothesis is rejected,
where 𝛼 is the selected significance level.
(70)