confint.LmME {tramME} | R Documentation |
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 class 'LmME' confint( object, parm = NULL, level = 0.95, as.lm = FALSE, pargroup = c("all", "fixef", "shift", "baseline", "ranef"), type = c("Wald", "wald", "profile"), estimate = FALSE, pmatch = FALSE, ... )
object |
A fitted LmME object. |
parm |
The indeces or names of the parameters of interest. See in details. |
level |
Confidence level. |
as.lm |
Logical. If |
pargroup |
fixef: fixed-effects, shift: shift parameters, all: fixed effects and variance component parameters, baseline: parameters of the baseline transformation function, ranef: variance components parameters. |
type |
Type of the CI: either Wald or profile. |
estimate |
Logical, add the point estimates in a thrid column |
pmatch |
Logical. If |
... |
Optional parameters passed to |
A matrix with lower and upper bounds.
data("sleepstudy", package = "lme4") fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy) confint(fit) ## transformation model parametrization confint(fit, as.lm = TRUE) ## LMM parametrization confint(fit, as.lm = TRUE, pargroup = "fixef", estimate = TRUE) confint(fit, as.lm = TRUE, parm = "(Sigma)") ## error SD