Hi, I have a design with 1 group and repeated measures and a covariate whose effects I¹d like to remove from the data. I tried different models with aov but am not sure if I did it correctly. The design is thus 4 blocks and n=15 and a covariate ³cov²
1- aov.m = aov(da~block+cov+Error(subj),data=d); summary(aov.m) Error: subj Df Sum Sq Mean Sq F value Pr(>F) cov 1 0.37859 0.37859 2.709 0.1237 Residuals 13 1.81677 0.13975 Error: Within Df Sum Sq Mean Sq F value Pr(>F) block 3 0.89600 0.29867 10.7536 2.413e-05 *** cov 1 0.00030 0.00030 0.0109 0.9173 Residuals 41 1.13872 0.02777 Did I did set it up right?? Could I use lm and /or lme to get the covariate out. What would be the formula?? Thanks for your help __________________ Patrick Bédard Ph.D. Dept. of Neuroscience Brown University [[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.