Answer:
The sample size needed is 3115.
Step-by-step explanation:
In a sample with a number n of people surveyed with a probability of a success of [tex]\pi[/tex], and a confidence level of [tex]1-\alpha[/tex], we have the following confidence interval of proportions.
[tex]\pi \pm z\sqrt{\frac{\pi(1-\pi)}{n}}[/tex]
In which
z is the z-score that has a p-value of [tex]1 - \frac{\alpha}{2}[/tex].
The margin of error is:
[tex]M = z\sqrt{\frac{\pi(1-\pi)}{n}}[/tex]
Point estimate:
[tex]\pi = 0.76[/tex]
95% confidence level
So [tex]\alpha = 0.05[/tex], z is the value of Z that has a p-value of [tex]1 - \frac{0.05}{2} = 0.975[/tex], so [tex]Z = 1.96[/tex].
Calculate the sample size needed to be 95% confident that the error in estimating the true value of p is less than 0.015?
This is n for which M = 0.015. So
[tex]M = z\sqrt{\frac{\pi(1-\pi)}{n}}[/tex]
[tex]0.015 = 1.96\sqrt{\frac{0.76*0.24}{n}}[/tex]
[tex]0.015\sqrt{n} = 1.96\sqrt{0.76*0.24}[/tex]
[tex]\sqrt{n} = \frac{1.96\sqrt{0.76*0.24}}{0.015}[/tex]
[tex](\sqrt{n})^2 = (\frac{1.96\sqrt{0.76*0.24}}{0.015})^2[/tex]
[tex]n = 3114.26[/tex]
Rounding up:
The sample size needed is 3115.