Holooly Plus Logo

Question 13.10: Ages of Substance Abuse Program Participants Twenty people e......

Ages of Substance Abuse Program Participants

Twenty people enrolled in a substance abuse program. Test the claim that the ages of the people, according to the order in which they enroll, occur at random, at α = 0.05. The data are 18, 36, 19, 22, 25, 44, 23, 27, 27, 35, 19, 43, 37, 32, 28, 43, 46, 19, 20, 22.

Step-by-Step
The 'Blue Check Mark' means that this solution was answered by an expert.
Learn more on how do we answer questions.

Step 1 State the hypotheses and identify the claim.

H_{0} : The ages of the people, according to the order in which they enroll in a substance abuse program, occur at random (claim).

H_{1} : The ages of the people, according to the order in which they enroll in a substance abuse program, do not occur at random.

Step 2 Find the critical value.

Find the median of the data. Arrange the data in ascending order.

18 19 19 19 20 22 22 23 25 27 27

28 32 35 36 37 43 43 44 46

The median is 27 .

Replace each number in the original sequence as written in the example with an \mathrm{A} if it is above the median and with a \mathrm{B} if it is below the median. Eliminate any numbers that are equal to the median.

Recall the original sequence is 18,36,19,22, \ldots, 22. Then

18 is below the median, so it is \mathrm{B};

36 is above the median, so it is \mathrm{A};

19 is below the median, so it is \mathrm{B};

etc.

The sequence of letters, then, is

B A B B B A B A B A A A A A A B B B

There are 9 A’s and 9 B’s. Table M shows that with n_{1}=9, n_{2}=9, and \alpha=0.05, the number of runs should be between 5 and 15 .

Step 3 Find the test value. Determine the number of runs from the sequence of letters.

\begin{array}{|c|l|} \hline \text{Run }& \text{Letters }\\ \hline 1 & B \\ 2 & A \\ 3 & B B B \\ 4 & A \\ 5 & B \\ 6 & A \\ 7 & B \\ 8 & AAAAAAA \\ 9 & B B B \\ \hline \end{array}

The number of runs G=9.

Step 4 Make the decision. Since there are 9 runs and 9 falls between the critical values 5 and 15 , the null hypothesis is not rejected.

Step 5 Summarize the results. There is not enough evidence to reject the hypothesis that the ages of the people who enroll occur at random.

TABLE  M  Critical Values for the Number of Runs
This table gives the critical values at 𝛼 = 0.05 for a two-tailed test. Reject the null hypothesis if the number of runs is less than or equal to the smaller value or greater than or equal to the larger value.
Value of n2
Value of n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
2 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2
6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
3 1 1 1 1 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3
6 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
4 1 1 1 2 2 2 3 3 3 3 3 3 3 3 4 4 4 4 4
6 8 9 9 9 10 10 10 10 10 10 10 10 10 10 10 10 10 10
5 1 1 2 2 3 3 3 3 3 4 4 4 4 4 4 4 5 5 5
6 8 9 10 10 11 11 12 12 12 12 12 12 12 12 12 12 12 12
6 1 2 2 3 3 3 3 4 4 4 4 5 5 5 5 5 5 6 6
6 8 9 10 11 12 12 13 13 13 13 14 14 14 14 14 14 14 14
7 1 2 2 3 3 3 4 4 5 5 5 5 5 6 6 6 6 6 6
6 8 10 11 12 13 13 14 14 14 14 15 15 15 16 16 16 16 16
8 1 2 3 3 3 4 4 5 5 5 6 6 6 6 6 7 7 7 7
6 8 10 11 12 13 14 14 15 15 16 16 16 16 17 17 17 17 17
9 1 2 3 3 4 4 5 5 5 6 6 6 7 7 7 7 8 8 8
6 8 10 12 13 14 14 15 16 16 16 17 17 18 18 18 18 18 18
10 1 2 3 3 4 5 5 5 6 6 7 7 7 7 8 8 8 8 9
6 8 10 12 13 14 15 16 16 17 17 18 18 18 19 19 19 20 20
11 1 2 3 4 4 5 5 6 6 7 7 7 8 8 8 9 9 9 9
6 8 10 12 13 14 15 16 17 17 18 19 19 19 20 20 20 21 21
12 2 2 3 4 4 5 6 6 7 7 7 8 8 8 9 9 9 10 10
6 8 10 12 13 14 16 16 17 18 19 19 20 20 21 21 21 22 22
13 2 2 3 4 5 5 6 6 7 7 8 8 9 9 9 10 10 10 10
6 8 10 12 14 15 16 17 18 19 19 20 20 21 21 22 22 23 23
14 2 2 3 4 14 5 6 7 7 8 8 9 9 9 10 10 10 11 11
6 8 10 12 14 15 16 17 18 19 20 20 21 22 22 23 23 23 24
15 2 3 3 4 5 6 6 7 7 8 8 9 9 10 10 11 11 11 12
6 8 10 12 14 15 16 18 18 19 20 21 22 22 23 23 24 24 25
16 2 3 4 4 5 6 6 7 8 8 9 9 10 10 11 11 11 12 12
6 8 10 12 14 16 17 18 19 20 21 21 22 23 23 24 25 25 25
17 2 3 4 4 5 6 7 7 8 9 9 10 10 11 11 11 12 12 13
6 8 10 12 14 16 17 18 19 20 21 22 23 23 24 25 25 26 26
18 2 3 4 5 5 6 7 8 8 9 9 10 10 11 11 12 12 13 13
6 8 10 12 14 16 17 18 19 20 21 22 23 24 25 25 26 26 27
19 2 3 4 5 6 6 7 8 8 9 10 10 11 11 12 12 13 13 13
6 8 10 12 14 16 17 18 20 21 22 23 23 24 25 26 26 27 27
20 2 3 4 5 6 6 7 8 9 9 10 10 11 12 12 13 13 13 14
6 8 10 12 14 16 17 18 20 21 22 23 24 25 25 26 27 27 28

Source: Adapted from C. Eisenhardt and F. Swed, “Tables for Testing Randomness of Grouping in a Sequence of Alternatives,” The Annals of Statistics, vol. 14 (1943), pp. 83–86. Reprinted with permission of the Institute of Mathematical Statistics and of the Benjamin/Cummings Publishing Company, in whose publication, Elementary Statistics, 3rd ed. (1989), by Mario F. Triola, this table appears.

Related Answered Questions