Kruskal-Wallis H Test Calculator
Instructions:
- Paste your data into the box below (include headers).
- Click "Load Data" and then select the appropriate columns.
- Select **one** Grouping Variable and **one or more** Dependent Variables.
- Click "Run Analysis" to get the results.
Formula Used
The Kruskal-Wallis H test is performed here. The primary formula is:
Kruskal-Wallis H Statistic:
H = [(12 / N(N+1)) * Σ(Ri²/ni)] - 3(N+1)
For data with ties, a **correction factor (C)** is applied:
C = 1 - [Σ(t3 - t) / (N3 - N)]
The corrected statistic is then **Hcorrected = H / C**, and this is the value reported as the Chi-Square statistic.
Where:
N = Total number of observations across all groups.
ni = Number of observations in group 'i'.
Ri = Sum of the ranks for group 'i'.
t = Number of tied observations for a given rank.
No comments:
Post a Comment