Kruskal–Wallis test
Compare a continuous or ordinal outcome across independent groups using a rank-based test.
Data requirements
Use a numeric or numerically encoded ordinal outcome and 2–20 independent groups. Each group needs at least two complete observations.
Upload UTF-8 CSV or TSV with unique column names in the first row. Blank, NA, N/A, NaN and NULL entries are treated as missing. Files support up to 2 MiB, 10,000 rows, 60 columns and 200,000 cells; module-specific limits also apply.
Parameters
Names match the analysis form. Starting values describe a newly loaded form; column selections depend on your uploaded data. Matching example column names may be preselected. Review every selection before running.
“Optional / conditional” fields may be required by a particular mode or method. The explanation states when each field takes effect. Hold Ctrl / Command to select multiple columns.
Measurement
ColumnOutcome used to calculate ranks. At least some values must differ.
Grouping variable
ColumnIndependent grouping variable, different from Measurement.
Example settings
Load the bundled example in the analysis workspace, or upload the example CSV linked above, then use these settings. These are illustrative choices for the synthetic data.
| Parameter | Setting |
|---|---|
| Measurement | y |
| Grouping variable | category |
Results
The test table reports H, degrees of freedom and p. The boxplot summarizes the outcome by group. Additional downloadable analysis-summary and diagnostics tables describe the analysis scope and method checks. Selected-variable missingness is reported where applicable. Diagnostics do not establish external validity or verify untested assumptions.
Review the reported method, observation count and notes alongside the estimates. Result tables can be downloaded as CSV and the figure as PNG.
Notes & limitations
- Rows missing the outcome or group are excluded. Pairwise post-hoc comparisons are not included; an omnibus result does not identify which groups differ.