Abundant statistical literature has revealed the importance of constructing and evaluating various methods for constructing confidence intervals (CI) for single binomial proportion (p). We comprehensively provide procedures in frequentist (approximate with or without adding pseudo counts or continuity correction or exact) and in Bayesian cultures. Evaluation procedures for CI warrant active computational attention and required summaries pertaining to four criterion (coverage probability, expected length, p-confidence, p-bias, and error) are implemented.
R package for proportion
Multiple procedures to obtain an interval estimate for an unknown proportion (p) based on binomial sampling. It is known that approximations are poor when the true p is close to zero or to one. So we provide alternative procedures with better properties. Non-iterative methods widely discussed in litrature for computing a (central) two-sided interval estimate for p are implemented in terms of coverage probability and expected length.