RE: [R] repeated measures and covariance structures

2004-09-14 Thread Doran, Harold
Yes. Try something akin to fm1- lme(y~time, data, random=~time|ID) fm2-update(fm1, correlation=corAR1(form~time|ID) You can then use anova(fm1,fm2) to compare. Harold -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Solomon Sent: Tuesday,

Re: [R] repeated measures and covariance structures

2004-09-14 Thread Prof Brian Ripley
On Tue, 14 Sep 2004, Chris Solomon wrote: Hello- I'm trying to do some repeated measures ANOVAs. In the past, using SAS, I have used the framework outlined in Littell et al.'s SAS System for Mixed Models, using the REPEATED statement in PROC MIXED to model variation across time within an

Re: [R] repeated measures and covariance structures

2004-09-14 Thread Christian Hennig
Hello Chris, as far as I know from the Pinheiro and Bates book Mixed-Effects Models in S and S-PLUS, the autoregressive parameter has to be specified only as initial value for the estimation. That is, the parameter will be estimated, but the result may depend on the prespecified value. You do not