Kruskal–Wallis test
Compare a continuous or ordinal outcome across independent groups using a rank-based test.
Data input
Example data and settings
This synthetic example demonstrates the workflow; it is not clinical evidence. Use example data applies the settings below. Uploading your own file uses data-dependent initial settings.
Use a numeric or numerically encoded ordinal outcome and 2–20 independent groups. Each group needs at least two complete observations.
| Parameter | Example setting |
|---|---|
| Measurement | y |
| Grouping variable | category |
What to inspect: 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.
Analysis parameters
Upload or select a dataset to configure the analysis.
Results
Run an analysis to view results and downloads here.