1.2.TEST of Proportions Solved Problems
1.2.TEST of Proportions Solved Problems
1. Let’s try: Dogs Detecting Cancer by Smell. Recent research suggests that dogs may be helpful in
detecting when a person has cancer. In this example, we describe a study investigating
whether dogs can be trained to distinguish a patient with bladder cancer by smelling certain
compounds in the patient’s urine. One sample from a cancer patient was placed among 6
control urine samples. In fifty-four trials, the dogs correctly identified the bladder cancer sample
15 times. Did this study provide strong evidence that the dog’s predictions were better than
random guessing? Let = 0.05.
(a) State the null and alternative hypotheses
• 𝐻0 : = 1/7
• 𝐻𝐴 : > 1/7
15 1
−
𝑧𝑐 = 54 7
1 1
√7 (1 − 7)
54
𝑧𝑐 = 2.84
(c) Calculate the p-value
p-value = 0.0023
Since p-value < 0.05, 0.0023 < 0.05, we reject the 𝐻0 , accept the 𝐻𝐴.
Yes, this study provides a strong evidence that the dog’s predictions were better than random
guessing. This sample research suggests that dogs are helpful in detecting when a person has bladder
cancer.
2. A survey is carried out to determine whether or not a majority of American adults approve of
the legalization of marijuana. In October of this year, Gallup conducted a survey of 1,028 adults,
and found that 596 of them favor legalizing marijuana. Is there evidence to suggest that a
majority of Americans favor the legalization of marijuana? Carry out a hypothesis test by
completing the following steps, and using a level of significance of 0.05:
(a) State the null and alternative hypotheses
• 𝐻0 : = 1/2
• 𝐻𝐴 : > 1/2
(b) Calculate the test statistic
596 1
−
𝑧𝑐 = 1028 2
1 1
√2 (1 − 2)
1028
𝑧𝑐 = 5.12
p-value is very small such that we cannot determine the area between z=0 and z=5.12 under the
normal curve table.
(d) State the conclusion
The p-value is very small, lesser than the 0.05, reject the 𝐻0 , accept the 𝐻𝐴 .
Yes, there evidence to suggest that a majority of Americans favor the legalization of marijuana.