Re: [R] [R-sig-ME] lmm WITHOUT random factor (lme4)

2011-03-19 Thread Mark Difford
On Mar 19, 2011; 01:39am Andrzej Galecki wrote: I agree with you that caution needs to be exercised. Simply because mathematically the same likelihood may be defined using different constant. Yes. But this is ensured by the implementation. If the call to anova() is made with the lm$obj first

Re: [R] [R-sig-ME] lmm WITHOUT random factor (lme4)

2011-03-18 Thread Andrzej Galecki
Hello Thierry, Based on the code below, it looks like you do not need to worry about likelihoods from lm() and gls(). They are defined the same way. I agree with you that caution needs to be exercised. Simply because mathematically the same likelihood may be defined using different