Kruskal-Wallis Test

From Q
Jump to navigation Jump to search

This is a non-parametric version of the F-Test (ANOVA). The test statistic is:

H=(j=1gi=1njwij1)j=1gi=1njwij(r¯jr¯)2j=1gi=1njwij(rijr¯)2

where:

nj is the number of observations in group j of ggroups,
rij is the rank of the ith observation from group j where the ranking is computed across all the groups with a 1 assigned to the lowest value and the average rank is used for ties,
n=j=1gnj,
wij is the Calibrated Weight,
r¯j=i=1njwijriji=1njwij,
r¯=j=1gi=1njwijrijj=1gi=1njwij,
pPr(χg12H)

See also