16. Non-parametric Tests
16.4 Two Sample Wilcoxon Rank Sum Test (Mann-Whitney U Test)
This test is an alternative to the two sample -test. The test assumes that the population of differences has a symmetric distribution and tests the following hypothesis pair :
: The means of the two populations are the same.
: The means of the two populations are the different.
which is exactly the hypothesis tested by the -test. The samples are independent (no pairs) and, although this test compares means (parameters) and not medians, it does not use the values of the means to do the comparison — therefore this is a non-parametric test. It is based on a binomial distribution.
The test statistic is
Also we need in order for the distribution to be a good fit to the binomial distribution. This is our first non-parametric test that uses rank. Let’s follow an example to see how it all works.
Example 16.6 : Given the following obstacle course times, is the army or marines significantly faster?
Army: 15 18 16 17 13 22 24 17 19 21 26 28
Marines: 14 9 16 19 10 12 11 8 15 18 25
0. Data reduction.
We need to assign group 1 to the smaller sample. So let
group 1 = Marines (M) and
group 2 = Army (A) and
We don’t need to compute the means to compare them but just out of curiosity we note that and so if there is a significant difference between the means then the marines are faster.
This is our first rank test so we need to apply the methods of Section 16.1. For this test, we rank the combined data :
Notice how the last Count column is useful for assigning ranks to the ties. We have also drawn boxes around the marines because they are the smaller group and we need the sum of the ranks of the smaller group :
2. Critical statistic.
Using the last () line in the t Distribution Table with for the two-tailed test we find
3. Test statistic.
We already have . Now compute:
5. Interpretation. The marines are significantly faster.