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()

Hi Thierry,

Of course, I stand subject to correction, but unless something dramatic has
changed, you can. gls() can be used if you need to accommodate a correlation
structure.

The method I have outlined, i.e. anova(lme$obj, lm$obj), is detailed in
Pinheiro & Bates (2000) beginning page 154. Please refer to this if you
doubt me.

Regards, Mark.

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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to