EXAMPLE 11 Wilcoxon signed rank test for a single population median: small-sample case

The Web site www.missingkids.com provides a searchable database of missing children. The ages of the following six children were obtained from this database.

Child Adam Juan Benjamin Samantha Kayleen Aiko
Age 4 9 5 7 6 3

Test, using level of significance , whether the population median age of the missing children equals 6 years old.

14-24

Solution

  • Step 1 State the hypotheses. We have a two-tailed test:

    where represents the population median age of the missing children. Thus, the hypothesized value for the median is .

  • Step 2 Find the critical value and state the rejection rule. To find the critical value, we use Appendix Table J, excerpted here in Figure 13. We have a two-tailed test, with level of significance and , which gives us . The rejection rule is to reject if .
    image
    Figure 14.13: FIGURE 13 Using Appendix Table J to find the critical value .
  • Step 3 Find the value of the test statistic. The calculations to find the signed ranks are shown in Table 11.
    Table 14.31: Table 11 Finding the signed ranks for the child age data
    Child Age Rank of Signed rank
    Adam 4 2 3 −3
    Juan 9 3 4.5 4.5
    Benjamin 5 1 1.5 −1.5
    Samantha 7 1 1.5 1.5
    Kayleen 6
    Aiko 3 3 4.5 −4.5
    1. Find for each child. Note that the value of for Kayleen is zero, so we omit Kayleen's age from further calculations.
    2. The absolute values of the differences are shown in the fourth column of Table 11.
    3. We rank the absolute differences. Notice that the absolute values for Benjamin and Samantha are . Had they not been tied, their ranks would have been 1 and 2. The mean of 1 and 2 is . Thus, each child's age is assigned the rank of 1.5. There is also a tie between Juan and Aiko, with . Had they not been tied, their ranks would have been 4 and 5, so each child's age is assigned the mean rank of 4.5. The ranks of the absolute differences are shown in the fifth column of Table 11.
    4. Attach to each rank the sign of its corresponding value of . This is its signed rank. For example, the rank of for Adam is 3, but the sign of for Adam is negative (–). We attach this negative sign to the rank for Adam to give us Adam's signed rank of –3. Replace each original data value with its corresponding signed rank, shown in the last column of Table 11.

    14-25

    Next, we need to sum the positive ranks and the negative ranks. There are two positive signed ranks: Juan's 4.5 and Samantha's 1.5. Thus, . There are three negative signed ranks, which we add to get . Taking the absolute value gives us . Table 9 tells us that Thus, .

  • Step 4 State the conclusion and the interpretation. The rejection rule is to reject if . Because is not ≤1, we do not reject . There is insufficient evidence that the population median age of missing children differs from 6 years old.

NOW YOU CAN DO

Exercises 19–22.