kruskal_wallis
Test whether multiple independent groups come from identical distributions using rank-based comparison. Use when normality assumptions are violated.
Instructions
The non-parametric alternative to one_way_anova -- use when that test's own small-df warning makes a normal-theory result suspect. Tests whether all groups are drawn from the same distribution, by ranking the combined data rather than assuming normal populations. A significant result means at least one group differs, not which one -- same caveat as one_way_anova.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | significance level for the test (and any confidence interval); default 0.05 | |
| groups | Yes | one list of observations per group; at least 2 groups |