Skip to content
Prev 59676 / 398502 Next

Convergence problem in GLMM

On Tuesday 23 November 2004 11:14, John Fox wrote:
This dataset is also in lme4 as 'Contraception'.
Probably because the convergence criterion is different. glmmPQL has 

        if (sum((eta - etaold)^2) < 1e-06 * sum(eta^2)) 
            break

GLMM has 

         crit <- max(abs(eta - etaold)) / (0.1 + max(abs(eta)))
         ## use this to determine convergence
         if (crit < controlvals$tolerance) {
              conv <- TRUE
              break
         }

I'm not sure why we chose that. Setting 

control = list(tolerance = 1e-3, PQLmaxIt = 100)

converges for me, but that's probably a bit extreme.

Deepayan