Peer uest
Contact Help
Common methods to calculate confidence band for binomial distribution

The textbook confidence interval for binomial trial is given by

\(CI=\hat{p}\pm \sqrt{\frac{\hat{p}(1-\hat{p})}{\tilde{n}}}\)
It is widely recognizedthat the actual coverage probability of the standard interval is poor for p near 0 or 1.Below are some alternatives that give a much better confidence bands

Agrestii-Coull Interval

 The confidence band is given by

\(CI_{AC}=\tilde{p}\pm \sqrt{\frac{\tilde{p}(1-\tilde{p})}{\tilde{n}}}\)





Wilson Interval

\(CI_W =\frac{x+z^2/2}{n+z^2}\pm \frac{z\sqrt{n}}{n+z^2}\sqrt{\hat{p}(1-\hat{p})+z^2/(4n)}\)

Exact Confidence Band

For small sample size, exact confidence band should be used.


Add a Comment