What is the Clopper-Pearson exact interval, and what are the tradeoffs of using it versus approximate proportion intervals?
Last updated
Clopper-Pearson is an exact interval built by inverting the binomial test with beta quantiles, so coverage is guaranteed to be at least nominal (no large-sample assumption).
Tradeoff: binomial discreteness makes it conservative, with intervals wider than necessary and average coverage well above 95%.
Use it when coverage must be guaranteed (regulatory, safety-critical). Wilson or Agresti-Coull give near-nominal coverage with narrower intervals for everyday use, while Wald fails at small n or extreme p.
- https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats._result_classes.BinomTestResult.proportion_ci.html
- https://medium.com/data-science/five-confidence-intervals-for-proportions-that-you-should-know-about-7ff5484c024f
- https://www.statsmodels.org/devel/generated/statsmodels.stats.proportion.proportion_confint.html
- https://pmc.ncbi.nlm.nih.gov/articles/PMC6690503/
- https://tedboy.github.io/statsmodels_doc/generated/statsmodels.stats.proportion.proportion_confint.html
- https://casrai.org/guides/confidence-interval-for-a-proportion
- https://www.graphpad.com/guides/prism/latest/statistics/stat_three_methods_for_computing_th.htm
- https://www.statsmodels.org/0.9.0/generated/statsmodels.stats.proportion.proportion_confint.html