Using the Mann-Whitney U Test The Mann-Whitney U test is equivalent to the Wilcoxon rank-sum test for independent samples in the sense that they both apply to the same situations and always lead to the same conclusions. In the Mann-Whitney U test we calculate

\(z = \frac{{U - \frac{{{n_1}{n_2}}}{2}}}{{\sqrt {\frac{{{n_1}{n_2}\left( {{n_1} + {n_2} + 1} \right)}}{{12}}} }}\)

Where

\(U = {n_1}{n_2} + \frac{{{n_1}\left( {{n_1} + 1} \right)}}{2} - R\)

and R is the sum of the ranks for Sample 1. Use the student course evaluation ratings in Table 13-5 on page 621 to find the z test statistic for the Mann-Whitney U test. Compare this value to the z test statistic found using the Wilcoxon rank-sum test.

Short Answer

Expert verified

The test statistic value of the Mann-Whitney U test is equal to 0.41.

The test statistic value of the Wilcoxon rank-sum test is equal to -0.41.

The values of z for both the tests are the same but with opposite signs.

Step by step solution

01

Given information

The Wilcoxon rank-sum test and the Mann-Whitney U test arenon-parametric tests used to test the difference of medians between two independent samples when both tests are applied to similar situations.

The data are given on course evaluation ratings for courses taught by male and female professors.

02

Assign ranks and then calculate the test statistics for the Mann-Whitney U test

The ranks of the observations from the two samples are given using the following steps:

  • Combine the two samples and label each observation with the sample name/number it comes from.
  • The smallest observation is assigned rank 1; the next smallest observation is assigned rank 2, and so on until the largest value.
  • If two observations have the same value, the mean of the ranks is assigned to them.

The following table shows the ranks:

\(\)

Evaluation ratings

Sample name

Ranks

4.3

Female

20.5

4.3

Female

20.5

4.4

Female

23.5

4.0

Female

13.5

3.4

Female

5.5

4.7

Female

27

2.9

Female

1

4.0

Female

13.5

4.3

Female

20.5

3.4

Female

5.5

3.4

Female

5.5

3.3

Female

3

4.5

Male

25.5

3.7

Male

8

4.2

Male

17.5

3.9

Male

11

3.1

Male

2

4.0

Male

13.5

3.8

Male

9.5

3.4

Male

5.5

4.5

Male

25.5

3.8

Male

9.5

4.3

Male

20.5

4.4

Male

23.5

4.1

Male

16

4.2

Male

17.5

4.0

Male

13.5

The sum of the ranks corresponding to female professors is equal to:

\(\begin{array}{c}R = 20.5 + 20.5 + 23.5 + .... + 3\\ = 159.5\end{array}\)

Let\({n_1}\)be the sample size corresponding to the female professors.

Let\({n_2}\)be the sample size corresponding to the male professors.

Here,

\(\begin{array}{l}{n_1} = 12\\{n_2} = 15\end{array}\)

The value of U is computed as follows:

\(\begin{array}{c}U = {n_1}{n_2} + \frac{{{n_1}\left( {{n_1} + 1} \right)}}{2} - R\\ = \left( {12 \times 15} \right) + \frac{{12\left( {12 + 1} \right)}}{2} - 159.5\\ = 98.5\\\end{array}\)

The value of the z statistic for the Mann Whitney U test is as follows:

\(\begin{array}{c}z = \frac{{U - \frac{{{n_1}{n_2}}}{2}}}{{\sqrt {\frac{{{n_1}{n_2}\left( {{n_1} + {n_2} + 1} \right)}}{{12}}} }}\\ = \frac{{98.5 - \frac{{12 \times 15}}{2}}}{{\sqrt {\frac{{\left( {12 \times 15} \right)\left( {12 + 15 + 1} \right)}}{{12}}} }}\\ = 0.41\end{array}\)

Thus, z is equal to 0.41.

03

Calculate the mean, standard deviation, and test statistic for the Wilcoxon rank-sum test

