Non-Parametric Tests
Kruskal-Wallis H Test Assignment Help — Non-Parametric SPSS ANOVA Alternative

What Is the Kruskal-Wallis H Test and When Do You Use It?
The Kruskal-Wallis H test is the non-parametric alternative to one-way ANOVA. It compares three or more independent groups on an outcome using ranked data rather than means, so it doesn’t require the normality or homogeneity-of-variance assumptions ANOVA depends on. Use it when you have three or more independent groups and an ordinal outcome, or a continuous outcome that clearly violates ANOVA’s assumptions.
If your data reasonably meets ANOVA’s assumptions, use one-way ANOVA instead. It’s more powerful when those assumptions hold.
Assumptions You Must Check Before Running It in SPSS
- Independence of observations both within and between the three or more groups.
- The dependent variable should be at least ordinal.
- No normality or equal-variance assumption: that’s the reason to use this test instead of ANOVA.
- As with Mann-Whitney, comparing group medians cleanly assumes similarly shaped distributions across groups; if shapes differ substantially, the result is better read as “distributions differ” rather than strictly “medians differ.”
How to Run It in SPSS (Step by Step)
- Go to Analyze > Nonparametric Tests > Legacy Dialogs > K Independent Samples.
- Move your outcome variable into Test Variable List.
- Move your grouping variable into Grouping Variable, then click Define Range and enter the minimum and maximum group codes.
- Ensure Kruskal-Wallis H is checked, then click OK.
How to Interpret the Output
- In the Test Statistics table, read the Chi-Square (H) value, df (number of groups − 1), and Asymp. Sig., your p-value.
- Report median and IQR per group from the Ranks table’s mean rank values, or by running Descriptives separately.
- If significant, run post-hoc pairwise comparisons: pairwise Mann-Whitney tests between each group pair, with a Bonferroni-adjusted alpha (divide .05 by the number of comparisons) to control for the inflated Type I error from multiple tests.
How to Report the Results in APA Format
A Kruskal-Wallis H test showed a significant difference in satisfaction scores across the three teaching methods, H(2) = 9.84, p = .007. Post-hoc pairwise comparisons with Bonferroni correction showed Method A (Mdn = 8) scored significantly higher than Method C (Mdn = 5), p = .006, but no other pairwise differences were significant.
Kruskal-Wallis vs One-Way ANOVA: Understanding the Difference
Both compare three or more independent groups on one outcome. One-way ANOVA compares means and assumes normality and equal variances. Kruskal-Wallis compares rank-based distributions and makes neither assumption, at some cost in power when the data would have supported ANOVA. Running ANOVA on badly skewed or ordinal data across small groups is a common assignment error that Kruskal-Wallis avoids.
Related Non-Parametric Tests
If Kruskal-Wallis doesn’t quite fit your design, one of these related non-parametric tests likely will:
- Mann-Whitney U Test: the two-group version of this same rank-based comparison
- Wilcoxon Signed-Rank Test: for two related (not independent) measurements
- McNemar’s Test: for paired binary or categorical data instead of a continuous outcome
- Spearman’s Rank Correlation: for testing a relationship between two ordinal or non-normal variables, rather than a group difference
Not sure which one your data needs? See the full SPSS statistical test guide, or get help with this specific assignment.
Need this test run for your assignment?
Send us your dataset and research question and we'll take it from here — correct test, correct assumptions, correctly reported.
Get SPSS Assignment Help