Skip to content
Prev 13853 / 20628 Next

GLMM model failing to converge

On Fri, Oct 16, 2015 at 3:24 PM, Shadiya Al Hashmi <saah500 at york.ac.uk> wrote:
What does "crash" mean? Precision is important here -- you could mean:

* a warning (which should certainly concern you, but it might be a
false positive ...) -- in this case you *will* get a result, which you
can use if you conclude that the warnings don't actually represent a
serious problem;
* an error -- in this case you won't get an answer at all, you need to
deal with/work around the error before you can get results;
* a true crash, where the R process actually stops.  This is by
definition a bug in the package, or (much more unlikely) in R itself.
This means you have collinear predictors -- most likely, some
combinations of factors are aliased with each other.
This is a "medium-sized" gradient; it may be OK, hard to know.  How big
is your data set?
   As suggested in ?convergence, the gold standard is to try your model
with one or more different optimizers and see if it gets to a sufficiently
(for your purposes) similar answer.
See ?lmerControl for advice about how to increase the number of
evaluations.