Respuesta :
Answer:
We need to conduct a hypothesis in order to check if that the proportion of men who own cats is significantly different than the proportion of women who own cats , the system of hypothesis would be:
Null hypothesis:[tex]p_{m} = p_{f}[/tex]
Alternative hypothesis:[tex]p_{m} \neq p_{f}[/tex]
And the best option would be:
h 0 : p m = p f h 1 : p m ≠ p f
[tex]z=\frac{0.4-0.6}{\sqrt{(\frac{0.4*(1-0.4)}{20}+\frac{0.6*(1-0.6)}{20})}}=-1.29[/tex]
[tex]p_v =2*P(Z<-1.29)=0.20[/tex]
So the p value is a very high value and using any significance level for example [tex]\alpha=0.02[/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
Step-by-step explanation:
Data given and notation
[tex]n_{m}=20[/tex] sample of male selected
[tex]n_{f}=20[/tex] sample of female selected
[tex]\hat p_{m}=0.4[/tex] represent the proportion of men with cats
[tex]p_{f}=0.6[/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 that the proportion of men who own cats is significantly different than the proportion of women who own cats , the system of hypothesis would be:
Null hypothesis:[tex]p_{m} = p_{f}[/tex]
Alternative hypothesis:[tex]p_{m} \neq p_{f}[/tex]
And the best option would be:
h 0 : p m = p f h 1 : p m ≠ p f
We need to apply a z test to compare proportions, and the statistic is given by:
[tex]z=\frac{p_{m}-p_{f}}{\sqrt{(\frac{\hat p_f (1-\hat p_f)}{n_{m}}+\frac{\hat p_f (1-\hat p_f)}{n_{f}})}}[/tex] (1)
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.4-0.6}{\sqrt{(\frac{0.4*(1-0.4)}{20}+\frac{0.6*(1-0.6)}{20})}}=-1.29[/tex]
Statistical decision
The significance level provided is [tex]\alpha=0.02[/tex], but we can calculate the p value for this test.
Since is a two sided test the p value would be:
[tex]p_v =2*P(Z<-1.29)=0.20[/tex]
So the p value is a very high value and using any significance level for example [tex]\alpha=0.02[/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