请输入您要查询的百科知识:

 

词条 Kruskal–Wallis one-way analysis of variance
释义

  1. Method

  2. Exact probability tables

  3. Exact distribution of

  4. See also

  5. References

  6. Further reading

  7. External links

The Kruskal–Wallis test by ranks, Kruskal–Wallis H test[1] (named after William Kruskal and W. Allen Wallis), or one-way ANOVA on ranks[1] is a non-parametric method for testing whether samples originate from the same distribution.[2][3][4] 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,[5] pairwise Mann-Whitney tests without Bonferroni correction,[6] or the more powerful but less well known Conover–Iman test[7] are sometimes used.

Since it is a non-parametric 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.

Method

  1. Rank all data from all groups together; i.e., rank the data from 1 to N ignoring group membership. Assign any tied values the average of the ranks they would have received had they not been tied.
  2. The test statistic is given by:
    where:
    • is the number of observations in group
    • is the rank (among all observations) of observation from group
    • is the total number of observations across all groups
    • is the average rank of all observations in group
    • is the average of all the .
  3. If the data contain no ties the denominator of the expression for is exactly and . Thus

    The last formula only contains the squares of the average ranks.
  4. A correction for ties if using the short-cut formula described in the previous point can be made by dividing by , where G is the number of groupings of different tied ranks, and ti is the number of tied values within group i that are tied at a particular value. This correction usually makes little difference in the value of H unless there are a large number of ties.
  5. Finally, the decision to reject or not the null hypothesis is made by comparing to a critical value obtained from a table or a software for a given significan or alpha level. If is bigger than , the null hypothesis is rejected. If possible (no ties, sample not too big) one should compare to the critical value obtained from the exact distribution of . Otherwise, the distribution of H can be approximated by a chi-squared distribution with g-1 degrees of freedom. If some values are small (i.e., less than 5) the exact probability distribution of can be quite different from this chi-squared distribution. If a table of the chi-squared probability distribution is available, the critical value of chi-squared, , can be found by entering the table at g − 1 degrees of freedom and looking under the desired significance or alpha level.
  6. If the statistic is not significant, then there is no evidence of stochastic dominance between the samples. However, if the test is significant then at least one sample stochastically dominates another sample. Therefore, a researcher might use sample contrasts between individual sample pairs, or post hoc tests using Dunn's test, which (1) properly employs the same rankings as the Kruskal–Wallis test, and (2) properly employs the pooled variance implied by the null hypothesis of the Kruskal–Wallis test in order to determine which of the sample pairs are significantly different.&91;5&93; When performing multiple sample contrasts or tests, the Type I error rate tends to become inflated, raising concerns about multiple comparisons.

Exact probability tables

A large amount of computing resources is required to compute exact probabilities for the Kruskal–Wallis test. Existing software only provides exact probabilities for sample sizes less than about 30 participants. These software programs rely on asymptotic approximation for larger sample sizes.

Exact probability values for larger sample sizes are available. Spurrier (2003) published exact probability tables for samples as large as 45 participants.[8] Meyer and Seaman (2006) produced exact probability distributions for samples as large as 105 participants.[9]

Exact distribution of

Choi et al.[10]

make a review of two methods that had been developed to compute the exact distribution of , propose a new one, and compare the exact distribution to its chi-squared approximation.

See also

  • Friedman test
  • Jonckheere's trend test

References

1. ^[https://statistics.laerd.com/spss-tutorials/kruskal-wallis-h-test-using-spss-statistics.php Kruskal–Wallis H Test using SPSS Statistics], Laerd Statistics
2. ^{{cite journal |last=Kruskal |last2=Wallis |year=1952 |title=Use of ranks in one-criterion variance analysis |journal=Journal of the American Statistical Association |volume=47 |issue=260 |pages=583–621 |doi=10.1080/01621459.1952.10483441 }}
3. ^{{cite book |last=Corder |first=Gregory W. |first2=Dale I. |last2=Foreman |year=2009 |title=Nonparametric Statistics for Non-Statisticians |location=Hoboken |publisher=John Wiley & Sons |pages=99–105 |isbn=9780470454619 }}
4. ^{{cite book |last=Siegel |last2=Castellan |year=1988 |title=Nonparametric Statistics for the Behavioral Sciences |edition=Second |location=New York |publisher=McGraw–Hill |isbn=0070573573 }}
5. ^{{cite journal |last=Dunn |first=Olive Jean |year=1964 |title=Multiple comparisons using rank sums| journal=Technometrics |volume=6 |issue=3 |pages=241–252 |doi=10.2307/1266041}}
6. ^{{cite report | last1=Conover | first1=W. Jay | last2=Iman | first2=Ronald L. |date=1979 |title="On multiple-comparisons procedures" |url=http://library.lanl.gov/cgi-bin/getfile?00209046.pdf |publisher=Los Alamos Scientific Laboratory |access-date=2016-10-28}}
7. ^{{cite report | last1=Conover | first1=W. Jay | last2=Iman | first2=Ronald L. |date=1979 |title="On multiple-comparisons procedures" |url=http://library.lanl.gov/cgi-bin/getfile?00209046.pdf |publisher=Los Alamos Scientific Laboratory |access-date=2016-10-28}}
8. ^{{cite journal |last=Spurrier |first=J. D. |year=2003 |title=On the null distribution of the Kruskal–Wallis statistic |journal=Journal of Nonparametric Statistics |volume=15 |issue=6 |pages=685–691 |doi=10.1080/10485250310001634719 }}
9. ^{{cite journal |last=Meyer |last2=Seaman |date=April 2006 |title=Expanded tables of critical values for the Kruskal–Wallis H statistic |work=Paper presented at the annual meeting of the American Educational Research Association, San Francisco }} Critical value tables and exact probabilities from Meyer and Seaman are available for download at http://faculty.virginia.edu/kruskal-wallis/. A paper describing their work may also be found there.
10. ^{{cite journal|author=Won Choi, Jae Won Lee, Myung-Hoe Huh, andSeung-Ho Kang|title=An Algorithm for Computing the Exact Distribution of the Kruskal–Wallis Test|journal=Communications in Statistics - Simulation and Computation|issue=32, number 4|year=2003|pages=1029–1040|doi=10.1081/SAC-120023876}}

Further reading

  • {{cite book |last=Daniel |first=Wayne W. |chapter=Kruskal–Wallis one-way analysis of variance by ranks |title=Applied Nonparametric Statistics |location=Boston |publisher=PWS-Kent |edition=2nd |year=1990 |isbn=0-534-91976-6 |pages=226–234 |chapterurl=https://books.google.com/books?id=0hPvAAAAMAAJ&pg=PA226 }}

External links

  • An online version of the test
{{statistics|inference|collapsed}}{{DEFAULTSORT:Kruskal-Wallis one-way analysis of variance}}

3 : Statistical tests|Analysis of variance|Nonparametric statistics

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/17 12:04:55