Skip to content

Fitting crossed random effects in lme (not lmer)

1 message · Douglas Bates

#
Sorry for the late reply.  As I indicated in another message, I was at
useR!2010 then on vacation.

On Tue, Jul 27, 2010 at 7:43 PM, Christoph Scherber
<Christoph.Scherber at agr.uni-goettingen.de> wrote:
I'm not entirely sure that would be successful.  The expansion of the
/ in the grouping factor in lme4 doesn't do a full symbolic analysis
of the terms.  Instead it is more of a macro expansion.  I think that
would probably end up with multiple random-effects terms of the form
1|block and 1|block:plot and a model for which unique parameter
estimates are not defined.
It would not be easy to do that.  In fact, I'm not even sure it is
possible.  I think my advice would be to stay with simpler model
specifications.  You would need a huge amount of data to be able to
estimate parameters in such a model successfully.