lib: Likelihood Interval for Probability of Single Sample from Binomial Distribution
Description
Likelihood interval for probability of single sample assuming binomial distribution. Likelihood function plot is also shown. For faster calculation speed, plot option '0' is recommended.
Value
demo
basic demographics of data
LI
estimated interval of probability (y/n) by LI
CI
estimated interval of probability (y/n) by CI
plot
likelihood-related plots
Arguments
event
number of events from observed data; a numeric vector
total
total number of trials from observed data; a numeric vector
plot
likelihood function plots by LI; default is "all"
conf.level
confidence level for the interval estimation
eps
machine epsilon value; default is 1e-08
k
cutoff value for likelihood interval. If not specified, F-test is used.
Author
Kyun-Seop Bae <k@acr.kr>, Minkyu Kim <mkim@acr.kr>