Kruskal-Wallis Test For k=5
With na= nb= nc= nd= ne= The logic and computational details of the Kruskal-Wallis test are described in Subchapter 14a of Concepts and Applications.

In order to apply the Kruskal-Wallis test, the raw data from samples A, B, C, D, and E must first be combined into a set of N=na+nb+nc+nd+ne elements, which are then ranked from lowest to highest, including tied rank values where appropriate. After all N items have been ranked, these rankings are then re-sorted into the three separate samples.

If your data have already been ranked, these ranks can be entered directly into the cells headed by the label "Ranks." In this case, please note that the sum of all ranks for samples A, B, C, D, and E combined must be equal to [N(N+1)]/2. If this equality is not satisfied, you will receive a message asking you to examine your data entry for errors.

If your data have not yet been rank-ordered in this fashion, they can be entered into the cells labeled "Raw Data" and the ranking will be performed automatically.

After data have been entered, click one or the other of the «Calculate» buttons according to whether you are starting out with ranks or raw data.

Option for Importing Raw Data via Copy & Paste:T

Import Raw DataT
 Sample A Sample B Sample C Sample D Sample E Import datato data cellsClear All

Data EntryT
 Ranks for Sample Raw Data for Sample count A B C D E A B C D E
 Mean Ranks for Sample A B C D E H = df = P = *

*If the size of each of your samples is at least 5, the sampling distribution of H can be taken as a reasonably close approximation of the sampling distribution of chi-square with df = k1. If any of your samples are of a size smaller than 5, you should regard the calculated P-value as an imperfect approximation.

 Home Click this link only if you did not arrive here via the VassarStats main page.