Skip to content

gee, geese and glmer

2 messages · Ben Bolker, Vincent Dorie

#
On 14-03-17 10:47 PM, Ming-Huei Chen wrote:
Despite David Duffy's comments (which make sense) I still don't see
any internal evidence that lme4 is getting stuck at a local minimum --
the S2 plot is consistent with the new lme4 fit being (much) better.
*If* all the data were singletons, then the among-family variation would
be an observation-level random effect, which would be (as previously
commented frequently on this list) unidentifiable, but if they're not
all singletons ...

  (You've said previously you have pedigree data in this analysis -- I'm
a little unclear as to how that would work, since 'vanilla' lme4 doesn't
support pedigree structures ...)

  It probably makes sense to move forward with the sex+(1|famid) model
for the purpose of diagnosis (simpler, and appears to show the same issue).

  I thought I had a reproducible example of this phenomenon, but it
turned out it was just an odd simulation case.
packageVersion("blme") ?

This works for me:

library(lme4)
library(blme)

bglmer(cbind(incidence,size-incidence) ~ period + (1|herd),
    family=binomial, data=cbpp, fixef.prior=t)
#
I believe this can only happen if the installed version of lme4 is out-of-date. If there was a point where checkConv was added but didn't yet have the ctrl formal, you would see that error.

Vince