Suppose a researcher were interested in whether a drug helped people fall asleep. Subjects took the drug one night and a placebo another night with the order counterbalanced. The number of minutes it took each of 8 subjects to fall asleep is shown below.

If the drug has no effect, then the population proportion (π) of people falling asleep faster in the drug condition is 0.50. Therefore, the null hypothesis is that π = 0.50. Of the 8 subjects, 7 fell asleep faster with the drug.Drug Placebo 12 21 9 16 11 8 21 36 17 28 22 20 18 29 11 22