Re: [R] can I get same results using lme and gls?

2007-05-21 Thread toby909
Douglas Bates wrote: > On 5/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >>I was wondering how to get the same results with gls and lme. In my lme, the >>design matrix for the random effects is (should be) a identity matrix and >>therefore G should add up with R to produce the R matrix

Re: [R] can I get same results using lme and gls?

2007-05-21 Thread Douglas Bates
On 5/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I was wondering how to get the same results with gls and lme. In my lme, the > design matrix for the random effects is (should be) a identity matrix and > therefore G should add up with R to produce the R matrix that gls would report > (V=

[R] can I get same results using lme and gls?

2007-05-20 Thread toby909
Hi All I was wondering how to get the same results with gls and lme. In my lme, the design matrix for the random effects is (should be) a identity matrix and therefore G should add up with R to produce the R matrix that gls would report (V=ZGZ'+R). Added complexity is that I have 3 levels, so I