Answer:
They need to survey 4145 residents.
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 z-score that has a p-value of
.
The margin of error is given by:
![M = z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/nqm1cetumuawgnf21cjwekd4pqalhffs6t.png)
99% confidence level
So
, z is the value of Z that has a p-value of
, so
.
At least how many residents do they need to survey if they want to be at least 99% confident that the sample proportion is within 0.02 of the true proportion?
This is n for which
. As we have no estimate for the proportion, we use
. So
![M = z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/nqm1cetumuawgnf21cjwekd4pqalhffs6t.png)
![0.02 = 2.575\sqrt{(0.5*0.5)/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/p04jypxwq9zg7u5ol3ueigjq2of6dh39zi.png)
![0.02√(n) = 2.575*0.5](https://img.qammunity.org/2022/formulas/mathematics/college/407syclo9504h1rklr4j0h0p3kbh3fhxaj.png)
![√(n) = (2.575*0.5)/(0.02)](https://img.qammunity.org/2022/formulas/mathematics/college/1ia9lt8q3u1sfl49a5b0s8132cllgp4wm9.png)
![(√(n))^2 = ((2.575*0.5)/(0.02))^2](https://img.qammunity.org/2022/formulas/mathematics/college/7wm28gqullz37y8m7eezk9ilm3yx9lkww4.png)
![n = 4144.1](https://img.qammunity.org/2022/formulas/mathematics/college/u15mivmznoush28m65qrnrd6rgilz4e2pu.png)
Rounding up:
They need to survey 4145 residents.