Skip to content
Prev 4383 / 20628 Next

R console not responding after defining variable as factor

On Thu, Aug 26, 2010 at 3:29 PM, Sabira el Messlaki
<S.elMesslaki at student.tudelft.nl> wrote:
It's not that the console has frozen - it's that the R process is
going to be very, very busy for a long time (and possibly run out of
memory space).  When you include a random effect specification with a
continuous covariate you need to estimate 3 variance components - 2
variances and a covariance.  When you have a factor with 12 levels you
need to estimate 12 variances and 66 covariances.  That will take a
very long time, if it could be done at all.

You should reconsider the form of your model.