Definition 9.5.2.
The confidence interval for the proportion is an interval estimate around a sample proportion that provides a range of where \(p\) lies.
The formula for this confidence interval is
\begin{equation*}
\overline{p}\pm z_{\alpha/2}\cdot\hat{\sigma}_p,
\end{equation*}
where \(\overline{p}=\frac{x}{n}\) and \(\hat{\sigma}_p=\sqrt{\frac{\overline{p}(1-\overline{p})}{n}}\text{.}\)
The sample proportion, \(\overline{p}\text{,}\) measures the fraction of “successes” in the sample.