Skip to content
Prev 12324 / 20628 Next

Deviance residuals don't sum up to deviance

Can you at least show the exact R function calls that you did to
produce it?  Even better,
can you please use the 'gm1' from the first example in
help(glmer),

  (gm1 <- glmer(cbind(incidence, size - incidence) ~ period + (1 | herd),
                data = cbpp, family = binomial))

and now show how you compute these to sums with *reproducible* R
code.  That way we (the readers of R-SIG-ME) can be motivated
much more to help you.
You are welcome ;-)
Martin Maechler