Skip to content

Query lme4

1 message · Douglas Bates

#
On Thu, Mar 18, 2010 at 10:56 AM, Lisa McCrink <lmccrink01 at qub.ac.uk> wrote:
The phrase "covariance structure" can mean different things in the
context of mixed models.  The covariance structure of the random
effects for such a model is a block-diagonal matrix of size 2N x 2N
where N is the number of individuals.  There are N diagonal blocks,
each of which is a copy of the 2 x 2 matrix that is returned by
VarCorr(model.1).

Since you mention an autoregressive structure I assume you are
considering the marginal covariance structure of the response vector.
To evaluate that you need to know the model matrix for the random
effects.  The within individual covariance structure is of the form

Z_i %*% D %*% Z_i' + sigma^2 I

where Z_i is the two-column model matrix for the i'th individual and D
is the 2 x 2 variance-covariance matrix returned by VarCorr(model.1),
sigma is the residual standard error and I is the n_i x n_i identity
matrix.

The marginal variance-covariance matrix for the model with random
effects specification (1|individual) has a compound symmetry
structure.

The lme4 package does not have capabilities of modeling an
autoregressive structure.  In most cases of longitudinal data it would
be very difficult to distinguish between an autoregressive structure
and a model with random effects specification (AGEACTUAL|Individual).

I have taken the liberty of copying the
R-SIG-mixed-models at R-project.org mailing list on this reply.  It is
usually more effective to send such queries to that list rather than
to me personally as sometimes I take a while to respond.