The mean value\(\left( {{\mu _R}} \right)\)is as follows:

\(\begin{array}{c}{\mu _R} = \frac{{{n_1}\left( {{n_1} + {n_2} + 1} \right)}}{2}\\ = \frac{{12\left( {12 + 15 + 1} \right)}}{2}\\ = 168\end{array}\)

The standard deviation\(\left( {{\sigma _R}} \right)\)is as follows:

\(\begin{array}{c}{\sigma _R} = \sqrt {\frac{{{n_1}{n_2}\left( {{n_1} + {n_2} + 1} \right)}}{{12}}} \\ = \sqrt {\frac{{12 \times 15\left( {12 + 15 + 1} \right)}}{{12}}} \\ = 20.49\end{array}\)

The test statistic value for the Wilcoxon rank-sum test is calculated as follows:

\(\begin{array}{c}z = \frac{{R - {\mu _R}}}{{{\sigma _R}}}\; \sim N\left( {0,1} \right)\\ = \frac{{159.5 - 168}}{{20.49}}\\ = - 0.41\end{array}\)

Thus, z is equal to -0.41.

04

Comparison

The values of the test statistic (z) arethe same for both the tests, i.e.,equal to 0.41,but the signs are opposite.

The value of z for the Mann Whitney U test is positive, whereas the value of z for the Wilcoxon rank-sum test is negative.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Ages of Best Actresses and Best Actors Listed below are ages of Best Actresses and Best Actors at the times they won Oscars (from Data Set 14 “Oscar Winner Age” in Appendix B). Do these data suggest that there is a correlation between ages of Best Actresses and Best Actors?

Actress

61

32

33

45

29

62

22

44

54

Actor

45

50

48

60

50

39

55

44

33

Using the Kruskal-Wallis Test. In Exercises 5–8, use the Kruskal-Wallis test.

Car Crash Measurements Use the following listed chest deceleration measurements (in g, where g is the force of gravity) from samples of small, midsize, and large cars. (These values are from Data Set 19 “Car Crash Tests” in Appendix B.) Use a 0.05 significance level to test the claim that the different size categories have the same median chest deceleration in the standard crash test. Do the data suggest that larger cars are safer?

Small

44

39

37

54

39

44

42

Midsize

36

53

43

42

52

49

41

Large

32

45

41

38

37

38

33

Wilcoxon Signed-Ranks Test for Body Temperatures The table below lists body temperatures of seven subjects at 8 AM and at 12 AM (from Data Set 3 “Body Temperatures in Appendix B). The data are matched pairs because each pair of temperatures is measured from the same person. Assume that we plan to use the Wilcoxon signed-ranks test to test the claim of no difference between body temperatures at 8 AM and 12 AM.

a. What requirements must be satisfied for this test?

b. Is there any requirement that the samples must be from populations having a normal distribution or any other specific distribution?

c. In what sense is this sign test a “distribution-free test”?

Efficiency What does it mean when we say that the rank correlation test has an efficiency rating of 0.91 when compared to the parametric test for linear correlation?

Clinical Trials of Lipitor The sample data below are changes in LDL cholesterol levels in clinical trials of Lipitor (atorvastatin). It was claimed that Lipitor had an effect on LDL cholesterol. (The data are based on results given in a Parke-Davis memo from David G. Orloff, M.D., the medical team leader for clinical trials of Lipitor. Pfizer declined to provide the author with the original data values.) Negative values represent decreases in LDL cholesterol. Use a 0.05 significance level to test the claim that for those treated with 20 mg of Lipitor and those treated with 80 mg of Lipitor, changes in LDL cholesterol have the same median. What do the results suggest?

GroupTreatedwith20 mgofLipitor

-28

-32

-29

-39

-31

-35

-25

-36

-35

-26

-29

-34

-30


GroupTreatedwith80 mgofLipitor

-42

-41

-38

-42

-41

-41

-40

-44

-32

-37

-41

-37

-34

-31

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free