A researcher is interested in the difference in the rates of diabetes among people living in rural areas and people living in urban areas. They randomly selected 1023 people living in rural areas and found that 122 had diabetes and of 1332 people living in urban areas found that 167 people had diabetes. Conduct a hypothesis test to determine if there is a difference between the diabetes rates of people living in rural and urban areas. Please include all steps of the test. Use significance level of 0.05
Please answer with steps! Thank you.
Ans:
sample proportion 1=122/1023=0.1193
sample proportion 2= 167/1332=0.1254
pooled proportion=(122+167)/(1023+1332)=0.1227
Test statistic:
z=(0.1193-0.1254)/sqrt(0.1227*(1-0.1227)*((1/1023)+(1/1332)))
z=-0.447
critical z value(two tailed)=+/-1.96
Rejection region: z<-1.96 or z>1.96
Decision:Fail to reject the null hypothesis.
Conclusion:There is not sufficient evidence to conclude that there is a difference between the diabetes rates of people living in rural and urban areas.
Get Answers For Free
Most questions answered within 1 hours.