confint_binom {fcci} | R Documentation |
Binomial proportion confidence intervals
Description
Build confidence intervals for binomial proportions using the Feldman-Cousins construction (Feldman and Cousins, 1998).
Usage
confint_binom(n, N, cl = 0.95, acc = 0.001)
Arguments
n |
number of successes. Numeric vector of length one. |
N |
number of trials. Numeric vector of length one. |
cl |
confidence level for the returned confidence interval. A number between zero and one. |
acc |
required accuracy in the confidence interval endpoints. A positive number. |
Details
More details on the Feldman-Cousins construction can be found in the documentation page of confint_pois.
Value
a numeric vector of length two, containing the confidence interval endpoints.
References
Feldman, Gary J. and Cousins, Robert D. "Unified approach to the classical statistical analysis of small signals" Phys. Rev. D 57, issue 7 (1998): 3873-3889.
See Also
Examples
confint_binom(50, 100, cl = 0.95, acc = 1e-3)
[Package fcci version 1.0.1 Index]