search for: covariate_aov

Displaying 1 result from an estimated 1 matches for "covariate_aov".

2009 Feb 10
2
Mixed ANCOVA with between-Ss covariate?
...xpand.grid( id=1:20 ,iv1 = 1:2 ,iv2 = 1:2 ) ) a$group = factor(a$id<11) a$dv = rnorm(length(a[,1])) a$covariate = NA for(i in unique(a$id)){ a$covariate[a$id==i]= rnorm(1) } #make sure id, iv1, and iv2 are factorized a$id=factor(a$id) a$iv1=factor(a$iv1) a$iv2=factor(a$iv2) #run ANCOVA covariate_aov = aov(dv~covariate+group*iv1*iv2+Error(id/(iv1*iv2)),data=a) summary(covariate_aov) -- Mike Lawrence Graduate Student Department of Psychology Dalhousie University www.thatmike.com Looking to arrange a meeting? Check my public calendar: http://www.thatmike.com/mikes-public-calendar ~ Certainty...