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

In Exercises 5–20, 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 n1−1 and n2−1.)Color and Creativity Researchers from the University of British Columbia conducted trials to investigate the effects of color on creativity. Subjects with a red background were asked to think of creative uses for a brick; other subjects with a blue background were given the same task. Responses were scored by a panel of judges and results from scores of creativity are given below. Higher scores correspond to more creativity. The researchers make the claim that “blue enhances performance on a creative task.”

a. Use a 0.01 significance level to test the claim that blue enhances performance on a creative task. b. Construct the confidence interval appropriate for the hypothesis test in part (a). What is it about the confidence interval that causes us to reach the same conclusion from part (a)?Red Background: n = 35, x = 3.39, s = 0.97Blue Background: n = 36, x = 3.97, s = 0.63

Before/After Treatment Results Captopril is a drug designed to lower systolic blood pressure. When subjects were treated with this drug, their systolic blood pressure readings (in mm Hg) were measured before and after the drug was taken. Results are given in the accompanying table (based on data from “Essential Hypertension: Effect of an Oral Inhibitor of Angiotensin-Converting Enzyme,” by MacGregor et al., British Medical Journal, Vol. 2). Using a 0.01 significance level, is there sufficient evidence to support the claim that captopril is effective in lowering systolic blood pressure?

Subject

A

B

C

D

E

F

G

H

I

J

K

L

Before

200

174

198

170

179

182

193

209

185

155

169

210

After

191

170

177

167

159

151

176

183

159

145

146

177

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.

Cardiac Arrest at Day and Night A study investigated survival rates for in hospital patients who suffered cardiac arrest. Among 58,593 patients who had cardiac arrest during the day, 11,604 survived and were discharged. Among 28,155 patients who suffered cardiac arrest at night, 4139 survived and were discharged (based on data from “Survival from In-Hospital Cardiac Arrest During Nights and Weekends,” by Puberty et al., Journal of the American Medical Association, Vol. 299, No. 7). We want to use a 0.01 significance level to test the claim that the survival rates are the same for day and night.

a. Test the claim using a hypothesis test.

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

c. Based on the results, does it appear that for in-hospital patients who suffer cardiac arrest, the survival rate is the same for day and night?

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.

Ground vs. Helicopter for Serious Injuries A study investigated rates of fatalities among patients with serious traumatic injuries. Among 61,909 patients transported by helicopter, 7813 died. Among 161,566 patients transported by ground services, 17,775 died (based on data from “Association Between Helicopter vs Ground Emergency Medical Services and Survival for Adults With Major Trauma,” by Galvagno et al., Journal of the American Medical Association, Vol. 307, No. 15). Use a 0.01 significance level to test the claim that the rate of fatalities is higher for patients transported by helicopter.

a. Test the claim using a hypothesis test.

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

c. Considering the test results and the actual sample rates, is one mode of transportation better than the other? Are there other important factors to consider?

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.

Cardiac Arrest at Day and Night A study investigated survival rates for in hospital patients who suffered cardiac arrest. Among 58,593 patients who had cardiac arrest during the day, 11,604 survived and were discharged. Among 28,155 patients who suffered cardiac arrest at night, 4139 survived and were discharged (based on data from “Survival from In-Hospital Cardiac Arrest During Nights and Weekends,” by Puberty et al., Journal of the American Medical Association, Vol. 299, No. 7). We want to use a 0.01 significance level to test the claim that the survival rates are the same for day and night.

a. Test the claim using a hypothesis test.

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

c. Based on the results, does it appear that for in-hospital patients who suffer cardiac arrest, the survival rate is the same for day and night?

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