Answer:
A sample of 2017 people should be taken.
Explanation:
In a sample with a number n of people surveyed with a probability of a success of
, and a confidence level of
, we have the following confidence interval of proportions.
![\pi \pm z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/xaspnvwmqbzby128e94p45buy526l3lzrv.png)
In which
z is the zscore that has a pvalue of
.
The margin of error is:
![M = z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/nqm1cetumuawgnf21cjwekd4pqalhffs6t.png)
Suppose a 95% confidence level:
So
, z is the value of Z that has a pvalue of
, so
.
Preliminary estimate of the proportion who smoke of .30.
This means that
![\pi = 0.3](https://img.qammunity.org/2022/formulas/mathematics/college/6ruc9jtxa9jxdrjv2qd8934bu4whi439iq.png)
a. How large a sample should be taken to estimate the proportion of smokers in the population with a margin of error of .02 (to the nearest whole number)
This is n for which M = 0.02. So
![M = z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/nqm1cetumuawgnf21cjwekd4pqalhffs6t.png)
![0.02 = 1.96\sqrt{(0.3*0.7)/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/tv9jisapatg3faqgz9d29rlsa4wocolk5m.png)
![0.02√(n) = 1.96√(0.3*0.7)](https://img.qammunity.org/2022/formulas/mathematics/college/2wl2elr8kzb1ne3371xn3ulwn889fpq2y2.png)
![√(n) = (1.96√(0.3*0.7))/(0.02)](https://img.qammunity.org/2022/formulas/mathematics/college/tn2s7rh318qz25eqztdbgvwvub5fvtr38b.png)
![(√(n))^2 = ((1.96√(0.3*0.7))/(0.02))^2](https://img.qammunity.org/2022/formulas/mathematics/college/19rhpry6c8341c0degvs4ufavq899jx2s5.png)
![n = 2016.84](https://img.qammunity.org/2022/formulas/mathematics/college/si5fdu5psczduqquul47rc4fx6yih6guhz.png)
To the nearest whole number, 2017.
A sample of 2017 people should be taken.