[Lme4-commits] r1399 - pkg/lme4a/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Sep 22 16:31:08 CEST 2011


Author: dmbates
Date: 2011-09-22 16:31:08 +0200 (Thu, 22 Sep 2011)
New Revision: 1399

Modified:
   pkg/lme4a/R/lmer.R
Log:
Decrease the value of rhobeg on second set of glmer iterations to avoid instability.


Modified: pkg/lme4a/R/lmer.R
===================================================================
--- pkg/lme4a/R/lmer.R	2011-09-22 14:29:33 UTC (rev 1398)
+++ pkg/lme4a/R/lmer.R	2011-09-22 14:31:08 UTC (rev 1399)
@@ -585,7 +585,7 @@
     if (nAGQ > 0L) {
         thpars <- seq_along(ans at re@theta)
         bb <- attr(opt$fval, "beta")
-        control$rhobeg <- 0.2
+        control$rhobeg <- 0.02
         control$rhoend <- 2e-7
         obj <- mkdevfun(ans, nAGQ, u0 = attr(opt$fval, "u"), verbose)
         opt <- bobyqa(c(opt$par, bb), obj,



More information about the Lme4-commits mailing list