Mann-Whitney Non Parametric U Test
The preferred non-parametric method for unpaired samples is the Mann-Whitney non parametric hypothesis test or Mann-Whitney test (it is also called as Wilcoxon Rank Sum Test or the Mann Whitney Wilcoxon Test) and thus the non parametric solution to evaluating two independent datasets comparable to the Student’s T test.
Mann-Whitney test is a non-parametric test that is to compare two sample means that may come from the same population, and used to test whether two sample means are equal or not. This is a powerful non parametric test, and is an alternative to the t- test when the normality of the population is either unknown or believed to be non normal.
Few researchers also interpret Mann-Whitney test will helps to compare the medians of the two populations. Usually parametric tests will compare the means (Null hypothesis: μ1=μ2) between the independent groups. Whereas, the null hypotheses and the two-sided hypotheses non-parametric tests can be indicated as follows:
- Null Hypotheses H0: Two populations are equal
- Alternative Hypotheses H1: Two populations are not equal.
The Mann-Whitney test is regularly performed as a two-sided test, therefore the investigate hypothesis indicates that the two populations are not equal, instead of specifying the directionality.
Assumptions of the Mann-Whitney:
- The sample drawn from the population is random.
- Independence within the samples and also mutual independence is assumed. That means that an observation is in one group or in the other (it cannot be in both).
- Identical (non-normal) distributions
- Ordinal measurement scale is assumed.
Uses of Mann-Whitney
Mann-Whitney U test is can be used for every industry. But is more frequently used in healthcare, nursing, business, and also many other disciplines. In medicine, it is more efficient method to know the effect of two medicines and whether they are equal or not. It is also used to know whether or not a particular medicine cures the ailment or not.
Procedure to conduct Mann-Whitney test
- Combine two samples data together, sort data in ascending order
- Convert data to ranks (1, 2, 3,… Y)
- Separate ranks back in to two samples
- Compute the test statistic, U
- Determine critical value of U from Mann-Whitney table
- Finally, Formulate decision and conclusion
Calculation of Mann-Whitney Test
Case 1: For comparing two small sets of observations (samples sizes less than 20)
U1 = n1n2+0.5n1(n1+1)-R1
U2 = n1n2+0.5n2(n2+1)-R2
- n1 is the observations from first population
- n2 is the observations from second population
- R1 is the sum of observation ranks for first population
- R2 is the sum of observation ranks for second population
Finally, calculate the U statistic as the smaller of U1 and U2. U= min (U1, U2)
Case2: Normal approximation and tie correction
For sample sizes above ~20, the distribution of U rapidly approaches to the normal distribution
U mean = μU =0.5 n1n2
Example of Mann-Whitney Test
A researcher while conducting studies on Biomass of various trees. He wished to determine if there was a difference in the biomass of male and female Juniper trees. So, he randomly selected 6 individuals of each gender from the field. He dry them to constant moisture, chip them, and then weigh them to the nearest kg.
- H0: Biomassmale = Biomassfemale (medians are equal)
- H1: Biomassmale ≠ Biomassfemale (medians are not equal)
The data are ratings (ordinal data), and hence a non-parametric test is appropriate – the Mann-Whitney U test (the non-parametric counterpart of an independent measures t-test).
- n1 =6
- n2 =6
- R1 = 1.5+3+5.5+7.5+4+1.5=23
- R2 = 5.5+11+10+12+9+7.5=55
And then calculate U1 and U2
- U1 = n1n2+0.5n1(n1+1)-R1 = 6*6+0.5*6(7)-23=34
- U2 = n1n2+0.5n2(n2+1)-R2 = 6*6+0.5*6(7)-55=2
U= min (U1, U2) = 2
Mann-Whitney table: For two-tailed test 5% significance level
Ucritical = 5
Calculated U is value less than the critical value of U for a 0.05 significance level. Ucalculated < Ucritical hence failed to reject the null hypotheses
So, we can say that seem like there is a highly significant difference between biomass of male and female Juniper trees.
Six Sigma Black Belt Certification Mann-Whitney Test Questions:
Question: Which of the following test, calculates by rank all the participants scores from lowest to highest and adding up the ranks separately for each of the group.