In a survey of 1000 electors, 20 per cent were found to favour party X.
a. Construct a 95 per cent confidence interval for the percentage in favour of party X.
b. What sample size would be required to estimate the percentage in favour of party X to within ±1 per cent with a 95 per cent confidence interval?