Mann-Whitney test
A rank-based alternative to the two-sample t-test for skewed or ordinal data.
The Mann-Whitney test ranks all values from both groups together and checks whether one group tends to have higher ranks than the other.
When to use it
- Data are clearly skewed and samples are small, so the t-test is doubtful.
- Data are ordinal, such as ratings on a 1-to-5 scale.
- A few extreme values would dominate a comparison of means.
What it tests
Strictly, whether a value from one group tends to exceed a value from the other. If the two distributions have the same shape, that is a test of a shift in medians. If shapes differ, the result is harder to interpret.
Power
For normal data the Mann-Whitney test is about 95% as efficient as the t-test, so little is lost by using it. For heavy-tailed data it can be much more powerful.
Stat > Mann-Whitney.
See also
References
- Hollander, M., Wolfe, D. A., and Chicken, E. Nonparametric Statistical Methods. Wiley.