Repeated measures ANOVA - different resutls for SPSS versus R
问题 I am trying to run a repeated - measures ANOVA using R and compared it to the SPSS output and results differ a lot! Maybe I make a mistake somewhere, but I cannot figure it out So some sample data: id is the subject. Every subject makes one rating for three items (res_1, res_2 and res_3). I want to compare an overall effect of item. id<-c(1,2,3,4,5,6) res_1<-c(1,1,1,2,2,1) res_2<-c(4,5,2,4,4,3) res_3<-c(4,5,6,3,6,6) ## wide format for spss table<-as.data.frame(cbind(id, res_1, res_2, res_3))