Skip to content
Prev 18650 / 20628 Next

nlme bug ?

For the lme4 model fit with REML, you can get something comparable to
wait nlme calles the log-likelihood by dividing the REML criterion by
-2. (There have been a number of exchanges on this list, even in the
last year, about the problems of REML vs. _the_ likelihood, so I won't
go there, but just note that I can feel the Mathematical Powers That Be
looking disappointingly over my shoulder while I brush these problems
aside.)

On my machine that gives me:

nlme: -315.0308

lme: -313.6868

lmer: -313.6868

These are all quite similar and the corresponding coefficient values are
quite similar, so any differences are related to rounding issues and
machine-level variation in the nonlinear optimizer (which doesn't refer
to nlme here, but rather all of these tools actually fit the model).? (I
don't fully understand all the implementation details of the optimizers
themselves, but I have seen them take a different number of iterations
to fit the same model on different machines with ostensibly identical
software versions.) The slightly better fit returned by the linear
methods on my machine should generally be preferred -- but if your
inferences are sensitive to such small differences, you probably have
bigger problems. ;)

In other words, I wouldn't worry.


Phillip
On 11/8/20 3:35 pm, Cole, Tim wrote: