Metraipolis › archive › dc_36d1b2c957df

Kruskal–Wallis test — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Kruskal%E2%80%93Wallis_test
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-31T09:52:04.373Z
SHA-256 of the archived text
ce629c877a4898bad612c683cca43d6c8a356833e20274bf3379004bc8d87bff
Stable URL of this page
https://metraipolis.com/documento/dc_36d1b2c957df

How to cite

Kruskal–Wallis test — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Kruskal%E2%80%93Wallis_test (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_36d1b2c957df (Metraipolis archive dc_36d1b2c957df, sha256 ce629c877a4898bad612c683cca43d6c8a356833e20274bf3379004bc8d87bff)
BibTeX
@misc{dc36d1b2c957df,
  title = {Kruskal–Wallis test — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Kruskal%E2%80%93Wallis_test},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_36d1b2c957df; sha256 ce629c877a4898bad612c683cca43d6c8a356833e20274bf3379004bc8d87bff},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Kruskal%E2%80%93Wallis_test. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

The Kruskal–Wallis test by ranks, Kruskal–Wallis H {\displaystyle H} test (named after William Kruskal and W. Allen Wallis), or one-way ANOVA on ranks is a non-parametric statistical test for testing whether samples originate from the same distribution. It is used for comparing two or more independent samples of equal or different sample sizes. It extends the Mann–Whitney U test, which is used for comparing only two groups. The parametric equivalent of the Kruskal–Wallis test is the one-way analysis of variance (ANOVA). A significant Kruskal–Wallis test indicates that at least one sample stochastically dominates one other sample. The test does not identify where this stochastic dominance occurs or for how many pairs of groups stochastic dominance obtains. For analyzing the specific sample pairs for stochastic dominance, Dunn's test, pairwise Mann–Whitney tests with Bonferroni correction, or the more powerful but less well known Conover–Iman test are sometimes used. It is supposed that the treatments significantly affect the response level and then there is an order among the treatments: one tends to give the lowest response, another gives the next lowest response is second, and so forth. Since it is a nonparametric method, the Kruskal–Wallis test does not assume a normal distribution of the residuals, unlike the analogous one-way analysis of variance. If the researcher can make the assumptions of an identically shaped and scaled distribution for all groups, except for any difference in medians, then the null hypothesis is that the medians of all groups are equal, and the alternative hypothesis is that at least one population median of one group is different from the population median of at least one other group. Otherwise, it is impossible to say, whether the rejection of the null hypothesis comes from the shift in locations or group dispersions. This is the same issue that happens also with the Mann-Whitney test. If the data contains potential outliers, if the population distributions have heavy tails, or if the population distributions are significantly skewed, the Kruskal–Wallis test is more powerful at detecting differences among treatments than ANOVA F-test. On the other hand, if the population distributions are normal or are light-tailed and symmetric, then ANOVA F-test will generally have greater power which is the probability of rejecting the null hypothesis when it indeed should be rejected.

Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «regression analysis»).
Fonte: Wikipedia in inglese, voce «Kruskal–Wallis test» — https://en.wikipedia.org/wiki/Kruskal%E2%80%93Wallis_test
Wikidata Q1790302: «non-parametric method for testing whether samples originate from the same distribution» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q1790302
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Kruskal%E2%80%93Wallis_test?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1375265068, consultata il 2026-10-31T09:38:34.580Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: b397cf1f7d938cc381f5ab6f3ffe8b239720cdfd1d32501427b9d5d2046e52fe