binci | R Documentation |
Calculates exact confidence bounds on a single binomial probability
binci(r, n, conf = 0.95)
r |
number of successes |
n |
total number of trials |
conf |
confidence level |
Calculates exact 1-(1-conf)/2
upper and lower confidence limits for a
binomial proportion. The precision of the solution is the default in
uniroot
.
Returns a vector containing the two confidence limits. Returns 0 for the lower limit if r=0, and returns 1 for the upper limit if r=n.
twocon
binci(54, 88)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.