lme4-extractors {dmlalg} | R Documentation |
Extract Components from 'mmdml' Fits Imported from 'lme4'
Description
Methods for the class mmdml
for generics from lme4.
Usage
fixef(object, ...)
## S3 method for class 'mmdml'
fixef(object, ...)
ranef(object, ...)
## S3 method for class 'mmdml'
ranef(object, ...)
VarCorr(x, sigma = 1, ...)
## S3 method for class 'mmdml'
VarCorr(x, ...)
vcov(object, ...)
## S3 method for class 'mmdml'
vcov(object, ...)
Arguments
object , x |
An object of class |
sigma |
|
... |
Further arguments passed to or from other methods. |
Details
fixef.mmdml
:
Extracts the estimator of the linear coefficient , which
is a named and numeric vector.
ranef.mmdml
:
Extracts the random_eff
entry from object
.
VarCorr.mmdml
:
The variance and correlation components are computed with the
sigma
and the theta
entries of x
as in
lmer
.
For each of the S
repetitions, sigma
and theta
computed
on the K
sample splits are aggregated by taking the mean.
Then, the S
mean-aggregated estimates are aggregated by
the median.
The variance and correlation components are computed with these
median-aggregated estimates.
vcov.mmdml
:
It returns the variance-covariance matrix of the estimator of the linear
coefficient is extracted.
It is computed based on the asymptotic Gaussian distribution
of the estimator.
First, for each of the S
repetitions, the variance-covariance
matrices computed
on the K
sample splits are aggregated by taking the mean.
Second, the S
mean-aggregated estimates are aggregated by
adding a term correcting for the randomness in the sample splits
and by taking the median of these corrected terms.
This final corrected and median-aggregated matrix is returned.
Value
See Also
Examples
## See example(mmdml) for examples