The Kruskal-Wallis test is a nonparametric test comparing the medians of independent random samples from two or more populations. It works when the Y variable is continuous, discrete-ordinal, or discrete-count, and the X variable is discrete with two or more attributes.

Assumptions:

  • data are independent random samples from different populations
  • sample distributions have the same shape

WordPress Cookie Notice by Real Cookie Banner