Mann-Whitney U Test Calculator
The Mann-Whitney U test is a non-parametric test used to compare two independent samples. It’s widely used in various fields due to its ability to handle non-normal data.
- Enter the values for Sample 1 and Sample 2, separated by commas.
- Choose the significance level (α).
- Click the ‘Calculate’ button (not shown in this code).
The Mann-Whitney U test involves calculating the U statistic, which is the sum of the ranks of the first sample. The test then compares this value to a critical value to determine if there’s a significant difference between the two samples.
| Sample 1 | Sample 2 | U Statistic | P-value | Significance |
|---|---|---|---|---|
| … | … | … | … | … |
- …
- …
- …
What is the null hypothesis of the Mann-Whitney U test?
The null hypothesis (H0) of the Mann-Whitney U test is that the two samples come from the same population, i.e., there’s no difference between the two groups.
For more information, see the NIST’s guide on the Mann-Whitney U test and the Statistics How To’s explanation.