Null hypothesis "H_0:\\;p=0.8."
Alternative hypothesis "H_a:\\;p>0.8."
Test statistic: "z=\\frac{\\hat p-p}{\\sqrt{\\frac{p(1-p)}{n}}}=\\frac{0.87-0.8}{\\sqrt{\\frac{0.8(1-0.8)}{100}}}=1.75."
P-value: "p=P(Z>1.75)=0.0401."
Since the P-value is less than 0.05, reject the null hypothesis.
Comments
Leave a comment