Q:

A random sample of 500 adult residents of Maricopa County found that 356 were in favor of increasing the highway speed limit to 75 mph, while another sample of 400 adult residents of Pima County found that 297 were in favor of the increased speed limit. Do these data indicate that there is a difference in the support for in increasing the speed limit between the residents of the two counties? Use α = 0.05.a) do these data indicate that there is a difference in thesupport for increasing the speed limit between residents of the twocounties? Use α = 0.05. What is the P-value forthis test?b) construct a 95% confidence interval on the difference inthe two proportions. Provide a practical interpretation ofthis interval.Please show formulas

Accepted Solution

A:
Answer:[tex]z=1.04[/tex] [tex]p_v =2*P(Z>1.04)\approx 0.298[/tex]  Comparing the p value with the significance level given [tex]\alpha=0.05[/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 proportion of people in favor of the increased speed limit not differs significantly between the two groups.  Step-by-step explanation:1) Data given and notation  [tex]X_{PC}=297[/tex] represent the number of residents of Pima County in favor of the increased speed limit[tex]X_{MC}=356[/tex] represent the number of residents of Maricopa County in favor of the increased speed limit[tex]n_{PC}=400[/tex] sample of Pima County selected [tex]n_{MC}=500[/tex] sample of Maricopa County selected [tex]p_{PC}=\frac{297}{400}=0.743[/tex] represent the proportion of residents of Pima County in favor of the increased speed limit[tex]p_{MC}=\frac{356}{500}=0.712[/tex] represent the proportion of residents of Maricopa County in favor of the increased speed limitz would represent the statistic (variable of interest)  [tex]p_v[/tex] represent the value for the test (variable of interest) [tex]\alpha=0.05[/tex] significance level given2) Concepts and formulas to use  We need to conduct a hypothesis in order to check if is there is a difference in the support for in increasing the speed limit between the residents of the two counties, the system of hypothesis would be:  Null hypothesis:[tex]p_{PC} - p_{MC}=0[/tex]  Alternative hypothesis:[tex]p_{PC} - \mu_{MC} \neq 0[/tex]  We need to apply a z test to compare proportions, and the statistic is given by:  [tex]z=\frac{p_{PC}-p_{MC}}{\sqrt{\hat p (1-\hat p)(\frac{1}{n_{PC}}+\frac{1}{n_{MC}})}}[/tex]   (1) Where [tex]\hat p=\frac{X_{PC}+X_{MC}}{n_{PC}+n_{MC}}=\frac{297+356}{400+500}=0.726[/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.  3) Calculate the statistic Replacing in formula (1) the values obtained we got this:  [tex]z=\frac{0.743-0.712}{\sqrt{0.726(1-0.726)(\frac{1}{400}+\frac{1}{500})}}=1.04[/tex]   4) Statistical decision Since is a two side test the p value would be:  [tex]p_v =2*P(Z>1.04)\approx 0.298[/tex]  Comparing the p value with the significance level given [tex]\alpha=0.05[/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 proportion of people in favor of the increased speed limit not differs significantly between the two groups.