Lower confidence interval: \(\displaystyle{\left(-\infty,\overbrace{{{p}}}+{z}_{{\alpha}}\sqrt{{\overbrace{{{p}}}{\left({\frac{{{1}-\overbrace{{{p}}}}}{{{n}}}}\right)}}}\right.}\)

Upper confidence interval: \(\displaystyle{\left(\overbrace{{{p}}}-{z}_{{\alpha}}\sqrt{{\overbrace{{{p}}}{\left({\frac{{{1}-\overbrace{{{p}}}}}{{{n}}}}\right)},\infty}}\right\rbrace}\)

Upper confidence interval: \(\displaystyle{\left(\overbrace{{{p}}}-{z}_{{\alpha}}\sqrt{{\overbrace{{{p}}}{\left({\frac{{{1}-\overbrace{{{p}}}}}{{{n}}}}\right)},\infty}}\right\rbrace}\)