StatLabStudent EditionUser guideGalleryFeaturesAbout

Mann-Whitney U test

The Mann-Whitney U test compares two independent groups using ranks instead of raw values, so it is the usual alternative to the independent-samples t test for ordinal or clearly non-normal data.

Menu: Analyze → Nonparametric Tests → Legacy Dialogs → 2 Independent Samples…

When should I use Mann-Whitney U test?

What are the assumptions?

How do I run it in StatLab?

  1. Choose test variable(s), the grouping variable and (optionally) the two group codes.

How do I read the output?

OutputMeaning
Mean Rank / Sum of RanksHigher mean rank = higher values in that group.
Mann-Whitney UThe smaller of the two U statistics.
Wilcoxon WRank sum of the group with the smaller mean rank.
Z, Asymp. Sig.Normal approximation with tie correction (no continuity correction). Exact p for small samples is planned.
r = |Z|/√NEffect size: .1 small, .3 medium, .5 large.

Worked example

Compare score by gender in the bundled sample dataset (File → Sample dataset: 150 survey respondents with gender, programme group, age, pre/post test scores, five satisfaction items, income, smoking and education): U = 2593.0, Z = −0.76, p = .447.

How would I report it in APA style?

A Mann-Whitney U test showed no significant difference in wellbeing between men (Mdn = 69.99) and women (Mdn = 68.68), U = 2593.0, z = −0.76, p = .447, r = .06.

Numbers above were computed by StatLab’s validated engine from the sample dataset when this page was built.

What are common mistakes?

Where can I see it worked through?

Open StatLab   All guide topics