Last chance! 50% off unlimited learning
Sale ends in
Agresti-Coull CI for a binomial proportion based on adding z^2/2 successes and z^2/2 failures before computing the Wald CI. The CI is truncated, when it overshoots the boundary.
addz2ci(x, n, conf.level)
number of successes
number of trials
confidence coefficient
A list with class '"htest"' containing the following components:
The confidence intervall for the proportion
The estimator for the proportion
Agresti, A., Coull, B. (1998): Approximate is better than exact for interval estimation of binomial proportions. The American Statistician 52, 119--126.
# NOT RUN {
addz2ci(x = 15, n = 112, conf.level = 0.95)
# }
Run the code above in your browser using DataLab