A researcher for a pharmaceutical company wants to compare the effects of three treatments on 35 patients. The researcher assigns a treatment to each patient. The researcher wants to determine whether the treatment assignments are random.
To determine whether the treatment assignments are random, the researcher performs a runs test.
The p-value is 0.930, which is greater than the significance level of 0.05. The researcher does not have enough evidence to conclude that the data are not in random order.
Number of Observations | |||
---|---|---|---|
N | K | ≤ K | > K |
35 | 2 | 23 | 12 |
Null hypothesis | H₀: The order of the data is random |
---|---|
Alternative hypothesis | H₁: The order of the data is not random |
Number of Runs | ||
---|---|---|
Observed | Expected | P-Value |
17 | 16.77 | 0.930 |