confint.tramME {tramME} | R Documentation |
Confidence intervals for tramME model parameters
Description
Confidence intervals for model parameters on their original scale. Either Wald CI or profile CI by root finding. Multicore computations are supported in the case of profile confidence intervals, but snow support is yet to be implemented.
Usage
## S3 method for class 'tramME'
confint(
object,
parm = NULL,
level = 0.95,
pargroup = c("all", "fixef", "shift", "baseline", "ranef", "smooth"),
type = c("Wald", "wald", "profile"),
estimate = FALSE,
pmatch = FALSE,
parallel = c("no", "multicore", "snow"),
ncpus = getOption("profile.ncpus", 1L),
...
)
Arguments
object |
A |
parm |
The indices or names of the parameters of interest. |
level |
Confidence level. |
pargroup |
The name of the parameter group to return:
|
type |
Type of the CI: either Wald or profile. |
estimate |
Logical, add the point estimates in a thrid column. |
pmatch |
Logical. If |
parallel |
Method for parallel computation. |
ncpus |
Number of cores to use for parallel computation. |
... |
Optional parameters. |
Value
A matrix with lower and upper bounds.
Examples
data("sleepstudy", package = "lme4")
fit <- BoxCoxME(Reaction ~ Days + (Days | Subject), data = sleepstudy)
confint(fit)
confint(fit, pargroup = "shift", estimate = TRUE)
exp(confint(fit, 1:2, pargroup = "ranef")) ## CIs for the SDs of the REs