KruskalWallis test
DescriptionThe KruskalWallis test (Htest) is an extension of the Wilcoxon test and can be used to test the hypothesis that a number of unpaired samples originate from the same population. In MedCalc, Factor codes are used to breakup the (ordinal) data in one variable into different sample subgroups. If the nullhypothesis, being the hypothesis that the samples originate from the same population, is rejected (P<0.05), then the conclusion is that there is a statistically significant difference between at least two of the subgroups. Required inputThe following need to be entered in the dialog box: for Data select the variable containing the data, and for Factor codes the qualitative factor. The qualitative factor may either be character or numeric codes. These are the codes that will be used to breakup the data into several subgroups. OptionsSignificance level: the desired significance level for the posthoc test. If the KruskalWallis test results in a Pvalue less than this significance level, MedCalc performs a test for pairwise comparison of subgroups according to Conover, 1999. ResultsIn this example, it is tested whether different treatment regimens coded A, B and C in the variable Treatment, have an influence on the data in the variable Pain_relief. Pain relief was recorded on an ordinal scale from 0 to 9. Since the nullhypothesis is not rejected (P=0.1995), the conclusion is that there is no statistical significant difference between the different treatments. For a graphical representation of this test, refer to Multiple comparison graphs. Posthoc analysisIf the KruskalWallis test is positive (P less than the selected significance level) then MedCalc performs a test for pairwise comparison of subgroups according to Conover, 1999. Literature
See also
External links
