EXAMPLE 24 Conducting the runs test for randomness
Test whether the sequence from Example 23 is random by conducting the runs test for randomness, using level of significance α=0.05.
Solution
We know that the data are time-ordered, and that each data value represents one of two distinct outcomes. We may thus proceed with the hypothesis test.
Step 2 Find the critical values, and state the rejection rule. We have n1=12 females and n2=8 males, so the small-sample case applies (n1≤20 and n2≤20). In Appendix Table L we find the row with n1=12 and the column with n2=8, giving us the critical values Gcrit, lower=6 and Gcrit, upper=16 (see Figure 26). We will reject H0 if Gdata≤6 or if Gdata≥16.
Gdata=G=10
NOW YOU CAN DO
Exercises 9–20.