Using the z-distribution and the formula for the margin of error, it is found that:
a) A sample size of 54 is needed.
b) A sample size of 752 is needed.
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.
In which z is the z-score that has a p-value of
.
The margin of error is of:
![M = z\sqrt{\frac{\pi(1-\pi)}{n}}](https://tex.z-dn.net/?f=M%20%3D%20z%5Csqrt%7B%5Cfrac%7B%5Cpi%281-%5Cpi%29%7D%7Bn%7D%7D)
90% confidence level, hence
, z is the value of Z that has a p-value of
, so
.
Item a:
The estimate is
.
The sample size is <u>n for which M = 0.03</u>, hence:
![M = z\sqrt{\frac{\pi(1-\pi)}{n}}](https://tex.z-dn.net/?f=M%20%3D%20z%5Csqrt%7B%5Cfrac%7B%5Cpi%281-%5Cpi%29%7D%7Bn%7D%7D)
![0.03 = 1.645\sqrt{\frac{0.018(0.982)}{n}}](https://tex.z-dn.net/?f=0.03%20%3D%201.645%5Csqrt%7B%5Cfrac%7B0.018%280.982%29%7D%7Bn%7D%7D)
![0.03\sqrt{n} = 1.645\sqrt{0.018(0.982)}](https://tex.z-dn.net/?f=0.03%5Csqrt%7Bn%7D%20%3D%201.645%5Csqrt%7B0.018%280.982%29%7D)
![\sqrt{n} = \frac{1.645\sqrt{0.018(0.982)}}{0.03}](https://tex.z-dn.net/?f=%5Csqrt%7Bn%7D%20%3D%20%5Cfrac%7B1.645%5Csqrt%7B0.018%280.982%29%7D%7D%7B0.03%7D)
![(\sqrt{n})^2 = \left(\frac{1.645\sqrt{0.018(0.982)}}{0.03}\right)^2](https://tex.z-dn.net/?f=%28%5Csqrt%7Bn%7D%29%5E2%20%3D%20%5Cleft%28%5Cfrac%7B1.645%5Csqrt%7B0.018%280.982%29%7D%7D%7B0.03%7D%5Cright%29%5E2)
![n = 53.1](https://tex.z-dn.net/?f=n%20%3D%2053.1)
Rounding up, a sample size of 54 is needed.
Item b:
No prior estimate, hence ![\pi = 0.05](https://tex.z-dn.net/?f=%5Cpi%20%3D%200.05)
![M = z\sqrt{\frac{\pi(1-\pi)}{n}}](https://tex.z-dn.net/?f=M%20%3D%20z%5Csqrt%7B%5Cfrac%7B%5Cpi%281-%5Cpi%29%7D%7Bn%7D%7D)
![0.03 = 1.645\sqrt{\frac{0.5(0.5)}{n}}](https://tex.z-dn.net/?f=0.03%20%3D%201.645%5Csqrt%7B%5Cfrac%7B0.5%280.5%29%7D%7Bn%7D%7D)
![0.03\sqrt{n} = 1.645\sqrt{0.5(0.5)}](https://tex.z-dn.net/?f=0.03%5Csqrt%7Bn%7D%20%3D%201.645%5Csqrt%7B0.5%280.5%29%7D)
![\sqrt{n} = \frac{1.645\sqrt{0.5(0.5)}}{0.03}](https://tex.z-dn.net/?f=%5Csqrt%7Bn%7D%20%3D%20%5Cfrac%7B1.645%5Csqrt%7B0.5%280.5%29%7D%7D%7B0.03%7D)
![(\sqrt{n})^2 = \left(\frac{1.645\sqrt{0.5(0.5)}}{0.03}\right)^2](https://tex.z-dn.net/?f=%28%5Csqrt%7Bn%7D%29%5E2%20%3D%20%5Cleft%28%5Cfrac%7B1.645%5Csqrt%7B0.5%280.5%29%7D%7D%7B0.03%7D%5Cright%29%5E2)
![n = 751.7](https://tex.z-dn.net/?f=n%20%3D%20751.7)
Rounding up, a sample of 752 should be taken.
A similar problem is given at brainly.com/question/25694087