[R-sig-ME] How to convert the formula from LME4 to NLME?

Ben Bolker bbolker at gmail.com
Thu May 10 18:12:43 CEST 2012


ONKELINX, Thierry <Thierry.ONKELINX at ...> writes:

> 
> Michael,
 
> This formula is nonsens since you're fitting 
> two random intercepts on the same grouping factor.
> (fm9 <- lmer(Reaction ~ 1 + Days + (1+Days|Subject), 
> sleepstudy, REML = FALSE)) is more sensible.
> And translates to
> lme(Reaction ~ 1 + Days, 
>   random = ~1+Days|Subject, sleepstudy, method = "ML")
> 

  By the way, if anyone wants to start an "lme to lmer translation"
section or table on http://glmm.wikidot.com/faq , they're more
than welcome to do so ...

  Ben Bolker



More information about the R-sig-mixed-models mailing list