Respuesta :
Answer:
a) Yes (See below)
b) [tex]p_v =2*P(Z<-7.339)\approx 2.15x10^{-13}[/tex]
c) We are confident at 95% that the difference between the two proportions is between [tex]-0.3704 \leq p_M -p_F \leq -0.2196[/tex]
d) [tex]p_v =2*P(Z<-0.1287)= 0.898[/tex]
We are confident at 95% that the difference between the two proportions is between [tex]-0.065 \leq p_M -p_F \leq 0.0569[/tex]
Step-by-step explanation:
Data given and notation
[tex]X_{M}=136[/tex] represent the number of males that answer yes
[tex]X_{F}=224[/tex] represent the number of female that answer yes
[tex]n_{M}=240[/tex] represent the number of males selected
[tex]n_{F}=260[/tex] represent the number of females selected
[tex]p_{M}=\frac{136}{240}=0.567[/tex] represent the proportion of males that answer yes
[tex]p_{F}=\frac{224}{260}=0.862[/tex] represent the proportion of female that answer yes
z would represent the statistic (variable of interest)
[tex]p_v[/tex] represent the value for the test (variable of interest)
[tex]\alpha=0.01[/tex] significance level given
Part a
Concepts and formulas to use
We need to conduct a hypothesis in order to check if is there is a difference between the two proportions, the system of hypothesis would be:
Null hypothesis:[tex]p_{M} - p_{F}=0[/tex]
Alternative hypothesis:[tex]p_{M} - \mu_{F} \neq 0[/tex]
We need to apply a z test to compare proportions, and the statistic is given by:
[tex]z=\frac{p_{M}-p_{F}}{\sqrt{\hat p (1-\hat p)(\frac{1}{n_{M}}+\frac{1}{n_{F}})}}[/tex] (1)
Where [tex]\hat p=\frac{X_{M}+X_{F}}{n_{M}+n_{F}}=\frac{136+224}{240+260}=0.72[/tex]
Calculate the statistic
Replacing in formula (1) the values obtained we got this:
[tex]z=\frac{0.567-0.862}{\sqrt{0.72(1-0.72)(\frac{1}{240}+\frac{1}{260})}}=-7.339[/tex]
Part b
Statistical decision
Since is a two sided test the p value would be:
[tex]p_v =2*P(Z<-7.339)\approx 2.15x10^{-13}[/tex]
Comparing the p value with the significance level given [tex]\alpha=0.01[/tex] we see that [tex]p_v<\alpha[/tex] so we can conclude that we have enough evidence to reject the null hypothesis, and we can say that we have enough evidence to conclude that we have a significant difference in the two proportions.
Part c
The confidence interval for the difference of two proportions would be given by this formula
[tex](\hat p_M -\hat p_F) \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}}[/tex]
For the 95% confidence interval the value of [tex]\alpha=1-0.95=0.05[/tex] and [tex]\alpha/2=0.025[/tex], with that value we can find the quantile required for the interval in the normal standard distribution.
[tex]z_{\alpha/2}=1.96[/tex]
And replacing into the confidence interval formula we got:
[tex](0.567-0.862) - 1.96 \sqrt{\frac{0.567(1-0.567)}{240} +\frac{0.862(1-0.862)}{260}}=-0.3704[/tex]
[tex](0.567-0.862) + 1.96 \sqrt{\frac{0.567(1-0.567)}{240} +\frac{0.862(1-0.862)}{260}}=-0.2196[/tex]
And the 95% confidence interval would be given (-0.3704;-0.2196).
We are confident at 95% that the difference between the two proportions is between [tex]-0.3704 \leq p_M -p_F \leq -0.2196[/tex]
Part d
Everything change. The new proportion for males would be:
[tex]p_{M}=\frac{206}{240}=0.858[/tex] represent the proportion of males that answer yes
[tex]z=\frac{0.858-0.862}{\sqrt{0.86(1-0.86)(\frac{1}{240}+\frac{1}{260})}}=-0.1287[/tex]
[tex]p_v =2*P(Z<-0.1287)= 0.898[/tex]
Comparing the p value with the significance level given [tex]\alpha=0.01[/tex] we see that [tex]p_v>\alpha[/tex] so we can conclude that we have enough evidence to FAIL reject the null hypothesis, and we don't have significant difference between the two propotions.
[tex](0.858-0.862) - 1.96 \sqrt{\frac{0.858(1-0.858)}{240} +\frac{0.862(1-0.862)}{260}}=-0.065[/tex]
[tex](0.858-0.862) + 1.96 \sqrt{\frac{0.858(1-0.858)}{240} +\frac{0.862(1-0.862)}{260}}=0.0569[/tex]
And the 95% confidence interval would be given (-0.065;0.0569).
We are confident at 95% that the difference between the two proportions is between [tex]-0.065 \leq p_M -p_F \leq 0.0569[/tex]