extractBoot | R Documentation |
This generic function extracts the fixed and random components of bootstrapped estimates of an lqmm
object.
extractBoot(object, which = "fixed") ## S3 method for class 'boot.lqmm' extractBoot(object, which = "fixed")
object |
an object of |
which |
character indicating whether |
The "random"
parameters refer to the "raw" parameters of the variance-covariance matrix of the random effects as returned by lqmm.fit.gs
and lqmm.fit.df
.
a matrix of bootstrapped estimates.
Marco Geraci
boot.lqmm
, lqmm.fit.gs
, lqmm.fit.df
## Orthodont data data(Orthodont) # Random intercept model fit <- lqmm(distance ~ age, random = ~ 1, group = Subject, tau = 0.5, data = Orthodont) fit.boot <- boot(fit) # extract fixed effects B <- extractBoot(fit.boot, which = "fixed") # covariance matrix estimated fixed parameters cov(B)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.