Kruskal-Wallis H test

When to use it

The nonparametric alternative to one-way ANOVA across three or more independent groups, based on rank sums.

It is a nonparametric test.

Assumptions

  • Three or more independent groups
  • Skewed, ordinal or non-normal outcome

Test statistic

H=12N(N+1)∑Rj2nj−3(N+1)H = \frac{12}{N(N+1)} \sum \frac{R_j^2}{n_j} - 3(N+1)

← Which statistical test should I use?