Skip to content
Prev 369 / 20628 Next

simulate.lme (nlme)

Your transcript looks peculiar.  It shows require(lme) and you end up
with the nlme package attached.  Does that really work or is it a
misprint?

The reason for the small negative difference in the likelihood values
is because of convergence on the boundary.  It is possible for the
difference in the negative log-likelihoods of the alternative and null
models fit to the same data to be zero.  This corresponds to the
situation where the MLE or REML estimate of one of the variance
components in the alternative model is zero.  When using a numerical
optimization technique that difference will not come out to be exactly
zero, especially given the way that the optimization is done in nlme
package, so you end up with a very small difference that can be
negative or positive.
On 9/26/07, Andrzej Galecki <agalecki at umich.edu> wrote: