Skip to content

How does lmer obtain ML estimates that are not stationary points?

2 messages · Asaf Weinstein, Ben Bolker

#
Asaf Weinstein <asafw.at.wharton at ...> writes:
lmer fits models on a constrained space where the variances are not
allowed to be negative.  So it would give the best fit on the boundary
of the feasible space (although I would be very slightly suspicious of
the results in this case; it is easy to misconverge / run into
optimization difficulties when the results are on the boundary,
although I don't have any concrete examples of where lmer gets this 
wrong).

  With the development version of R, you can get the deviance function
and evaluate it yourself over a range of parameter values to see what
it does.