Respuesta :
Answer:
[tex]z=\frac{0.497-0.446}{\sqrt{0.473(1-0.473)(\frac{1}{700}+\frac{1}{650})}}=1.88[/tex]
[tex]p_v =2*P(Z>1.88)=0.0601[/tex]
Comparing the p value with the significance level given [tex]\alpha=0.1[/tex] we see that [tex]p_v<\alpha[/tex] so we can conclude that we have enough evidence to to reject the null hypothesis, and we can say that the proportions analyzed are significantly different.
Step-by-step explanation:
Data given and notation
[tex]X_{1}=348[/tex] represent the number of people Who Will Vote for Politician below 40
[tex]X_{2}=290[/tex] represent the number of people Who Will Vote for Politician above 40
[tex]n_{1}=700[/tex] sample below 40
[tex]n_{2}=650[/tex] sample above 40
[tex]p_{1}=\frac{348}{700}=0.497[/tex] represent the proportion estimated for Who Will Vote for Politician below 40
[tex]p_{2}=\frac{290}{650}=0.446[/tex] represent the proportion estimated for Who Will Vote for Politician above 40
[tex]\hat p[/tex] represent the pooled estimate of p
z would represent the statistic (variable of interest)
[tex]p_v[/tex] represent the value for the test (variable of interest)
[tex]\alpha=0.1[/tex] significance level given
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_{1} = p_{2}[/tex]
Alternative hypothesis:[tex]p_{1} \neq p_{2}[/tex]
We need to apply a z test to compare proportions, and the statistic is given by:
[tex]z=\frac{p_{1}-p_{2}}{\sqrt{\hat p (1-\hat p)(\frac{1}{n_{1}}+\frac{1}{n_{2}})}}[/tex] (1)
Where [tex]\hat p=\frac{X_{1}+X_{2}}{n_{1}+n_{2}}=\frac{348+290}{700+650}=0.473[/tex]
z-test: Is used to compare group means. Is one of the most common tests and is used to determine whether the means of two groups are equal to each other.
Calculate the statistic
Replacing in formula (1) the values obtained we got this:
[tex]z=\frac{0.497-0.446}{\sqrt{0.473(1-0.473)(\frac{1}{700}+\frac{1}{650})}}=1.88[/tex]
Statistical decision
Since is a two sided test the p value would be:
[tex]p_v =2*P(Z>1.875)=0.0601[/tex]
Comparing the p value with the significance level given [tex]\alpha=0.1[/tex] we see that [tex]p_v<\alpha[/tex] so we can conclude that we have enough evidence to to reject the null hypothesis, and we can say that the proportions analyzed are significantly different.