Skip to content
Prev 11558 / 20628 Next

prediction from glmer.nb

Thomas Lee Anderson <anderstl at ...> writes:
Maybe there's a bug in glmer.nb?  It's somewhat experimental (I thought
the documentation said that: it doesn't, but the brevity of the help page
might be a hint to that effect ...)
This actually strongly suggests that we're going to need something
more like your real data in order to figure out the problem.
['glmerMod']
Notice here that the random effects variance is practically
zero, which suggests that you will do equally well (i.e. get
almost identical results) with MASS::glm.nb -- a reasonable
workaround.
  In general this will almost always happen with a grouping
variable with only 2 levels.  See http://glmm.wikidot.com/faq for
more discussion.  If all your data sets look like this, you
should really save yourself some trouble and just fit Year as
a fixed effect (i.e., use MASS::glm.nb)

  It's also quite weird that you have non-integer response
values (AMAN).  Except possibly in some very particular situations, that
doesn't make sense.  Are these densities rather than counts?
(If so you should consider using the raw counts as the response
variable, with log(sampling area) as an offset term.)
Besides this, nothing looks particularly odd