[R] lmm WITHOUT random factor (lme4)

Mark Difford mark_difford at yahoo.co.uk
Thu Mar 17 16:20:52 CET 2011


On Mar 17, 2011; 04:29pm Thierry Onkelinx wrote:

>> You cannot compare lm() with lme() because the likelihoods are not the
>> same. Use gls() instead of lm()

And perhaps I should have added the following:

First para on page 155 of Pinheiro & Bates (2000) states, "The anova method
can be used to compare lme and lm objects."

Regards, Mark.

--
View this message in context: http://r.789695.n4.nabble.com/lmm-WITHOUT-random-factor-lme4-tp3384054p3384823.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list