Description Usage Arguments Value Author(s) Examples
This function performs a grid search to find the lowest support level that has the desired coverage probability. It begins by searching a grid of relative likelihood values using a fixed number of parametric bootstraps at each point. The likelihood value is then refined using a golden section based search.
1 2 |
dat |
This argument is the number of success if family='binomial', the number of occurences if family='poisson', or a vector of normal draws if family='normal'. |
n |
Number of trials if family='binomial' |
family |
Data type entered, accepts "binomial", "poisson", "pois", "gaussian", "normal" |
conf.level |
target confidence level |
B |
Number of parametric bootstraps to use to estimate coverage probability after the initial grid search. |
gridlo |
Lowest relative likelihood considered in the initial grid search |
gridhi |
Highest relative likelihood considered in the initial grid search |
gridix |
size of steps to be checked between gridlo and gridhi in initial search |
tol |
acceptable error in the likelihood support level returned |
si |
The support interval estimated to have the desired confidence level |
support.level |
The relative likelihood defining the interval's endpoints |
init.grid |
Relative likelihoods checked as part of the initial gridsearch and their estimated coverage |
Derek Smith
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.