Skip to content
Prev 913 / 20628 Next

iteration limit reached without convergence

On 4/26/08, Gabe Doyle <gdoyle at ling.ucsd.edu> wrote:
Typically that is a symptom of a model that is over-specified.  Did
you try setting verbose = TRUE and checking what was happening to the
parameter estimates as they went through the iterations?  I mention
this because there is a tendency to specify models with every possible
covariate in the fixed effects and optimization of such models is
often difficult.  I don't want to make assumptions without having seen
the model and the data to which you are fitting it but my first
approach would be to simplify the model.

I suppose I should activate options in the development version of lme4
to set the maximum number of iterations.  One of the problems with
doing so is that it is not just a matter of the maximum number of
iterations.  One also needs to set the maximum number of function
evaluations.  If there are many parameters being optimized
simultaneously then the number of function evaluations can be much
larger than the number of iterations.