---
title: The Kruskall-Wallis' test
description: "\"The Kruskal-Wallis' H test (named after William Kruskal and W. Allen Wallis), or One-way ANOVA on ranks is a non-parametric method for testing…"
---

[Skip to content](https://help.easymedstat.com/support/solutions/articles/77000401278-the-kruskall-wallis-test#main-content)

English

Show submenu for translations

![](https://help.easymedstat.com/hs-fs/hubfs/Logo%20EMS%20HQ%20Noir-1.png?width=366&height=70&name=Logo%20EMS%20HQ%20Noir-1.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Open a ticket](https://t3jiy.share-eu1.hsforms.com/2pRawwxfuSS6Scx4Qn4KSPA)

[Open a ticket](https://t3jiy.share-eu1.hsforms.com/2pRawwxfuSS6Scx4Qn4KSPA)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [EasyMedStat Knowledge Base](https://help.easymedstat.com/?hsLang=en)
2. [Statistical analyses](https://help.easymedstat.com/statistical-analyses?hsLang=en)
3. [Statistical tests](https://help.easymedstat.com/statistical-analyses?hsLang=en#statistical-tests)

# The Kruskall-Wallis' test

# Definition

The **Kruskal-Wallis' H test** (named after William Kruskal and W. Allen Wallis), or One-way ANOVA on ranks is a non-parametric method for testing distributions between **independent groups of patients**. The H0 hypothesis is that all groups have the same median value, or come from the same population. When rejecting H0, we can say that at least one sample is different from the others, but without saying which one is statistically different.

Since it is a non-parametric method, the Kruskal-Wallis test does not assume a normal distribution of the residuals, unlike the analogous one-way ANOVA, and can then be used with small samples.

# In practice

The Kruskal-Wallis' H test has to be used when you want to compare distribution **between more than 2 groups**. For example, for the comparison of the size of a tumor between three cancer treatments. The groups used have to be **independent**: you can't use it to compare groups of members from the same family, groups of values from a score assessed at different times or groups of treated patients and a control group. 

# How to perform a Kruskal-Wallis test?

1. Go to "Test variables"
2. Select a Numeric variable you would like to compare between your different groups
3. Select a List variable
4. Click on the panel name "Compare values of ... between groups of patients"

# The Kruskal-Wallis test is not performed

If the Kruskal-Wallis test is not performed, please ensure that:

- You have at least 3 groups in your List variable. If there are only 2 groups to compare (Yes-no variables), another test will be done according to pairing and sample size.
- Your Numeric variable has values for at least 3 patients of each group
- Your data is not normally distributed. Otherwise, an [ANOVA](https://help.easymedstat.com/support/solutions/articles/77000408441-analysis-of-variance-anova-?hsLang=en) will be performed.

- [Account](https://help.easymedstat.com/account?hsLang=en#main-content)

    - [Account](https://help.easymedstat.com/account?hsLang=en#account)
- [Collect data](https://help.easymedstat.com/collect-data?hsLang=en#main-content)

    - [Questionnaires (ePRO)](https://help.easymedstat.com/collect-data?hsLang=en#questionnaires-epro)
    - [Add and edit patients](https://help.easymedstat.com/collect-data?hsLang=en#add-and-edit-patients)
    - [Randomization](https://help.easymedstat.com/collect-data?hsLang=en#randomization)
    - [Export](https://help.easymedstat.com/collect-data?hsLang=en#export)
    - [Create a series / eCRF](https://help.easymedstat.com/collect-data?hsLang=en#create-a-series-ecrf)
    - [Multilingual studies](https://help.easymedstat.com/collect-data?hsLang=en#multilingual-studies)
- [Variables](https://help.easymedstat.com/variables?hsLang=en#main-content)

    - [Organize in categories](https://help.easymedstat.com/variables?hsLang=en#organize-in-categories)
    - [Dynamic Variables](https://help.easymedstat.com/variables?hsLang=en#dynamic-variables)
    - [Manage variables](https://help.easymedstat.com/variables?hsLang=en#manage-variables)
- [Statistical analyses](https://help.easymedstat.com/statistical-analyses?hsLang=en#main-content)

    - [Statistical tests](https://help.easymedstat.com/statistical-analyses?hsLang=en#statistical-tests)
    - [Compare groups](https://help.easymedstat.com/statistical-analyses?hsLang=en#compare-groups)
    - [Multivariate analysis](https://help.easymedstat.com/statistical-analyses?hsLang=en#multivariate-analysis)
    - [Filter patients](https://help.easymedstat.com/statistical-analyses?hsLang=en#filter-patients)
    - [Descriptive Statistics](https://help.easymedstat.com/statistical-analyses?hsLang=en#descriptive-statistics)
- [Collaborate](https://help.easymedstat.com/collaborate?hsLang=en#main-content)

    - [Share your series](https://help.easymedstat.com/collaborate?hsLang=en#share-your-series)
    - [Manage your organization](https://help.easymedstat.com/collaborate?hsLang=en#manage-your-organization)
- [Monitoring](https://help.easymedstat.com/monitoring?hsLang=en#main-content)

    - [Automations](https://help.easymedstat.com/monitoring?hsLang=en#automations)
    - [Electronic Signatures](https://help.easymedstat.com/monitoring?hsLang=en#electronic-signatures)
    - [Queries](https://help.easymedstat.com/monitoring?hsLang=en#queries)
    - [Clean data](https://help.easymedstat.com/monitoring?hsLang=en#clean-data)

[![](https://help.easymedstat.com/hs-fs/hubfs/Logo%20EMS%20HQ%20Noir-1.png?width=366&height=70&name=Logo%20EMS%20HQ%20Noir-1.png)](http://www.easymedstat.com)

<https://www.linkedin.com/company/easymedstat/> <https://www.youtube.com/@easymedstat9719> [mailto:support@easymedstat.com](mailto:support@easymedstat.com)

Copyright © 2026, EasyMedStat