You are on page 1of 4

Biomeasurement Calculation Sheet by Toby Carter & Dawn Hawkins (www.biomeasurement.

net)
Mann-Whitney U Test
Note - White cells are editable
Calculation Space
STEP 1

State your null hypothesis (H0)


e.g. H0 = There is no difference between the populations from which two unrelated samples come.

STEP 2

Choose a critical significance level (a)


(Note - only a=0.05 is available on this spreadsheet)
a=

STEP 3

Calculate the test statistic


Calculated Value of U
Small U =
120.5
n1 =

STEP 4

0.05

Large U =
n2 =

20

Reject of accept your null hypothesis


See Box 7.7 Page 143
Critical Value of U
Small U =
127

279.5
20

Or
Large U =

Which is greatest?
Critical U
Therefore
REJECT
Null Hypothesis

273

Calculated U
Therefore
REJECT
Null Hypothesis

Data
Sample 1
Sample 2
0.972
0.905
0.732
1.016
0.874
0.873
0.943
0.74
1.024
0.861
0.755
0.817
0.779
0.897
1.007
0.962
0.816
0.851
0.755
0.821
0.871
0.763
0.721
0.876
0.727
0.944
0.796
0.993
0.612
0.774
0.775
0.785
0.849
0.892
0.773
1.076
0.649
0.888
0.865
0.865

Excel Ranks
Sample 1 Sample 2
35.0
31.0
5.0
38.0
26.0
25.0
32.0
6.0
39.0
21.0
7.0
17.0
13.0
30.0
37.0
34.0
16.0
20.0
7.0
18.0
24.0
9.0
3.0
27.0
4.0
33.0
15.0
36.0
1.0
11.0
12.0
14.0
19.0
29.0
10.0
40.0
2.0
28.0
22.0
22.0
n
R
U

Hawkins (2005) Biomeasurement . Chapter 7, Pages 142-150


Hawkins & Carter 2005

78924445.xls.ms_office; Using critical-value tables

Check

20
329.0
121
U1 + U2
402

20
489.0
281
n1 * n2
400

5/4/2012

U1
120.5

U2
279.5

Adjusted Ranks
Sample 1 Sample 2
35.0
31.0
5.0
38.0
26.0
25.0
32.0
6.0
39.0
21.0
7.5
17.0
13.0
30.0
37.0
34.0
16.0
20.0
7.5
18.0
24.0
9.0
3.0
27.0
4.0
33.0
15.0
36.0
1.0
11.0
12.0
14.0
19.0
29.0
10.0
40.0
2.0
28.0
22.5
22.5
20
330.5
120.5
U1 + U2
400

20
489.5
279.5
n1 * n2
400

78924445.xls.ms_office; Using critical-value tables

5/4/2012

Hawkins (2005) Biomeasurement . Chapter 7, Box 7.6, Page 143


Mann-Whitney U Test

U 1 = n1 n2
U 2 = n1 n 2
CHECK

Where

n2 n2 1
2

R2

n1 n1 1
R1
2

U1 U 2 = n1n2

ni

=size of sample i

Ri

=sum of Ranks of sample i

Hawkins & Carter 2005

78924445.xls.ms_office; Equations

5/4/2012

n2 n2 1
2

R2

n1 n1 1
R1
2

78924445.xls.ms_office; Equations

5/4/2012

You might also like