Hi, I'm using a repeated measures ANOVA in R using lme(). The SAS code would 
be: PROC MIXED DATA=[data set below];     CLASS pid treat period time seq;     
MODEL Y = seq period treat time treat*time;     REPEATED time / SUBJECT=pid 
TYPE=cs;RUN, I donot have SAS, instead I have R and I would like to try the 
following:anova(lme(response ~ seq period treat time treat*time,random= ~1|SUB, 
   correlation=corCompSymm())) Is this correct? Can I also write the model 
as Y_ijklt = m + a_l + b_k + c_j + d_t + (cd)_jt + u_ijklt Y_ijklt is the 
response variable due to pid i, treat j, period k, seq l, and time t.  Thank 
you very much in advance for your help :)



Samor




      
        [[alternative HTML version deleted]]

______________________________________________
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