Skip to content

specifying repeated measures model in lmer

2 messages · Lawrence Hanser, Douglas Bates

#
On Mon, Mar 23, 2009 at 2:35 PM, Lawrence Hanser <lhanser at gmail.com> wrote:
If, as you say, subjects are nested within levels of A, then I don't
think you want a random effects term of the form (A | ID).  I
understand what you say to mean that each subject is exposed to one
and only one level of factor A so trying to fit a random effect for
the levels of A within each subject doesn't make sense.

Trying to understand model specifications for lmer according to the
degrees of freedom for each term is probably not the best approach.