Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

esting Claims About Proportions. In Exercises 7–22, test the given claim. Identify the null hypothesis, alternative hypothesis, test statistic, P-value or critical value(s), then state the conclusion about the null hypothesis, as well as the final conclusion that addresses the original claim.

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.

a. Test the claim using a hypothesis test.

b. Test the claim by constructing an appropriate confidence interval.

c. Relative to accuracy of orders, does either restaurant chain appear to be better?

Short Answer

Expert verified

a.There is sufficient evidence to reject the claim thatBurger King and McDonald’s have the same accuracy rates.

b.The 95% confidence interval obtained is (-0.129, -0.028), and it suggests that there is sufficient evidence to reject the claim thatBurger King and McDonald’s have the same accuracy rates.

c.McDonald’shas a better accuracy rate compared to Burger King.

Step by step solution

01

Given information

In testing the accuracy of drive-through orders, for Burger King, 264 orders were accurate, and 54 were not accurate, while for McDonald’s, 329 orders were accurate and 33 were not accurate.

The level of significance to test the hypothesis is 0.05.

02

Describe the hypotheses to be tested

Null hypothesis:Burger King and McDonald’s have the same accuracy rates.

\({H_0}:{p_1} = {p_2}\)

Alternate Hypothesis:Burger King and McDonald’s do not have the same accuracy rates.

\({H_1}:{p_1} \ne {p_2}\)

03

Calculate the sample statistics

The sample size\(\left( {{n_1}} \right)\)is computed below:

\(\begin{array}{c}{n_1} = 264 + 54\\ = 318\end{array}\)

The sample size\(\left( {{n_2}} \right)\)is computed below:

\(\begin{array}{c}{n_2} = 329 + 33\\ = 362\end{array}\)

Assume that\({x_1}\)and\({x_2}\)are the number of accurate orders for Burger King and McDonald’s respectively.

Let \({\hat p_1}\)be the sample accuracy rate of Burger King.

Thus,

\(\begin{array}{c}{{\hat p}_1} = \frac{{{x_1}}}{{{n_1}}}{\rm{ }}\\ = \frac{{264}}{{318}}\\ = 0.83\end{array}\)

\(\begin{array}{c}{{\hat q}_1} = 1 - {{\hat p}_1}\\ = 0.17\end{array}\)

Let \({\hat p_2}\)be the sample accuracy rate of McDonald’s.

Thus,

\(\begin{array}{c}{{\hat p}_2} = \frac{{{x_2}}}{{{n_2}}}{\rm{ }}\\ = \frac{{329}}{{362}}\\ = 0.91\end{array}\)

\(\begin{array}{c}{{\hat q}_2} = 1 - {{\hat p}_2}\\ = 0.09\end{array}\)

The value of the pooled sample proportion is equal to:

\(\begin{array}{c}\bar p = \frac{{{x_1} + {x_2}}}{{{n_1} + {n_2}}}\\ = \frac{{264 + 329}}{{318 + 362}}\\ = 0.872\end{array}\)

Hence,

\(\begin{array}{c}\bar q = 1 - \bar p\\ = 1 - 0.872\\ = 0.128\end{array}\)

04

Compute the value of test statistic

The test statistic is equal to:

\(\begin{array}{c}z = \frac{{\left( {{{\hat p}_1} - {{\hat p}_2}} \right) - \left( {{p_1} - {p_2}} \right)}}{{\sqrt {\frac{{\bar p\bar q}}{{{n_1}}} + \frac{{\bar p\bar q}}{{{n_2}}}} }}\\ = \frac{{\left( {0.83 - 0.91} \right) - 0}}{{\sqrt {\frac{{\left( {0.872} \right)\left( {0.128} \right)}}{{318}} + \frac{{\left( {0.872} \right)\left( {0.128} \right)}}{{362}}} }}\\ = - 3.064\end{array}\)

Thus, z=-3.064.

Referring to the standard normal distribution table, the critical values of z corresponding to\(\alpha = 0.05\)for a two-tailed test are equal to -1.96 and 1.96.

Referring to the standard normal distribution table, the corresponding p-value is equal to 0.0022.

Here, the value of the test statistic does not lie between the two critical values.

Therefore, reject the null hypothesis under 0.05 significance level.

05

Conclusion of the test

a.

There is sufficient evidence to reject the claim thatBurger King and McDonald’s have the same accuracy rates.

06

Describe the confidence interval

If the level of significance for a two-tailed test is equal to 0.05, then the corresponding confidence level to construct the confidence interval is equal to 95%.

The confidence interval estimate has the following formula:

\(\left( {{{\hat p}_1} - {{\hat p}_2}} \right) - E < {p_1} - {p_2} < \left( {{{\hat p}_1} - {{\hat p}_2}} \right) + E\)

Here, E is the margin of error.

07

Calculate the margin of error

E is the margin of error and has the following formula:

