Skip to content

Interpretation of ranef output

2 messages · Ginnie D Morrison, Ben Bolker

#
Ginnie D Morrison <ginn <at> utexas.edu> writes:
Note that this is a generalized linear *mixed* model, which 
complicates the situation somewhat (otherwise you wouldn't
be dealing with random effects).  Presumably you are using
glmer from the lme4 package, but it would be good to state that
explicitly ...
You should probably specify your random effect as

 ... (1|grpFactor) + (0 + nutrient|grpFactor) + (0 + light|grpFactor)
to avoid having the intercept terms estimated separately ...  my guess
is that the model is overspecified.
In the same way that you would combine coefficients from a standard
linear model to get predicted values for specific cases.  We probably
need a little more context about the experimental design.  
  
  Followups to r-sig-mixed-models at r-project.org, please ...