A survey claims that 8 out of 10 doctors recommend aspirin for their patients with headaches. To test this claim, a random sample of 100 doctors is obtained. Of these 95 doctors, 82 indicate that they recommend aspirin.
Observed proportion = 72 = 72 / 100 = 0.72 Sample size ( n ) = 95 Null hypothesis value ( p0 ) = 82 / 100 = 0.82
Z Test Statistics Value,
z = (p^ - p0) / √p0(1 - p0) / n z = (0.72 - 0.82) / √0.82(1 - 0.82) / 95 z = (-0.10) / √0.001553684 z = -0.10 / 0.039416798 z = -2.537