\(\begin{array}{c}E = {z_{\frac{\alpha }{2}}}\sqrt {\frac{{{{\hat p}_1}{{\hat q}_1}}}{{{n_1}}} + \frac{{{{\hat p}_2}{{\hat q}_2}}}{{{n_2}}}} \\ = 1.96 \times \sqrt {\frac{{\left( {0.83} \right)\left( {0.17} \right)}}{{318}} + \frac{{\left( {0.91} \right)\left( {0.09} \right)}}{{362}}} \\ = 0.051\end{array}\)

08

Construct the confidence interval

b.

Substituting the required values, the following confidence interval is obtained:

\(\begin{array}{c}\left( {{{\hat p}_1} - {{\hat p}_2}} \right) - E < {p_1} - {p_2} < \left( {{{\hat p}_1} - {{\hat p}_2}} \right) + E\\(0.83 - 0.91) - 0.051 < {p_1} - {p_2} < (0.83 - 0.91) + 0.051\\ - 0.129 < {p_1} - {p_2} < - 0.028\end{array}\)

Thus, the 95% confidence interval is equal to (-0.129, -0.028).

This confidence interval does not contain zero that means there is a significant difference between the two proportions of accurate orders.

Therefore, the confidence interval suggests that there is sufficient evidence to reject the claim thatBurger King and McDonald’s have the same accuracy rates.

09

Compare the accuracy rates.

c.

There is a significant difference between the proportions of accurate orders of Burger King and McDonald’s, and the confidence interval contains only negative values.

Therefore, the accuracy rate of Burger King is less than that of McDonald’s, and McDonald’s can be considered better.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Notation for the sample data given in exercise 1, consider the salk vaccine treatment group to be the first sample. Identify the values of \({{\bf{n}}_{\bf{1}}}{\bf{,}}{{\bf{\hat p}}_{\bf{1}}}{\bf{,}}{{\bf{\hat q}}_{\bf{1}}}{\bf{,}}{{\bf{n}}_{\bf{2}}}{\bf{,}}{{\bf{\hat p}}_{\bf{2}}}{\bf{,}}{{\bf{\hat q}}_{\bf{2}}}{\bf{,\bar p}}\) and \({\bf{\bar q}}\). Round all values so that they have six significant digits.

Heights Use a 0.01 significance level with the sample data from Exercise 3 to test the claim that women have heights with a mean that is less than the mean height of men.

Testing Claims About Proportions. In Exercises 7–22, test the given claim. Identify the null hypothesis, alternative hypothesis, test statistic, P-value or critical value(s), then state the conclusion about the null hypothesis, as well as the final conclusion that addresses the original claim.

Cell Phones and Handedness A study was conducted to investigate the association between cell phone use and hemispheric brain dominance. Among 216 subjects who prefer to use their left ear for cell phones, 166 were right-handed. Among 452 subjects who prefer to use their right ear for cell phones, 436 were right-handed (based on data from “Hemi- spheric Dominance and Cell Phone Use,” by Seidman et al., JAMA Otolaryngology—Head & Neck Surgery, Vol. 139, No. 5). We want to use a 0.01 significance level to test the claim that the rate of right-handedness for those who prefer to use their left ear for cell phones is less than the rate of right-handedness for those who prefer to use their right ear for cell phones. (Try not to get too confused here.)

a. Test the claim using a hypothesis test.

b. Test the claim by constructing an appropriate confidence interval.

Assume that the two samples are independent simple random samples selected from normally distributed populations, and do not assume that the population standard deviations are equal. (Note: Answers in Appendix D include technology answers based on Formula 9-1 along with “Table” answers based on Table A-3 with df equal to the smaller of\({n_1} - 1\)and\({n_2} - 1\))

Regular Coke and Diet Coke Data Set 26 “Cola Weights and Volumes” in Appendix B includesweights (lb) of the contents of cans of Diet Coke (n= 36,\(\overline x \)= 0.78479 lb, s= 0.00439 lb) and of the contents of cans of regular Coke (n= 36,\(\overline x \)= 0.81682 lb, s= 0.00751 lb).

a. Use a 0.05 significance level to test the claim that the contents of cans of Diet Coke have weights with a mean that is less than the mean for regular Coke.

b. Construct the confidence interval appropriate for the hypothesis test in part (a).

c. Can you explain why cans of Diet Coke would weigh less than cans of regular Coke?

Independent and Dependent Samples Which of the following involve independent samples?

a. Data Set 14 “Oscar Winner Age” in Appendix B includes pairs of ages of actresses and actors at the times that they won Oscars for Best Actress and Best Actor categories. The pair of ages of the winners is listed for each year, and each pair consists of ages matched according to the year that the Oscars were won.

b. Data Set 15 “Presidents” in Appendix B includes heights of elected presidents along with the heights of their main opponents. The pair of heights is listed for each election.

c. Data Set 26 “Cola Weights and Volumes” in Appendix B includes the volumes of the contents in 36 cans of regular Coke and the volumes of the contents in 36 cans of regular Pepsi.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free