1. Overview

Wilcoxon Rank Sum Test is equivalent to the Mann-Whitney U Test. Both tests compare the medians of two independent populations, do not assume the distribution of the data, and do not require equal sample sizes.

2. Test Procedure

Consider two independent samples and . Use the Wilcoxon Rank Sum Test to test if the medians of two populations are equal under a given significance level .

Given the null hypothesis , and alternative hypothesis .

Mix the two samples and rank the values, sharing the rank for tied values.

Conclude that

Define the test statistic to be the one with smaller sample size. Assume , so .

Then the rejection region is

where the lower critical value and upper critical value should be determined from the Wilcoxon Rank Sum Table.

  • For a two-tailed test, choose .
  • For a one-tailed test:
    • If , then .
    • If , then .

3. Normal Approximation

Theorem (Normal approximation of Wilcoxon Rank Sum Test). For large sample sizes (), the Wilcoxon Rank Sum Test can be approximated by a normal distribution:

Either or can be used as the test statistic regardless of the sample sizes, though may be more intuitive with respect to the hypothesis.

  • For the two-tailed test, the rejection region is .
  • For the one-tailed test:
    • If , then .
    • If , then .