Respuesta :
Answer:
[tex]a) \ H_o:\hat p_f=\hat p_m\\\ \ \ H_a:\hat p_f\neq \hat p_m\\\\b) z\ test=2.925, \ p\ value(two-tail)=0.003444\\\\\\[/tex]
c) Reject H_o since there is sufficient evidence to suggest that there is difference between males and females with respect to how they feel about this issue.
d. No. Interval does not include zero
e. [tex]CI=[0.01044<(\hat p_f-\hat p_m)<0.05576[/tex]
We are 95% confident that the proportional difference lies between the [0.010444,0.05576] interval.
Step-by-step explanation:
a. The null hypothesis is that there is no difference between males and females with respect to how they feel about this issue:
[tex]H_o:p_m=p_f[/tex]
-The alternative hypothesis is that there is some difference between males and females with respect to how they feel about this issue:
[tex]H_a:p_m\neq p_f[/tex]
where [tex]p_m, \ p_f[/tex] is the proportion of males and females respectively.
b. The proportion of males and females in the study can be calculated as follows:
[tex]\hat p=\frac{x}{n}\\\\\hat p_f=\frac{1729}{1913}=0.9038\\\\\hat p_m=\frac{1111}{1276}=0.8707[/tex]
[tex]\hat p=\frac{x_f+x_m}{n_m+n_f}=\frac{1111+1729}{1276+1913}=0.8906[/tex]
#We then calculate the test statistic using the formula:
[tex]z=\frac{(\hat p_f-\hat p_m)}{\sqrt{\hat p(1-\hat p)(\frac{1}{n_f}+\frac{1}{n_m})}}\\\\\\=\frac{(0.9038-0.8707)}{\sqrt{(0.8906\times0.1094)(\frac{1}{1913}+\frac{1}{1276})}}\\\\\\=2.9250\\\\\therefore p-value=0.001722\\[/tex]
[tex]\# The \ two \ tail \ p-value \ is\\\\=0.01722\times 2\\\\=0.003444[/tex]
c. Since p<0.05:
[tex]p<0.05\\\\0.00344<0.05\\\\\therefore Reject \ H_o[/tex]
Hence, we Reject the Null Hypothesis since there is sufficient evidence to suggest that there is difference between males and females with respect to how they feel about this issue
d. The 95% confidence interval can be calculated as below:
[tex]CI=(p_f-p_m)\pm z_{\alpha/2}\sqrt{\frac{\hat p_m(1-\hat p_m)}{n_m}+\frac{\hat p_f(1-\hat p_f)}{n_f}}\\\\=(0.9038-0.8707)\pm 1.96\sqrt{0.00008823+0.000045449}\\\\=0.03310\pm 0.02266\\\\=[0.01044,0.05576][/tex]
Hence, the confidence interval does not include 0
e. The 95% confidence interval calculated from above is :
[tex]0.01044<(p_f-p_m)<0.05576[/tex]
Hence, we are 95% confident that the proportional difference will fall between the interval [tex]0.01044<(\hat p_f-\hat p_m)<0.05576[/tex]