confint.incubate_fit {incubate} | R Documentation |
Confidence intervals for parameters of incubate-model fits.
Description
Bias-corrected bootstrap confidence limits (either quantile-based or normal-approximation based) are generated. Optionally, there are also variants that use a log-transformation first. At least R=1000 bootstrap replications are recommended. Default are quantile-based confidence intervals that internally use a log-transformation.
Usage
## S3 method for class 'incubate_fit'
confint(
object,
parm,
level = 0.95,
R = 199L,
bs_data,
bs_infer = c("logquantile", "lognormal", "quantile", "quantile0", "normal", "normal0"),
useBoot = FALSE,
...
)
Arguments
object |
object of class |
parm |
character. Which parameters to get confidence interval for? |
level |
numeric. Which is the requested confidence level for the interval? Default value is 0.95 |
R |
number of bootstrap replications. Used only if not |
bs_data |
character or bootstrap data object. If character, it specifies which type of bootstrap is requested and the bootstrap data will be generated. Data can also be provided here directly. If missing it uses parametric bootstrap. |
bs_infer |
character. Which type of bootstrap inference is requested to generate the confidence interval? |
useBoot |
logical. Delegate bootstrap confint calculation to the |
... |
further arguments, currently not used. |
Value
A matrix (or vector) with columns giving lower and upper confidence limits for each parameter.