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 .
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 females and males, so the small-sample case applies ( and ). In Appendix Table L we find the row with and the column with , giving us the critical values and (see Figure 26). We will reject if or if .
14-58
NOW YOU CAN DO
Exercises 9–20.