Hi I Have a very large dataset that I would like to conduct ANOVA tests on. Im not a very strong programmer so any help would be appreciated. the format is Identifier A1 A2 B1 B2 C1 C2 Norm1 Norm2 1234 1 1 NA NA 4 3 NA NA 4567 2 2 4 4 8 8 9 9 and so on I have 10 runs for 3 different doses plus the normal state. Any help greatly appreciated [[alternative HTML version deleted]]
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]]
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_ijkltY_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]]