EXAMPLE 15 Performing the Wilcoxon rank sum test using technology
A study investigated whether there was a difference in physical activity levels between female adolescents with anorexia nervosa (AN) and those without AN.9 In this study, the amount of physical activity (in minutes for the year) of randomly selected female adolescents with AN (patients) and randomly selected female adolescents without AN (controls) was estimated by interviewing their mothers. The samples were drawn independently. Use Minitab and SPSS to test whether the population median minutes of physical activity for the patients differs from that for the controls, using level of significance .
Solution
Because both the patients and the controls were randomly selected, because and , and because we assume that both population shapes are the same, we may proceed with the hypothesis test.
Step 1 State the hypotheses.
where and represent the population median activity level (in minutes) of the patients and the controls, respectively.
Step 3 Find the value of the test statistic. We use the instructions provided in the Step-by-Step Technology Guide at the end of this section. Figure 16 shows the Minitab results from the Mann-Whitney test, which is equivalent to the Wilcoxon rank sum test for independent samples. Figure 17 shows the SPSS results from the Mann-Whitney test.
14-33
The highlighted represents in our notation. We have
So that