Answer:
a: 1037 is the minimum sample size needed
b: 712 is the minimum sample size needed
Step-by-step explanation:
We need to use the formula for minimum sample size of a proportion when a sample proportion is known.
The level of confidence is 99%, which has a corresponding z-value of 2.575.
We know the desired error is 4%, or 0.04.
Part a: We have no prior estimate. See attached photo for calculation
Part b:
We know p-hat = 0.22. Therefore q-hat = 1 - 0.22 = 0.78
See the attached photo for the calculation of the minimum sample size