Answer:
A sample of
is needed, in which E is the desired margin of error, as a proportion. If we find a decimal value, we round up to the next whole number.
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 of:
![M = z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/nqm1cetumuawgnf21cjwekd4pqalhffs6t.png)
In a previous study of 1012 randomly chosen respondents, 374 said that there should be such a law.
This means that
![n = 1012, \pi = (374)/(1012) = 0.3696](https://img.qammunity.org/2022/formulas/mathematics/college/jbh1ajnbg198jwxmj39hqqo1ik446e96o1.png)
95% confidence level
So
, z is the value of Z that has a pvalue of
, so
.
How large a sample size is needed to be 95% confident with a margin of error of E?
A sample size of n is needed, and n is found when M = E.
![M = z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/nqm1cetumuawgnf21cjwekd4pqalhffs6t.png)
![E = 1.96\sqrt{(0.3696*0.6304)/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/l7qu1m787s0fru8bipv1fpvqghsr9jbkz6.png)
![E√(n) = 1.96√(0.3696*0.6304)](https://img.qammunity.org/2022/formulas/mathematics/college/bifefdsk6ilxst211hrxi2dqqnijpebnbx.png)
![√(n) = (1.96√(0.3696*0.6304))/(E)](https://img.qammunity.org/2022/formulas/mathematics/college/mx6w22pwsfb28al9yilkhrmviyx91syih4.png)
![(√(n))^2 = ((1.96√(0.3696*0.6304))/(E))^2](https://img.qammunity.org/2022/formulas/mathematics/college/tqhg5t8xgo8t254hcjytns305sllj2vmsz.png)
![n = ((1.96√(0.3696*0.6304))/(E))^2](https://img.qammunity.org/2022/formulas/mathematics/college/4d4hv8k9b0tod4xzyc2btcbxzqgpwaks79.png)
A sample of
is needed, in which E is the desired margin of error, as a proportion. If we find a decimal value, we round up to the next whole number.