Mann-Whitney U Test

Mann-Whitney U Test

Description

  • The Mann-Whitney U test is used to compare differences between the two independent groups.
  • The test is a Non-Parametric version of the two-sample T-test.

Why to use

To determine if the population median of the two groups differs or not.

When to use

When the dependent variable is continuous but not normally distributed.

When not to use

  • When the distributions of the two samples are very different.
  • When the data consists of missing values. In which case, missing value imputation needs to be performed.

Prerequisites

  • Both the variables must be continuous and numeric.
  • Group 1 and group 2 must be independent of each other.
  • Observations are not normally distributed.
  • Number of observations in both groups must be equal.

Input

Two numeric data groups.

Output

  • U statistic
  • p Value

Statistical Methods Used

  • U statistic
  • Alpha (α)

Limitations

The difference in sample sizes results in reduced power of the statistical test.


The system calculates the p value in this test and compares it with the alpha value.

Criteria

Interpretation

When the p-value is greater than alpha an alternative hypothesis can either be "Two-sided" or "One-sided (less than)" or "One-sided (greater than)"

As the p-value is greater than alpha, the population median of the first group equals the population median of the second group. (η1=η2)

When the p-value is less than alpha and the alternative hypothesis is equal "Two-sided"

As the p-value is less than or equal to alpha, the population median of the first group is not equal to the population median of the second group. (η1≠η2)

When the p value is less than alpha and the alternative hypothesis is equal "One-sided (less than)"

As the p value is less than or equal to alpha, the population median of the first group is less than the population median of the second group. (η1<η2)

When the p value is less than alpha and the alternative hypothesis is equal to "One-sided (greater than)"

As the p value is less than or equal to alpha, the population median of the first group is greater than the population median of the second group. (η1>η2)

    • Related Articles

    • Shapiro-Wilk Test

      Shapiro-Wilk Test Description The Shapiro-Wilk test is a normality test in probability determination statistics. It is used to determine whether a simple random sample of a variable’s values has been derived from a normal distribution. Why to use For ...
    • One Sample T Test

      One Sample T Test Description A one-sample t-test is a statistical test for determining if the mean of a single sample varies significantly from a hypothesized population mean. Why to use To determine if there is statistical difference between sample ...
    • One Sample Z Test

      One Sample Z Test Description One-sample z-test is a statistical test used to determine if the mean of a single sample is significantly different, from a hypothesized population mean, when the population standard deviation is known. Why to use ...
    • Train Test Split

      Train Test Split Description The data is split randomly into train data and test data. Ideally, the split is in the ratio of 70:30 or 80:20 for train and test. Why to use To evaluate the accuracy of the model with an unknown dataset. When to use The ...
    • Train Test Split

      Train Test Split Description The data is split randomly into train data and test data. Ideally, the split is in the ratio of 70:30 or 80:20 for train and test. Why to use To evaluate the accuracy of the model with an unknown dataset. When to use The ...