StatCalculators.com
Stop by and crunch stats
  • Homepage
  • Blog
  • Simple Calculator
  • About StatCalculators
  • Contact
  • Homepage
  • Blog
  • Simple Calculator
  • About StatCalculators
  • Contact
  • Home
  • /
  • Blog
  • /
  • Mann Whitney

The Mann-Whitney U Test

The Mann-Whitney U test is a non-paramedic test that you can use when you don’t want to perform an unpaired t test. 

What Is The Mann-Whitney U Test

Mann-Whitney-U-test

The Mann-Whitney U test is usually used to test the null hypothesis that two samples come from the same population which means they have the same median. However, you can also perform the Mann-Whitney U test when the observations in one sample are usually larger than observations on a different sample. 

Discover the best free online statistic calculators and tables.

How To Use The Mann-Whitney U Test

Let’s say that you have a sample of nx observations {x1, x2, . . . xn} in group 1 from one population, and that you have ny observations {y1, y2, . . . yn} in group 2 from a different population. 

According to the Mann-Whitney U test, you will need to compare every single observation xi in the first sample with every single observation xj in the other sample. 

The total number of comparisons that you will get is made by nx*ny.

In the case both samples have the same median, this means that every single xi has the same probability of being smaller or greater than each yi. 

calculating-the-Mann-Whitney-U-test

So, you will need to formulate the two hypothesis:

– The null hypothesis: H0 : P(xi > yj ) = 1/2

– The alternative hypothesis: H1: P(xi > yj ) ≠ 1/2

You will then need to count the number of times where the xi from sample 1 is greater than yi from sample 2 and you will call it Ux. 

Then, you’ll need to do the opposite. You will need to count how many times the xi from sample 1 is smaller than yi from sample 2 and you will call it Uy. 

According to the null hypothesis, you will nee the Ux and the Uy to be equal or, at least, very close to each other. 

Confirm your results by using our Mann-Whitney U Test calculator.

Performing The Mann-Whitney U Test

Step #1: 

You will need to order all the observations in order of magnitude.

Step #2: 

Look at each observation that you have and signal them as X or Y depending on the sample they are from. 

Learn how to calculate mean, median, mode, and range.

Step #3:

Mann-Whitney-U-test-using-SPSS

Here, you will need to annotate the values for which the xi is greater than the yi as well as the opposite:

– look at the x and write down the number of ys that are smaller than it (or to its left)

– look at the y and write down the number of xs that ate smaller than it (or to it left).

Step #4: 

Now, it is time to determine the Ux and the Uy. As we already mentioned earlier, the UX is the total number of times that the xi > yj. Similarly, the Uy is the total number of times that the yj > xi.

At the end, you will need to confirm if Ux + Uy = nx*ny

Step #5: 

In this step, you will need to determine the U = min(Ux, Uy).

Step #6: 

Now, you will need to have the statistical tables for the Mann-Whitney U test near you. You will need to discover the probability of observing a value U or lower. 

In case your test is just one-sided, you will get your p-value. However, in case your test is a two-sided test, then you’ll need to double the probability that you get to determine the p value. 

These are the most common probability problems.

Let’s say that you have a tie meaning that you have two or more observations that are the same. In this specific case, you can still determine the U value the same way as before. Nevertheless, you will need to calculate the normal approximation by using an adjustment to the standard deviation. 

Posted on June 19, 2019 by James Coll. This entry was posted in Blog, Mann Whitney. Bookmark the permalink.
Normality Tests for Statistical Analysis
The Different Types Of Correlation

    Tags

    binomial probability calculator Chi-Square Chi-Square Value Calculator Confidence Interval Confidence Interval Calculator Confidence Interval Calculator for the Population Mean Correlation coefficient Correlation Coefficient (from a Covariance) Calculator Correlation from covariance calculator Covariance calculator Covariance Calculator (from a Correlation Coefficient) Critical Chi-Square Value Calculator Critical F-value Calculator Critical F calulcator Descriptive statistics calculator Effect Size (Cohen's d) for a Student t-Test Calculator F distribution calculator Mann Whitney U-test Calculator Mean Mean calculator Median Median calculator Mode Mode calculator Non-parametric Mann Whitney U critical value normal distribution p-Value Calculator p-Value Calculator for a Student t-Test Pearson’s correlation calculator Population Standard Deviation Calculator Population Variance Calculator Range Calculator R correlation from covariance calculator Standard Deviation Calculator Student t-Value Calculator T distribution p value calculator T score calculator T student distribution calculator T table calculator Two-Tailed Area Under the Standard Normal Distribution Calculator U critical value Variance Calculator z score z score calculator z score probability calculator
Powered by