Statistics Canada conducts an annual survey to estimate the proportion of Canadians aged 20 - 24 years of age who are smokers. The most recent application of the Canadian Tobacco Monitoring Survey involved a random sample of n=496 Canadians aged 20 to 24 years of age. Each was asked for the smoking status. The number of 20 to 24 year-olds sampled who indicated they were smokers was 333. (a) Compute the sample proportion. Use at least four decimals in your answer. p^= __________ (b) Using your answer in (a), find a 97% confidence interval for pnow, the current proportion of 20 to 24 year old Canadians who are smokers, by Bootstrapping 1000 samples. Use the seed 3994 to ensure that R-Studio "randomly" samples the same "random" samples as this question will expect. You can do this by including the code, you can copy it into your R-Studio to bootstrap your samples. RNGkind(sample.kind = "Rejection"); set.seed(3994); B=do(1000) * mean(resample(c(rep(1,333),rep(0,496-333)), 496)); Use at least four decimals in all your calculations. lower bound = ______ upper bound = ________     (c) Using your answer in (a), find a 97% confidence interval for pnow, the current proportion of 20 to 24 year old Canadians who are smokers, by Using the Z distribution. To avoid rounding errors you should use R-Studio and not Z tables Use at least four decimals in all your calculations. lower bound = __________   upper bound = _________

Holt Mcdougal Larson Pre-algebra: Student Edition 2012
1st Edition
ISBN:9780547587776
Author:HOLT MCDOUGAL
Publisher:HOLT MCDOUGAL
Chapter11: Data Analysis And Probability
Section11.4: Collecting Data
Problem 3E
icon
Related questions
Question

Statistics Canada conducts an annual survey to estimate the proportion of Canadians aged 20 - 24 years of age who are smokers. The most recent application of the Canadian Tobacco Monitoring Survey involved a random sample of n=496 Canadians aged 20 to 24 years of age. Each was asked for the smoking status. The number of 20 to 24 year-olds sampled who indicated they were smokers was 333.

(a) Compute the sample proportion. Use at least four decimals in your answer.

p^= __________




(b) Using your answer in (a), find a 97% confidence interval for pnow, the current proportion of 20 to 24 year old Canadians who are smokers, by Bootstrapping 1000 samples. Use the seed 3994 to ensure that R-Studio "randomly" samples the same "random" samples as this question will expect.

You can do this by including the code, you can copy it into your R-Studio to bootstrap your samples.

RNGkind(sample.kind = "Rejection");
set.seed(3994);
B=do(1000) * mean(resample(c(rep(1,333),rep(0,496-333)), 496));

Use at least four decimals in all your calculations.

lower bound = ______

upper bound = ________

 
 


(c) Using your answer in (a), find a 97% confidence interval for pnow, the current proportion of 20 to 24 year old Canadians who are smokers, by Using the Z distribution.
To avoid rounding errors you should use R-Studio and not Z tables
Use at least four decimals in all your calculations.

lower bound = __________

 

upper bound = _________

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill