The following problems are copied from the chapter 16 exercises from Introduction to Modern Statistics First Edition by Mine Çetinkaya-Rundel and Johanna Hardin (https://openintro-ims.netlify.app/inference-one-prop.html)
Show as much work as possible. Indicate what values you use, n =, z =, p =, when appropriate.
ANSWER: .235 + or - 1.96*.017= (.203, .271). I am 95% confident that the proportion of shoppers who visit a certain shop because they received a coupon in the mail lies in the interval (.203, .271).
1-sample proportions test without continuity correction
data: 142 out of 603, null probability 0.5
X-squared = 168.76, df = 1, p-value < 2.2e-16
alternative hypothesis: true p is not equal to 0.5
95 percent confidence interval:
0.2033633 0.2709640
sample estimates:
p
0.2354892
ANSWER: sqrt(p(1-p)/n))=sqrt(.12(1-.12)/4265)= .0050. I am 90% Confident that the proportion of UK adults who think coronovirus will bring the world closer together lies within the interval (.112,.128)
prop.test(x = 512, n = 4265, correct=FALSE, conf.level = .90)
1-sample proportions test without continuity correction
data: 512 out of 4265, null probability 0.5
X-squared = 2462.9, df = 1, p-value < 2.2e-16
alternative hypothesis: true p is not equal to 0.5
90 percent confidence interval:
0.1121008 0.1284747
sample estimates:
p
0.1200469
ANSWER: \(.005 = 1.645^*\sqrt{\frac{.12(1-.12)}{n}}\)= 11430.3 or 11430 people as these are people and one cannot have .3 of a person.
Date and time completed: Mon Oct 10 09:05:04 2022