In: Statistics and Probability
Accuracy of Fast Food Drive-Through Orders In a study of Burger King drive-through orders, it was found that 264 orders were accurate and 54 were not accurate. For McDonald’s, 329 orders were found to be accurate while 33 orders were not accurate (based on data from QSR magazine). Use a 0.05 significance level to test the claim that Burger King and McDonald’s have the same accuracy rates.
(1) Null and Alternative Hypotheses
The following null and alternative hypotheses need to be tested:
Ho: p1=p2
Ha:p1 p2
This corresponds to a two-tailed test, for which a z-test for two population proportions needs to be conducted.
(2) Rejection Region
Based on the information provided, the significance level is α=0.05, and the critical value for a two-tailed test is zc=1.96.
The rejection region for this two-tailed test is R={z:∣z∣>1.96}
(3) Test Statistics
The z-statistic is computed as follows:
(4) Decision about the null hypothesis
Since it is observed that ∣z∣=3.064>zc=1.96, it is then concluded that the null hypothesis is rejected.
Using the P-value approach: The p-value is p=0.0022, and since p=0.0022<0.05, it is concluded that the null hypothesis is rejected.
(5) Conclusion
It is concluded that the null hypothesis Ho is rejected. Therefore, there is enough evidence to claim that population proportion p1 is different than p2, at the 0.05 significance level.
Graphically
Let me know in the comments if anything is not clear. I will reply ASAP! Please do upvote if satisfied!