Theorem 10.4.2. Standard Confidence interval for p.
Given a sample of size n with relative frequency \(\tilde{p}\text{,}\) the standard two-sided confidence interval at confidence level \(1-\alpha\) for the unknown proportion p is given by
\begin{equation*}
\tilde{p} - z_{ \alpha/2}\sqrt{\tilde{p}(1-\tilde{p})/n} \lt p \lt \tilde{p} + z_{ \alpha/2}\sqrt{\tilde{p}(1-\tilde{p})/n}
\end{equation*}
where \(z_{\alpha/2}\) satisfies \(P(Z>z_{\alpha/2})=\alpha/2\) in the standard normal distribution.