Respuesta :
Answer:
[tex]z=\frac{0.25-0.2}{\sqrt{0.221(1-0.221)(\frac{1}{120}+\frac{1}{160})}}=0.998[/tex]
[tex]p_v =2*P(Z>0.998)= 0.318[/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 FAIL to reject the null hypothesis, and we can't say that the we have significant differences between the two proportions.
Step-by-step explanation:
1) Data given and notation
[tex]X_{1}=30[/tex] represent the number of old pit bulls with tooth decay
[tex]X_{2}=32[/tex] represent the number of golden retrievers with tooth decay
[tex]n_{1}=120[/tex] sample selected for 1
[tex]n_{2}=160[/tex] sample selected for 2
[tex]p_{1}=\frac{30}{120}=0.25[/tex] represent the proportion of old pit bulls with tooth decay
[tex]p_{2}=\frac{32}{160}=0.2[/tex] represent the proportion of golden retrievers with tooth decay
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
2) 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}=0[/tex]
Alternative hypothesis:[tex]p_{1} - p_{2} \neq 0[/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_{2}+n_{2}}=\frac{30+32}{120+160}=0.221[/tex]
3) Calculate the statistic
Replacing in formula (1) the values obtained we got this:
[tex]z=\frac{0.25-0.2}{\sqrt{0.221(1-0.221)(\frac{1}{120}+\frac{1}{160})}}=0.998[/tex]
4) Statistical decision
Since is a two side test the p value would be:
[tex]p_v =2*P(Z>0.998)= 0.318[/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 FAIL to reject the null hypothesis, and we can't say that the we have significant differences between the two proportions.