Last chance! 50% off unlimited learning
Sale ends in
Confidence intervals for model parameters on their original scale,
optionally consistent with the linear mixed-model specification.
When as.lm = TRUE
, only Wald CIs are available.
# S3 method for LmME
confint(
object,
parm = NULL,
level = 0.95,
as.lm = FALSE,
pargroup = c("all", "fixef", "ranef"),
type = c("Wald", "wald", "profile"),
estimate = FALSE,
...
)
A matrix with lower and upper bounds.
An LmME
object.
Names of the parameters to extract.
Confidence level.
Logical. If TRUE
, return results consistent with the normal linear
mixed model parameterization.
The name of the parameter group to extract. With as.lm = FALSE
,
the available options are described in confint.tramME
. When as.lm = TRUE
,
the following options are available:
all: Fixed effects and variance components parameters.
fixef: Fixed effects parameters (including FE parameters of the smooth terms).
ranef: Variance components parameters (including the smoothing parameters of the random effects).
Type of the CI: either Wald or profile.
Logical, add the point estimates in a thrid column.
Optional parameters passed to confint.tramME
data("sleepstudy", package = "lme4")
fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy)
confint(fit) ## transformation model parameterization
confint(fit, as.lm = TRUE) ## LMM parameterization
confint(fit, as.lm = TRUE, pargroup = "fixef", estimate = TRUE)
confint(fit, as.lm = TRUE, parm = "(Sigma)") ## error SD
Run the code above in your browser using DataLab