In: Statistics and Probability
Immediately after a ban on using hand-held cell phones while driving was implemented, compliance with the law was measured. A random sample of 1,250 drivers found that 98.9% were in compliance. A year after the implementation, compliance was again measured to see if compliance was the same (or not) as previously measured. A different random sample of 1,100 drivers found 96.9% compliance.
State an appropriate null and alternative hypothesis for testing whether or not there is any statistical difference (i.e., a two-sided test) in these two proportions measured initially and then one year later. Conduct the test of hypothesis using a significance level of α= 0.05. Be sure to check the assumptions and conditions for your test. State the P-value of your test and also state your conclusion. (Feel free to use R in showing your work - and show your commands and output if using R.)
Develop a 95% confidence interval for the true difference in proportions between the first survey and the second survey and explain what this confidence interval means in context of this problem. (Feel free to use R in showing your work - and show your commands and output if using R.