LR.lower | R Documentation |
Calculates approximate lower limit for a probability from x successes out of n binary trials based on the signed root likelihood ratio.
LR.lower(x, n, a = 0.05, epsilon = 1e-18)
x |
number of successes (integer between 0 and n inclusive) |
n |
number of binary trials |
a |
coverage error of limit |
epsilon |
Tolerance supplied to uniroot. |
A numeric values between 0 and 1
Chris J. Lloyd
# Find approximate 99% lower limit for probability based on 20 successes from 55 trials. LR.lower(20,55,a=0.01) # Find exact (95%) lower limit for probability based on all failures. LR.lower(0,5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.