Question

In: Statistics and Probability

Immediately after a ban on using hand-held cell phones while driving was implemented, compliance with the...

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.

a) 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. (Use R studio and show your commands and output for using R.)

b) 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.  (Use R studio and show your commands and output for using R.)

Solutions

Expert Solution

a)

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 (p1) and then one year later (p2)

p1 = 98.9% ( 1236 out of 1250 )

p2= 96.9% ( 1066 out of 1100 )

H0: p1 = p2  versus HA: p1p2

Test of hypothesis using a significance level of α= 0.05

R-commands :

#--- Run a z test
ztest <- prop.test(c(1236,1066), n = c(1250, 1100), correct = F)
ztest

R-outputs :

p-value of test = 0.0007

Conclusion:

Since p-value < 0.025 (significance level alpha=0.05 two tailed ) ==> Reject H0

There is highly significant statistical difference (i.e., a two-sided test) in these two proportions measured initially (p1) and then one year later (p2)

b)

95% confidence interval : R output

For this example, 98.8% of initial and 96.9% of one year later.

The difference in these two proportions is 98.8% - 96.9% =  1.9% and the 95% CI for this difference is (0.79% , 3.15%).

We are 95% confident that drop in proportion after one year will be between ( 0.79% and 3.15% ).


Related Solutions

Immediately after a ban on using hand-held cell phones while driving was implemented, compliance with the...
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. a) State an appropriate null and alternative hypothesis for testing whether or not there is any statistical difference...
Immediately after a ban on using hand-held cell phones while driving was implemented, compliance with the...
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.,...
Please DO NOT HANDWRITE Immediately after a ban on using hand-held cell phones while driving was...
Please DO NOT HANDWRITE 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...
Please DO NOT HANDWRITE Immediately after a ban on using hand-held cell phones while driving was...
Please DO NOT HANDWRITE 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 the P-value of your test and also state your conclusion.   Develop a 95%...
DO NOT HANDWARITE PLEASE DO NOT HANDWARITE PLEASE Immediately after a ban on using hand-held cell...
DO NOT HANDWARITE PLEASE DO NOT HANDWARITE PLEASE 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...
A recent study shows that 83% of teenagers have used cell phones while driving. In Oct....
A recent study shows that 83% of teenagers have used cell phones while driving. In Oct. 2010, California enacted a law that forbids cell phone use by drivers under the age of 18. A policy analyst would like to test whether the law has lowered the proportion of drivers under the age of 18 who use a cell phone. In a random sample of 80 young drivers, 62 of them said that they used cell phones while driving. Test the...
Although some states and cities have passed laws to ban texting and using handheld phones while...
Although some states and cities have passed laws to ban texting and using handheld phones while driving, there is no current law to ban all cell phone use while driving. However, according to the National Safety Council (2009), 28 percent of all crashes—1.6 million per year—are caused by cell phone use and texting by drivers. The mission of a new national nonprofit organization called FocusDriven, patterned after Mothers Against Drunk Driving, is to make phone use while driving as illegal...
Hypothesis: If people are frequently interrupted by messages on their cell phones while working on an...
Hypothesis: If people are frequently interrupted by messages on their cell phones while working on an assignment, then it will take them much longer to complete the assignment beyond the time it took to read and reply to the messages. Design an experiment that would test this hypothesis. In your description, identify the independent variable (including the experimental and control conditions) and the dependent variable. 
4. Suppose Chipco produces memory chips for hand-held devices such as tablets and phones. Total costs...
4. Suppose Chipco produces memory chips for hand-held devices such as tablets and phones. Total costs in the short-run can be described with the following formula: TC = 300 + 5Q + 0.1(Q2) where Q is the number of chips produced per week and TC is the total cost of chips. a. With the above cost function in mind, make a table of Q, TC, MC, AVC, and ATC at quantities 0, 10, 20, 30, 40, 50, 60, 70, 80,...
2. What process should be implemented immediately after an injury? Why are these initial steps important...
2. What process should be implemented immediately after an injury? Why are these initial steps important to the healing process?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT