The following information is provided: The sample size is N = 484
the number of favorable cases is X = 117 and the sample proportion is
"\\bar p = \\frac{X}{N} = \\frac{ 117}{ 484} = 0.2417" and the significance level is α=0.05.
The following null and alternative hypotheses need to be tested:
Ho:p=0.5Ha:p≠ 0.5
This corresponds to a two-tailed test, for which a z-test for one population proportion needs to be used.
"z = \\frac{\\bar p - p_0}{\\sqrt{p_0(1-p_0)\/n}} = \\frac{ 0.2417 - 0.5 }{\\sqrt{ 0.5(1- 0.5)\/484}} = -11.364"
Using the P-value approach:Using Z table find the value left to -11.36
P value= 2(1- invnorm(11.36))=0.
The p-value is p = 0 and since p=0<0.05, it is concluded that the null hypothesis is rejected.
It is concluded that the null hypothesis Ho is rejected. Therefore, there is enough evidence to claim that the population proportion p is different than p0 at α=0.05 significance level.
Comments
Leave a comment