This function calculates the exact confidendence interval for a response rate presented by \(n\) and \(r\).
Arguments
- r
Number of success or responder
- n
Sample size
- alpha
confidence level
- drop
Determines if
drop()will be called on the result
Details
Confidence intervals are obtained by a procedure first given in Clopper and Pearson (1934). This guarantees that the confidence level is at least (1-\(\alpha\)).
Details can be found in the publication listed below.
References
Clopper CJ, Pearson ES (1934). “The use of confidence or fiducial limits illustrated in the case of the binomial.” Biometrika, 26(4), 404–413. doi:10.1093/biomet/26.4.404 .