Use Kruskal-Wallis Test to determine whether the medians of two or more groups differ. Your data must have one categorical factor, a continuous response, and the data for all of the groups must have similarly shaped distributions.
For example, a health administrator wants to compare the number of unoccupied beds in three hospitals. The administrator randomly selects 11 days and lists the number of unoccupied beds for each day. To determine whether the median number of unoccupied beds differs, the administrator uses the Kruskal-Wallis test.
To perform the Kruskal-Wallis test, choose .