r - ANOVA Repeated Measurements -
i calculate greenhouse-geisser-epsilon (based on box-approximation distribution on quadratic forms) anova of following linear model.
y<-data.frame(response=c(10,19,27,28,9,13,25,29,4,10,20,18,5,6,12,17), treatment=factor(rep(1:4,4)), subject=factor(rep(1:4,each=4))) fit<-lm(response~treatment,y) anova(fit) is there way use r-packages car or ez gg-epsilon approximate distribution of test statistic used anova above.
i know how gg-epsilon distribution of test statistic used in following anova:
ezanova(pigeon, dv=.(response), wid=.(subject), within=.(treatment), detailed=t) but test statistic made of different quadratic forms statistic used in first example anova function.
Comments
Post a Comment