LR.lower {CLAST}R Documentation

Calculates likelihood ratio based lower limit

Description

Calculates approximate lower limit for a probability from x successes out of n binary trials based on the signed root likelihood ratio.

Usage

LR.lower(x, n, a = 0.05, epsilon = 1e-18)

Arguments

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.

Value

A numeric values between 0 and 1

Author(s)

Chris J. Lloyd

Examples

# 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)

[Package CLAST version 1.0.1 Index]