Answer:
A sample size of 752 is needed.
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 of:
![M = z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/nqm1cetumuawgnf21cjwekd4pqalhffs6t.png)
90% confidence level
So
, z is the value of Z that has a p-value of
, so
.
If the candidate wants a 3% margin of error at a 90% confidence level, what size of sample is needed?
We have no estimate of the proportion, so we use
.
The sample size is n for which M = 0.03. So
![M = z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/nqm1cetumuawgnf21cjwekd4pqalhffs6t.png)
![0.03 = 1.645\sqrt{(0.5*0.5)/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/uhsqkhw744kto4i32psopisdnuz6ugx183.png)
![0.03√(n) = 1.645*0.5](https://img.qammunity.org/2022/formulas/mathematics/college/j2mnrdf93svmi9pec822sl14h4nm2qnfm1.png)
![√(n) = (1.645*0.5)/(0.03)](https://img.qammunity.org/2022/formulas/mathematics/college/ap1boec8u43ek7cfyw1p1lazul5v8e3ojo.png)
![(√(n))^2 = ((1.645*0.5)/(0.03))^2](https://img.qammunity.org/2022/formulas/mathematics/college/sqi3lz95wo51057694fkkbmlfxdha4b236.png)
![n = 751.67](https://img.qammunity.org/2022/formulas/mathematics/college/905eo5xadoxmgb68zn60z2fkn710fuo518.png)
Rounding up:
A sample size of 752 is needed.