Skip to content
Prev 919 / 20628 Next

nlme optim control option

On 4/29/08, Doran, Harold <HDoran at air.org> wrote:
As Harold indicated, switching the optimizer used in the nlme package
from optim to nlminb was intentional.  I had seen cases of spurious
convergence for optim and found it easier to introduce the nlminb
optimizer.

Could you give more details of the cases where functions from the nlme
package using nlminb are not converging?  Are you using the lme
function or the nlme function?  Does your model have random effects
and fixed effects only or does it also use parameterized correlation
structures?

As Harold indicated, the lme4 package is now the preferred way to fit
linear or nonlinear mixed-effects models that have only fixed effects
and random effects.  If you can show us one of your calls to lme or
nlme we can tell you how to translate it to a call to lmer or nlmer.