Skip to content
Prev 132197 / 398506 Next

convergence error code in mixed effects models

On Dec 14, 2007 9:26 PM, Mark Difford <mark_difford at yahoo.co.uk> wrote:

            
What I was trying to indicate in my replies is that "this problem" is
the user attempting to fit a model that is not appropriate for the
data.

I feel, and I hope that Jos? Pinheiro and I conveyed in our book, that
analysis of longitudinal data should always begin with plots of the
response versus time by experimental unit.  Much of the wonderful work
that Deepayan Sarkar did in developing the lattice package was
motivated by the desire to produce exactly those plots.  Because the
purpose of the analysis is to look at the behavior within units over
time and see how these patterns differ between units, it is clear that
you should always begin with such a plot.

It is disappointing to have users feel that the software is somehow
inferior because it doesn't mindlessly produce estimates for
inappropriate models when it is so simple for the user to check the
patterns in the data and decide if the model is appropriate.

As I said, I think that SAS and SPSS are better tools for fitting
"the" repeated measures model or "the" longitudinal data model when
you don't want to be bothered with actually looking at your data and
thinking about the model.  (And yes, I am being a trifle sarcastic in
saying that.  Please don't quote me as having endorsed the SAS and
SPSS mixed model software.)

By the way, I received a personal reply from a friend who asked what I
meant when I said that the model fit by SAS PROC MIXED to these data
may not make sense.  I haven't used SAS PROC MIXED in a long time (I
can never get past the "CARDS;" statement and still take the software
seriously) but I strongly suspect that it would produce one of those
mixed models that occurs in SAS computation and nowhere else.  If you
allow correlated random effects for the intercept and slope on these
data you will probably get the ML or REML estimate of the variance of
the intercept random effects being driven to zero while the estimate
of the covariance of the intercept and slope random effects stays
decidedly nonzero.  Apparently mathematical impossibility is not an
impediment to parameter estimation in such cases.  In fact, Singer and
Willett claim on p. 154 of their 2003 book "Applied Longitudinal Data
Analysis" that one can go further and invoke an option to allow for
negative variance estimates.  The mind boggles.