Why should I use a Kruskal-Wallis test?

To perform this test, select Stat > Nonparametrics > Kruskal-Wallis.

Use the Kruskal-Wallis test to determine whether the medians of two or more groups differ when you have data that are not symmetric, such as skewed data.

The Kruskal-Wallis test is a nonparametric alternative to a one-way ANOVA. The test does not require the data to be normal, but instead uses the rank of the data values instead of the actual data values for the analysis.

For example, a health administrator wants to compare the unoccupied bed space for three hospitals in the same city.

For Kruskal-Wallis, the hypotheses are:
  • H0: the population medians are all equal
  • H1: the medians are not all equal
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy