We have:
Sample proportion, p = 80% = 0.8
Sample size, n = 1001 × 0.8 = 800.8
Population size, N = 1001
Confidence interval 95% ⇒ the z-value for this is 1.96
We'd need to work out the standard deviation (σ) and the error margin (E) in order to work out the confidence interval
σ = [tex] \sqrt{ \frac{p(1-p)}{n} } * \sqrt{ \frac{N-n}{N-1} } [/tex]
Substituting the value we have
σ = [tex] \sqrt{ \frac{0.8(1-0.8)}{800.8} }* \sqrt{ \frac{1001-800.8}{1001-1} } [/tex]
σ = [tex] \sqrt{ \frac{0.16}{800.8} }* \sqrt{ \frac{200.2}{1000} } [/tex]
σ = 0.006325
Calculating the margin of error (E)
Standard Deviation × Critical Value = 0.006325 × 1.96 = 0.012397
So, the sample 95% interval is given as 80% ⁺/₋ 0.012 which means between 0.788 and 0.812