Skip to content
Prev 6759 / 20628 Next

Singular convergence in lmer

Dear Thierry,

Thanks again. I think I see the misunderstanding. There is only one
measurement of growth rate for each of the 10 fish available for each site
and date. All of the 800 fish are different. Fish 1 from site 'a' time 0 is
not the same as fish 1 from site 'b' time 0, or site 'a' time 15. Therefore,
fish are essentially replicate growth estimates for each site and date.
Apologies that this wasn't clear in my example data. Consider instead:
Fish<-as.factor(seq(1,800)).

Thank you for your thoughts about the model complexity- this is probably why
M1 converged to singularity. Thanks also for your thoughts about whether
year and site should be random effects or not. My primary interest is to
know whether there is variation in the slope and intercept of the growth
rate - day relationship and whether this variation is associated with a
persistent site or year effect. I guess your reasoning still applies even
though I'm more interested in model comparison rather than direct estimates
of year and site variance

I really appreciate your advice.

Best regards

Ben

-----Original Message-----
From: ONKELINX, Thierry [mailto:Thierry.ONKELINX at inbo.be] 
Sent: Monday, October 03, 2011 9:31 AM
To: Benjamin J. Ciotti; r-sig-mixed-models at r-project.org
Subject: RE: [R-sig-ME] Singular convergence in lmer

Dear Benjamin,

It is not clear to me how your M1 model will capture the effect of the fish,
unless via the combined effects of year, site, ... That is IMHO overly
complex.

If you have only a few levels, you can run into numerical problems.
Therefore I avoid using variables with a low number of levels as random
effect. If they are important, then I add them as fixed effects. I prefer 2
or 3 parameter estimates of fixed effects instead of 1 dodgy variance
estimate. Note that the overall difference in degrees of freedom is small. 
6 or 7 levels is doable, but still rather low. Maybe you should use only the
interaction between year and site as random effects in which you can nest
(or cross?) the effect of the fish.

Best regards,

Thierry
and M1,
model. I
but
whether a
variance
Zuur
Saveliev,
have
variance. Hence