ChaveryResearch Companion

Kruskal-Wallis

Three or more groups, without assuming normality.

When should I use Kruskal-Wallis?

You are comparing a ranked grade across three or more separate groups. Kruskal-Wallis compares the ranks across all of them at once, avoiding the inflated error rate of several pairwise tests.

What your data needs to look like

Three or more groups of measurements.

How researchers arrive at Kruskal-Wallis

Most people reach this test by way of another one. Chavery routes here when an assumption of the parametric test does not hold:

That decision is made from your data, not from a preference. It is the same rule every time, which is why two people with the same numbers get the same test.

What Chavery does with it

It checks the assumptions first and says whether each one held. When an assumption fails it names the alternative test rather than running this one anyway.

Then it reports the statistic, the p-value, a confidence interval and an effect size, and writes the sentence you would put in your results chapter. The same numbers always give the same answer; nothing is generated by a language model.

Reporting it

A p-value on its own is not a result. Chavery reports the effect size beside it, because a difference can be statistically significant and too small to matter, and an examiner will ask which yours is. More on effect size.

Not sure this is the test you need? Work through the question Chavery asks and it will name the test your design calls for.

Related tests

Run it on your own data. Paste your numbers and Chavery runs Kruskal-Wallis with the assumption checks and the reported sentence — no project needed. Open the analysis tool, or let Chavery choose the test for you.