Suppose Connie owns a pet store in a large community that has over 50,000 pet owners. She believes that the proportion of men who own cats is different from the proportion of women who own cats. Connie decides to test this claim by performing a two-sample z- test for two proportions. Her hypotheses are given by H0:pm=pwH1:pm≠pw where H0 is the null hypothesis, and H1 is the alternative hypothesis. The variables pw and pm represents the population proportion of men and women cat owners, respectively. She randomly samples 510 men and 420 women who are pet owners in the community and finds that 214 men own cats and 215 women own cats. Determine the pooled sample proportion, ^p . Provide your answer precise to three decimal places.

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.