I'm attempting to solve a problem from a statistics course in regards to finding the sample size I need to take when given the Margin of Error, Confidence interval, and 'true proportion' (probability).
The problem follows:
A researcher is interested in determining the proportion of first year university students who have suffered hearing loss from loud music and other big-city sounds. How many students should she give hearing tests to, in order to determine this proportion with a margin of error (half width of confidence interval) of 0.1 using a 95% confidence interval if she believes from previous studies that the true proportion is 0.25.
I've been having some trouble with this part of the course, and I'm not quite sure which formula to apply here. I know I would need an equation for a sample size that relates the above values, If you can provide a suitable formula I'm certain I can go from there. Any help is appreciated, thank you!.