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)