lmeLevel-class {lme4} | R Documentation |
An object representing a single level of random effects in a linear mixed-effects model.
Objects can be created by calls of the form new("lmeLevel",
...)
or by calls to the generic constructor lmeLevel
.
precision
:"pdMat"
groups
:"factor"
) for the level.columns
:"integer"
vector of the columns in
the model matrix that correspond to this level.parsInd
:"integer"
vector giving the
subscripts in the overall parameter vector that apply to this level.originalRows
:decomposedRows
:storedRows
:nrow
:integer
: the number of rows in the
precision matrix.updateFactor
:"matrix"
- the
matrix A
used to evaluate the gradient of the
log-likelihood and to formulate the ECME step.hessianArray
:"array"
- the
array H
used to evaluate the Hessian of the
log-likelihood.nlev
:integer
: the number of levels in the
grouping factorsignature(x = "lmeLevel", nlev = "missing",
value = "matrix")
: update the level within the EM or ECME algorithmsignature(x = "lmeLevel", A = "matrix",
nlev = "missing")
: calculate the gradient of the log-likelihood
with respect to the parameters from the decomposition of the scaled
BLUPs and their variances.signature(object = "lmeLevel")
: extract the
parameters (from the precision matrix)signature(object = "lmeLevel", value =
"numeric")
: set the parameters.
In reStruct
objects the random-effects terms and the
fixed-effects terms and the response are all represented by
lmeLevel
objects. The precision
slot in the
fixed-effects and response objects is an uninitialized pdMat
objects and the nrow
slot is zero.
Saikat DebRoy saikat@stat.wisc.edu and Douglas Bates bates@stat.wisc.edu