Skip to content
Prev 8623 / 20628 Next

lmer, no residual in the output - want REML not laplace

Yolande Tra <yolande.tra at ...> writes:
As a recent post on this list stated, the definition of REML
is somewhat unclear for GLMMs. (Dave Fournier has given a reasonable
definition in the past, but not all researchers in this area agree
with his definition.)  If you can specify exactly what you want
the code to do in order to implement restricted ML for a GLMM, 
that might spark some discussion.
How about residuals(g) ?
Maybe it's not implemented?  What do you want it to do?
  Perhaps try fitting a reduced model (g2 <- update(g2,.~.-c)
and go from there?  Or try drop1() ?

  Ben Bolker