JoVE Logo

Sign In

The Wilcoxon rank-sum test, also known as the Mann-Whitney U test, is a nonparametric test used to determine if there is a significant difference between the distributions of two independent samples. This test is designed specifically for two independent populations and has the following key requirements:

  1. The samples must be randomly drawn.
  2. The data should be ordinal or capable of being converted to an ordinal scale, allowing the values to be ordered and ranked.

The null hypothesis is that the median of the distributions of the two populations are identical, and the alternative hypothesis is that the distributions of the two populations are different. In addition, there is no assumption that the samples are normally distributed. In this test, when two samples are drawn from two identical populations and ranked as one single pool of data points, their medians are expected to be different if smaller or larger ranks predominantly fall into one of the samples.

To perform the Wilcoxon rank-sum test, also known as the Mann-Whitney U test, data from both samples are combined into a single ranked list, where each value is assigned a rank from smallest to largest. If any values are tied, they are given the average of the ranks for those positions. The ranks are then separated back into their respective groups, and the sum of ranks is calculated for each group.

The test statistic (denoted Uin the Mann-Whitney U version) is derived from these rank sums, and its significance is evaluated to determine if there is a difference between the two samples. A significant result suggests that one sample has systematically higher or lower ranks, indicating a difference in the underlying distributions of the two populations. For small sample sizes (typically n<20), critical values for U are used from a table, while for larger samples, a z-score approximation is applied, assuming a normal distribution. This test is particularly useful when the assumptions for a two-sample t-test are not met, such as with ordinal or non-normally distributed data, offering a robust alternative to assess differences between two independent groups.

When the sample size is sufficiently large, this test is generally more efficient than its parametric counterpart and, therefore, more preferred for the data analysis. The significance tested using the Wilcoxon rank-sum test is usually reliable despite having outliers in the data. However, the test is also prone to higher type-I error when the data are either biased, heteroscedastic (having different variance), or when data/sample distributions are extremely far from the normal distribution.

From Chapter 13:

article

Now Playing

13.9 : Wilcoxon Rank-Sum Test

Nonparametric Statistics

38 Views

article

13.1 : Introduction to Nonparametric Statistics

Nonparametric Statistics

442 Views

article

13.2 : Ranks

Nonparametric Statistics

26 Views

article

13.3 : Introduction to the Sign Test

Nonparametric Statistics

391 Views

article

13.4 : Sign Test for Matched Pairs

Nonparametric Statistics

23 Views

article

13.5 : Sign Test for Nominal Data

Nonparametric Statistics

17 Views

article

13.6 : Sign Test for Median of Single Population

Nonparametric Statistics

15 Views

article

13.7 : Wilcoxon Signed-Ranks Test for Matched Pairs

Nonparametric Statistics

19 Views

article

13.8 : Wilcoxon Signed-Ranks Test for Median of Single Population

Nonparametric Statistics

24 Views

article

13.10 : Bootstrapping

Nonparametric Statistics

430 Views

article

13.11 : The Anderson-Darling Test

Nonparametric Statistics

416 Views

article

13.12 : Spearman's Rank Correlation Test

Nonparametric Statistics

457 Views

article

13.13 : Kendall's Tau Test

Nonparametric Statistics

406 Views

article

13.14 : Kruskal-Wallis Test

Nonparametric Statistics

387 Views

article

13.15 : Wald-Wolfowitz Runs Test I

Nonparametric Statistics

440 Views

See More

JoVE Logo

Privacy

Terms of Use

Policies

Research

Education

ABOUT JoVE

Copyright © 2025 MyJoVE Corporation. All rights reserved