The Mann-Whitney test is also called as the Wilcoxon Mann-Whitney test (Mann and Whitney (1947)1) and Wilcoxon (1949)2)). This test is used to verify the hypothesis that there is no shift in the compared distributions, i.e., most often the insignificance of differences between medians of an analysed variable in 2 populations (but you should assume that the distributions of a variable are pretty similar to each other - comparison of rank variances can be performed with the Conover rank test.
Basic assumptions:
Hypotheses:
where:
distributions of an analysed variable of the 1st and the 2nd population.
The p-value, designated on the basis of the test statistic, is compared with the significance level :
Note
Depending on a sample size, the test statistic is calculated using by different formulas:
or
where are sample sizes, are rank sums for the samples.
This statistic has the Mann-Whitney distribution and it does not contain any correction for ties. The value of the exact probability of the Mann-Whitney distribution is calculated with the accuracy up to the hundredth place of the fraction.
The formula for the statistic includes the correction for ties. This correction is used, when ties occur (if there are no ties, the correction is not calculated, because of )
The statistic asymptotically (for large sample sizes) has the normal distribution.
The Mann-Whitney test with the continuity correction (Marascuilo and McSweeney (1977)3))
The continuity correction should be used to guarantee the possibility of taking in all the values of real numbers by the test statistic, according to the assumption of the normal distribution. The formula for the test statistic with the continuity correction is defined as:
Standardized effect size
The distribution of the Mann-Whitney test statistic is approximated by the normal distribution, which can be converted to an effect size 4) to then obtain the Cohen's d value according to the standard conversion used for meta-analyses:
When interpreting an effect, researchers often use general guidelines proposed by 5) defining small (0.2), medium (0.5) and large (0.8) effect sizes.
The settings window with the Mann-Whitney U test
can be opened in Statistics
menu → NonParametric tests (ordered categories)
→ Mann-Whitney
or in ''Wizard''.
There was made a hypothesis that at some university male math students spend statistically more time in front of a computer screen than the female math students. To verify the hypothesis from the population of people who study math at this university, there was drawn a sample consisting of 54 people (25 women and 29 men). These persons were asked how many hours they spend in front of the computer screens daily. There were obtained the following results:
(time, sex): (2, k) (2, m) (2, m) (3, k) (3, k) (3, k) (3, k) (3, m) (3, m) (4, k) (4, k) (4, k) (4, k) (4, m) (4, m) (5, k) (5, k) (5, k) (5, k) (5, k) (5, k) (5, k) (5, k) (5, k) (5, m) (5, m) (5, m) (5, m) (6, k) (6, k) (6, k) (6, k) (6, k) (6, m) (6, m) (6, m) (6, m) (6, m) (6, m) (6, m) (6, m) (7, k) (7, m) (7, m) (7, m) (7, m) (7, m) (7, m) (7, m) (7, m) (7, m) (8, k) (8, m) (8, m).}
Hypotheses:
Based on the assumed and the statistic of the Mann-Whitney test without correction for continuity (p=0.0154) as well as with this correction p=0.0158, as well as on the exact statistic (p=0.0149) we can assume that there are statistically significant differences between female and male math students in the amount of time spent in front of the computer. These differences are that female students spend less time in front of the computer than male students. They can be described by the median, quartiles, and the largest and smallest value, which we also see in a box-and-whisker plot. Another way to describe the differences is to represent the time spent in front of the computer based on a table of counts and percentages (which we run in the analysis window by setting descriptive statistics includegraphics ) or based on a column plot.