Understand the idea
Kruskal-Wallis is the rank-based cousin of one-way ANOVA, used when the groups being compared are clearly non-normal, ordinal, or contain influential outliers. Just as eta-squared accompanies ANOVA to say how much variance the grouping factor explains, epsilon-squared accompanies Kruskal-Wallis to answer the same kind of question on the rank scale.
Epsilon-squared runs from 0 (the groups' RANKS are thoroughly mixed together, no detectable grouping effect) to 1 (the groups are perfectly separated in rank order). It is read the same way as eta-squared: as a proportion, or percentage, of the rank-variance explained by group membership.
It exists specifically because reporting Kruskal-Wallis's H statistic and p-value alone has the same problem as reporting a chi-square or F statistic alone: H grows with sample size, so a p-value can be small even for a practically weak grouping effect, and epsilon-squared is what tells you how strong that effect actually is.
Epsilon-squared is the usual Kruskal-Wallis effect size. A close relative called eta squared H is also computed from the H statistic, with a slightly different formula, so check which one a paper reports.
Practitioner explanation
epsilon^2 = H / ((n^2 - 1)/(n + 1)), where H is the Kruskal-Wallis statistic and n the total sample size, a normalization that makes epsilon-squared behave like a proportion-of-variance measure on the RANKS rather than on the raw outcome, paralleling eta-squared's role for the F statistic.
An alternative rank-based effect size sometimes reported alongside or instead of epsilon-squared is eta-squared_H (H-based eta-squared, using a slightly different denominator); the two are close when groups are large but diverge with many small groups, because epsilon-squared's expected value under the null is (k-1)/(N-1) rather than 0 while eta-squared_H = (H - k + 1)/(N - k) subtracts that chance level; a report should state which one is being cited.
KernelStats' Kruskal-Wallis card reports both epsilon_squared and eta_squared_h, computed directly from H and the group sizes, so a practitioner comparing against a paper or a colleague's report using either convention can check which one matches.
When to use it
Consider it when
Alongside every Kruskal-Wallis test, to communicate how strong the grouping effect is on the rank scale, not merely whether it is detectable.
Use caution when
As a like-for-like replacement for eta-squared from an ANOVA on the same data: the two are computed on different scales (raw values versus ranks) and are not numerically comparable.
Formulas and symbols
Epsilon-squared
H is the Kruskal-Wallis statistic, n the total sample size across all groups.
Common misconceptions
Misconception
Kruskal-Wallis and one-way ANOVA test the same hypothesis, just with different formulas.
Correction
Kruskal-Wallis tests whether the groups' RANK distributions differ (a broader claim than a difference in medians alone, absent the equal-shape assumption); ANOVA tests whether the group MEANS differ under normality and equal-variance assumptions. They can, and sometimes do, give different substantive conclusions.
References
- NIST/SEMATECH e-Handbook of Statistical Methods, §7.4.3 Comparing multiple population means (nonparametric), NIST/SEMATECH (2012), §7.4.3.
