Respuesta :
Answer:
[tex]\hat p=\frac{X_{m}+X_{w}}{n_{m}+n_{w}}=\frac{214+215}{510+420}=0.461[/tex]
[tex]z=\frac{0.420-0.512}{\sqrt{0.461(1-0.461)(\frac{1}{510}+\frac{1}{420})}}=-2.80[/tex]
Since is a two tailed side test the p value would be:
[tex]p_v =2*P(Z<-2.80)=0.00511[/tex]
If we compare the p value and using any significance level for example [tex]\alpha=0.05[/tex] always [tex]p_v<\alpha[/tex] so we can conclude that we have enough evidence to reject the null hypothesis, and we can say the two proportions are significantly different.
Step-by-step explanation:
Data given and notation
[tex]X_{m}=214[/tex] represent the number of men with cats
[tex]X_{w}=215[/tex] represent the number of women with cats
[tex]n_{m}=510[/tex] sample for men
[tex]n_{f}=420[/tex] sample for women
[tex]\hat p_{m}=\frac{214}{510}=0.420[/tex] represent the proportion of men with cats
[tex]\hat p_{f}=\frac{215}{420}=0.512[/tex] represent the proportion of women with cats
z would represent the statistic (variable of interest)
[tex]p_v[/tex] represent the value for the test (variable of interest)
Concepts and formulas to use
We need to conduct a hypothesis in order to check if the proportions are different, the system of hypothesis would be:
Null hypothesis:[tex]p_{m} = p_{f}[/tex]
Alternative hypothesis:[tex]p_{m} \neq p_{f}[/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_{w}}{n_{m}+n_{w}}=\frac{214+215}{510+420}=0.461[/tex]
Calculate the statistic
Replacing in formula (1) the values obtained we got this:
[tex]z=\frac{0.420-0.512}{\sqrt{0.461(1-0.461)(\frac{1}{510}+\frac{1}{420})}}=-2.80[/tex]
Statistical decision
For this case we don't have a significance level provided [tex]\alpha[/tex], but we can calculate the p value for this test.
Since is a two tailed side test the p value would be:
[tex]p_v =2*P(Z<-2.80)=0.00511[/tex]
If we compare the p value and using any significance level for example [tex]\alpha=0.05[/tex] always [tex]p_v<\alpha[/tex] so we can conclude that we have enough evidence to reject the null hypothesis, and we can say the two proportions are significantly different.