Home > Statistical Methods calculators > Mann whitney U test example

2. Non parametric test - Mann whitney U test example ( Enter your problem )
  1. Example-1
  2. Example-2
Other related methods
  1. Non parametric test - Sign test
  2. Non parametric test - Mann whitney U test
  3. Non parametric test - Kruskal-wallis test
  4. Non parametric test - Chi square test
  5. Non parametric test - Median test
  6. Non parametric test - Mood's Median test
  7. Parametric test - F test
  8. Parametric test - t-test
  9. Parametric test - Standard error

1. Non parametric test - Sign test
(Previous method)
2. Example-2
(Next example)

1. Example-1





1. Non parametric test - Mann whitney U test for the following data
53,38,69,57,46,39,73,48,73,74,60,78
44,40,61,52,32,44,70,41,67,72,53,72, Significance Level `alpha=0.05` and One-tailed test


Solution:
Step-1: Take the hypothesis
Null Hypothesis `H_0` : The two populations are equal

Alternative Hypothesis `H_1` : The two populations are not equal

Step-2: Ranking all group values
First we assign ranks to all observations using low to high ranking process in the combined sample.
Size in Ascending OrderRankName of related sample
A for sample1, B for sample2
Rank for ARank for B
321B1
382A2
393A3
404B4
415B5
446.5B6.5
446.5B6.5
468A8
489A9
5210B10
5311.5B11.5
5311.5A11.5
5713A13
6014A14
6115B15
6716B16
6917A17
7018B18
7219.5B19.5
7219.5B19.5
7321.5A21.5
7321.5A21.5
7423A23
7824A24
Total167.5132.5

The rank total for A is `R_1=167.5`

The rank total for B is `R_2=132.5`


We have `n_1=12` and `n_2=12`

Step-3: Compute test statistic
test statistic using `R_1`

`U_1 = n_1 * n_2 + (n_1(n_1+1))/2 - R_1`

`=12 * 12 + (12(12+1))/2 - 167.5`

`=144 + 78 - 167.5`

`=54.5`

`mu_U=(n_1 n_2)/2=(12*12)/2=72`

`sigma_U=sqrt((n_1 n_2 (n_1+n_2+1))/12)=sqrt((12*12*(12+12+1))/12)=17.3205`

According the limits of acceptance region, keeping in view 10% level of significance.
As the z value for 0.45 of the area under the normal curve is 1.64, we have the following limits of acceptance region.
Upper limit = `mu_U + 1.64 sigma_U=72 + 1.64 * 17.3205=100.4056`

Lower limit = `mu_U - 1.64 sigma_U=72 - 1.64 * 17.3205=43.5944`

The value of `U_1` is 54.5 which is in the acceptance region, we accept the null hypothesis and conclude that the two samples come from identical populations at 10% level.


test statistic using `R_2`

`U_2 = n_1 * n_2 + (n_2(n_2+1))/2 - R_2`

`=12 * 12 + (12(12+1))/2 - 132.5`

`=144 + 78 - 132.5`

`=89.5`

The value of `U_2` also lies in the acceptance region and as such our conclusion remians the same.


This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



1. Non parametric test - Sign test
(Previous method)
2. Example-2
(Next example)





Share this solution or page with your friends.


 
Copyright © 2024. All rights reserved. Terms, Privacy
 
 

.