CP.lower | R Documentation |
Calculates the exact Clopper-Pearson lower limit for a binomial probability based on x successes from n trials
CP.lower(x, n, a = 0.05)
x |
number of successes (integer between 0 and n inclusive) |
n |
number of binary trials |
a |
coverage error of limit |
A numeric value between 0 and 1
Chris J. Lloyd
Clopper, C. and Pearson, E. S. (1934). The use of confidence or fiducial limits illustrated in the case of the binomial. Biometrika, 26 (4): 404-413. doi: 10.2307/2331986
# Find exact 99% lower limit for probability based on 20 successes from 55 trials. CP.lower(20,55,a=0.01) # Find exact (95%) lower limit for probability based on all failures. CP.lower(0,5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.