Skip to content
Prev 1261 / 20628 Next

extracting residuals in lmer glmm

On Thu, Aug 14, 2008 at 9:47 AM, Hank Stevens <HStevens at muohio.edu> wrote:
I was just going to write that you must be using a very old version of
the lme4 package.  The wrkres slot was removed in the transition from
the 0.99875 to 0.999375 series.

What is returned by the resid generic applied to a generalized linear
mixed model is

(m1 at y - m1 at mu)/sqrt(m1 at var)

That is one of the many possible definitions of "residuals" for a
generalized linear model.  There is a name for those residuals but I
can't remember right now what they are callled - perhaps after I have
recovered from the trans-Atlantic flight returning from the useR!2008
conference, which was wonderful.  Thanks again to the organizers and
to the more than 400 attendees who made it such a success.  We hope to
see many of you again in Rennes, France for useR!2009 next July.