This package is an R wrapper of the C++ implementaton of the Blyth-Still-Casella confidence interval

It requires C++11 and the boost C++ library: The original C++ code is wrapped with an R interface using Rcpp and the boost library depedency is handled by the BH R package.


You can install the released version of rbscCI from CRAN with:



This is a basic example to find the 95% confidence interval of the probability of success when there are 25 success out of 100 coin flips:

bscCI(100, 25, 0.95, digits = 3)
#> [1] 0.171 0.341

Try the rbscCI package in your browser

Any scripts or data that you put into this service are public.

rbscCI documentation built on July 8, 2020, 7:15 p.m.