LR.lower {CLAST} | 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)