confint.tramME {tramME} | R Documentation |
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.
## S3 method for class 'tramME' confint( object, parm = NULL, level = 0.95, pargroup = c("all", "fixef", "shift", "baseline", "ranef"), type = c("Wald", "wald", "profile"), estimate = FALSE, pmatch = FALSE, parallel = c("no", "multicore", "snow"), ncpus = getOption("profile.ncpus", 1L), ... )
object |
A fitted tramME object. |
parm |
The indeces or names of the parameters of interest. See in details. |
level |
Confidence level. |
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 |
parallel |
Method for parallel computation |
ncpus |
Number of cores to use for parallel computation |
... |
Optional parameters |
A matrix with lower and upper bounds.
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