Class KruskalWallis


  • public class KruskalWallis
    extends HypothesisTest
    The Kruskal-Wallis test is a non-parametric method for testing the equality of population medians among groups. It is identical to a one-way analysis of variance with the data replaced by their ranks. Since it is a non-parametric method, the Kruskal-Wallis test does not assume a normal population, unlike the analogous one-way analysis of variance. However, the test does assume an identically-shaped and scaled distribution for each group, except for any difference in medians.

    TODO: correction for ties

    The R equivalent function is kruskal.test.

    See Also:
    Wikipedia: Kruskal-Wallis one-way analysis of variance