This function takes Poisson data and using a root finding algorithm to calculate the support interval at the user's specified level. If conf=T, the function will attempt to estimate the confidence level of the support interval using a parametric bootstrap approach.
Usage
poisLikSI(dat, level, tol = 0.001, conf = F, B = 500)
Arguments
dat
Numeric; outcome from a Poisson experiment
level
Desired support level
tol
tolerance argument passed to uniroot for finding SI endpoints
conf
Logical; Whether or not to simulate the confidence level of the SI
B
Number of simulations to determine coverage if conf=T