Skip to content

questions about the nlme model in R

1 message · Douglas Bates

#
On Tue, Sep 25, 2012 at 10:09 AM, Margo Law <MLaw at esurance.com> wrote:
As I indicated in our telephone conversation, it is better to send
such questions to the R-SIG-Mixed-Models at R-project.org mailing list as
several of the readers on that list can respond to you question and
often much sooner than I am able to.
Well, first that isn't a nonlinear mixed-effects model, as far as I
can see.  You seem to be using a linear model formula as the first
argument, not a nonlinear model.  That formula will not be interpreted
as a linear model and you won't get the result that you expect.

If you do want to fit a linear mixed-effects model you would use lme
from the nlme package or lmer from the lme4 package.  However, both of
them are unlikely to be able to fit this model because you have so
many fixed-effects terms.