Skip to content

lme error message

6 messages · Ken Beath, Luca Borger, Stuart Luppescu

#
Running a nested model with lme, and getting this message:

Error in MEEM(object, conLin, control$niterEM) : 
  Singularity in backsolve at level 0, block 1

Can anyone explain this?

Thanks.
#
On 22/07/2009, at 7:54 AM, Stuart Luppescu wrote:

            
Usually means that some of the random effects are highly correlated or  
possibly zero.

Ken
#
On ?, 2009-07-22 at 08:15 +1000, Ken Beath wrote:
Random effects? Only the intercept is random, and in a more restricted
model there's tons of variance.
#
On 22/07/2009, at 8:22 AM, Stuart Luppescu wrote:

            
If by a more restricted model, you mean one with less covariates, then  
either the covariates are reducing your random effects variance to  
zero or causing some other collinearity problem.

Try control option for verbose output, and see if the numbers are very  
large.

Ken
1 day later
#
Hello,
in fact my experience is that in this case there is some problem with the fixed effects (e.g. not enough data for all factor combinations etc.), otherwise it would say level 1 or higher. By fitting a simpler model usually it disappears.

Disclaimer: just limited empirical experience, I have never checked the code to understand better this error message, so take this with caution ;-)


HTH


Cheers,

Luca


----- Original Message -----
From: "Stuart Luppescu" <slu at ccsr.uchicago.edu>
To: "Ken Beath" <ken at kjbeath.com.au>
Cc: r-sig-mixed-models at r-project.org
Sent: Wednesday, July 22, 2009 12:22:56 AM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: Re: [R-sig-ME] lme error message
On ?, 2009-07-22 at 08:15 +1000, Ken Beath wrote:
Random effects? Only the intercept is random, and in a more restricted
model there's tons of variance.
#
On ?, 2009-07-23 at 04:17 -0400, Luca Borger wrote:
I found the problem. One of my predictors was all 0s. (Dumb me.) Thanks
to everyone for the help.