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 = _________
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 = _________
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
![Elementary Statistics: Picturing the World (7th E…](https://www.bartleby.com/isbn_cover_images/9780134683416/9780134683416_smallCoverImage.gif)
![The Basic Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319042578/9781319042578_smallCoverImage.gif)
![Introduction to the Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319013387/9781319013387_smallCoverImage.gif)