Example 11.11 describes a study in which 354 of 708 people in the sample of 18- to

Question:

Example 11.11 describes a study in which 354 of 708 people in the sample of 18- to 29-year-olds and 412 of the 1029 people in the sample of 30- to 49-year-olds said that they thought it was OK to use a cell phone in a restaurant. Notice that the sample sizes for the two groups?people age 18 to 29 and those age 30 to 39?are large enough to satisfy the conditions for a large-sample test and a large-sample confidence interval for the difference in two population proportions. Even though the sample sizes are large enough, simulation-based methods can be used.

a. Use the following output from the Shiny app ?Randomization Test for Two Proportions,? to carry out a randomization test to determine if there is convincing evidence that the proportion who think it is OK to use a cell phone at a restaurant is higher for the 18 to 29 age group than for the 30 to 49 age group.

b. Use the output from the Shiny app ?Bootstrap Confidence Interval for Difference in Two Proportions? to identify a 90% bootstrap confidence interval for the difference in the population proportions of people age 18 to 29 and those age 30 to 39 who said that they think that it is acceptable to use a cell phone in a restaurant.

c. Compare results in Part (b) to the confidence interval reported in Example 11.11 ?Cell Phone Etiquette.? Would the interpretation change using the bootstrap confidence interval compared with the large-sample confidence interval? Explain.

imageimage

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Introduction To Statistics And Data Analysis

ISBN: 9781337793612

6th Edition

Authors: Roxy Peck, Chris Olsen, Tom Short

Question Posted: