A matrix (or a list of matrices if bootstrap ci are requested) including the confidence intervals for the model parameters.
Arguments
object
A fit object returned by segmented.lme.
parm
A vector of numbers indicating which parameters should be considered. If missing all parameters.
level
The confidence level.
obj.boot
The possible list including the bootstrap distributions of the regression coefficients. Such list is returned by vcov.segmented.lme(.., ret.b=TRUE)
...
if obj.boot is missing and bootstrap CIs are requested, additional optional arguments, such as B, seed, and it.max.b, to be used in computations of the boot distributions.
Author
Vito Muggeo
Warning
All the functions for segmented mixed models (*.segmented.lme) are still at an experimental stage
Details
If obj.boot is provided or ... includes the argument B>0, confidence intervals are computed by exploiting the bootstrap
distributions.
if (FALSE) {
confint(os) #asymptotic CIconfint(os, B=50) #boot CIs#it is possible to obtain the boot distribution beforehandob <-vcov(os, B=50, ret.b=TRUE)
confint(os, obj.boot=ob) #boot CI
}