[R] lme vs. lmer results

2010-10-26 Thread Dimitri Liakhovitski
Hello, and sorry for asking a question without the data - hope it can still be answered: I've run two things on the same data: # Using lme: mix.lme - lme(DV ~a+b+c+d+e+f+h+i, random = random = ~ e+f+h+i| group, data = mydata) # Using lmer mix.lmer - lmer(DV

Re: [R] lme vs. lmer results

2010-10-26 Thread Douglas Bates
On Tue, Oct 26, 2010 at 12:27 PM, Dimitri Liakhovitski dimitri.liakhovit...@gmail.com wrote: Hello, and sorry for asking a question without the data - hope it can still be answered: I've run two things on the same data: # Using lme: mix.lme - lme(DV ~a+b+c+d+e+f+h+i, random = random = ~

Re: [R] lme vs. lmer results

2010-10-26 Thread Dimitri Liakhovitski
Thanks a lot, Douglas. It's very heplful. A clarification question about specifying the model in lmer. You said it should be: mix.lmer - lmer(DV ~a+b+c+d+(e+f+g+h+ii|group), mydata) I assume it was a typo and you meant that the last predictor in brackets should be i (rather than ii), right?