ci_prop_clopper_pearson | R Documentation |
Calculates the Clopper-Pearson interval by calling stats::binom.test()
.
Also referred to as the exact
method.
ci_prop_clopper_pearson(x, conf.level = 0.95, data = NULL)
x |
( |
conf.level |
( |
data |
( |
\left( \frac{k}{n} \pm z_{\alpha/2} \sqrt{\frac{\frac{k}{n}(1-\frac{k}{n})}{n} +
\frac{z^2_{\alpha/2}}{4n^2}} \right)
/ \left( 1 + \frac{z^2_{\alpha/2}}{n} \right)
An object containing the following components:
n |
Number of responses |
N |
Total number |
estimate |
The point estimate of the proportion |
conf.low |
Lower bound of the confidence interval |
conf.high |
Upper bound of the confidence interval |
conf.level |
The confidence level used |
method |
Type of method used |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.