View source: R/agrestiCoullCI.R
agrestiCoullCI | R Documentation |
Agresti-Coull confidence interval for a binomial proportion
agrestiCoullCI(n1, n0, q)
n1 |
number of successes/ones |
n0 |
number of failures/zeroes |
q |
quantile for eventual CI (e.g. 0.95 for a 95 percent binomial CI) |
the approximate (q x 100) percent confidence interval for (p|n1,n0,q)
binom.ci <- agrestiCoullCI(10, 3, 0.95)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.