TOPICS
Search

Mann-Whitney U Test


The Mann-Whitney U test is a rank-based statistical test for comparing two independent samples. If the first sample has size m, the second has size n, and R_1 is the rank sum of the first sample in the pooled data, then

 U_1=R_1-(m(m+1))/2.

Equivalently, U_1 counts ordered cross-sample pairs in which an observation from the first sample exceeds one from the second, with half credit commonly assigned to ties.

The test is also called the Wilcoxon rank-sum test. Under the null hypothesis of identical continuous distributions, its permutation distribution is distribution-free. Interpreting it solely as a test of medians requires additional shape assumptions.


See also

Statistical Test, Wilcoxon Signed Rank Test

Explore with Wolfram|Alpha

References

Mann, H. B. and Whitney, D. R. "On a Test of Whether One of Two Random Variables Is Stochastically Larger Than the Other." Ann. Math. Stat. 18, 50-60, 1947. https://doi.org/10.1214/aoms/1177730491.

Cite this as:

Weisstein, Eric W. "Mann-Whitney U Test." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Mann-WhitneyUTest.html

Subject classifications