Loading…

Kruskal Wallis Test

Statistics • Nonparametric Methods

View all topics

Kruskal-Wallis Test

Nonparametric test for differences among three or more independent groups using ranks.

Use the same groups for independent samples.
Quoted CSV is supported.
Used for χ² critical value and decision.
Adjusts H and (optionally) Dunn variance for ties.
Independent groups only. Two-sided p-values.
Enabled only when post-hoc is On.
Tips
  • Long format: two columns (group, value). A header row is allowed.
  • Wide format: each column is a group; blanks are ignored.
  • Graphs appear after you click Calculate (and are placed before the steps).
Loads file content into the textarea.
Ready

Results

Enter your data and click Calculate.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does the Kruskal-Wallis test tell you?

It tests whether the distributions of three or more independent groups are the same, using ranks rather than raw values. A small p-value indicates at least one group tends to have different values from the others.

How is the Kruskal-Wallis H statistic computed?

All observations are ranked together, then each group's rank sum is used to form H based on group sizes and the total sample size. When ties exist, a tie correction factor is applied to adjust H.

When should I use Kruskal-Wallis instead of one-way ANOVA?

Use Kruskal-Wallis when normality or equal-variance assumptions for ANOVA are doubtful, or when data are ordinal or strongly skewed. It compares groups using ranks, making it more robust to outliers and non-normality.

Do ties affect the Kruskal-Wallis test?

Yes, ties change the rank distribution and slightly affect the test statistic variability. The tie correction adjusts the H statistic so the chi-square approximation remains appropriate.

If the Kruskal-Wallis test is significant, which groups are different?

A significant result indicates at least one group differs, but it does not identify which pairs differ by itself. Pairwise follow-up tests with an appropriate multiple-comparison adjustment are typically used to locate differences.