Skip to content
Prev 191 / 20628 Next

Poor convergence when using binomial response

Thanks for the quick reply. Here's an interesting twist.

 > # use cbind(failures, successes) which is appropriate
 > # with the 'cloglog' link but does not converge
 > fit <- lmer(cbind(x, w - x) ~ z + (1 | A) + (1 | A:B), tmp,
+             binomial("cloglog"), control = list(msVerbose = 1))
relative tolerance set to 5.56268464626788e-311
 > # now use cbind(sucesses, failures) which is
 > # inappropriate with the 'cloglog' link but does converge
 > fit <- lmer(cbind(w - x, x) ~ z + (1 | A) + (1 | A:B), tmp,
+             binomial("cloglog"), control = list(msVerbose = 1))
relative tolerance set to 1.23153502616496e-05
   0:     811.99477:  1.04814 0.0876112 -0.111220 0.888889 0.110250
...
  36:     702.77184:  1.14326 0.0930921 -0.150606 0.0958980 0.0605783
 >

So it seems the tolerance level is too small and no steps are taken in 
nlminb. Using debug the problem seems to be in devLaplace.

Browse[1]> PQLpars
(Intercept)          z2          z3
  -2.8227711  -0.2680992   0.3109447   0.8888889   0.1102498
Browse[1]> devLaplace(PQLpars)
[1] 1.797693e+308
Browse[1]> abs(0.01/devLaplace(PQLpars))
[1] 5.562685e-311

Also, this isn't an urgent issue for me. I'm satisfied using the 
expand.bin (thanks also for the modification) to do the analysis.

Thanks again,

--sundar

Douglas Bates said the following on 5/23/2007 9:49 AM: