I'd like to do 2 ANOVA with repeated measurement. First: response = "AS" 1.within-factor = "modal" 2.within-factor = "ref" (all stairs of the factors are repeated measured) so that random = "vp" I did it like this: (anova(lme(AS~modal*ref,random=~1|vp))) Is it correct? Second: response = "AS" between-factor = "sehsinn" within-factor = "ref" (all stairs of the within factor are repeated measured) so that random = "vpT" I did it like this: (anova(lme(AS~sehsinn*ref,random=~1|vpT))) Is it correct? In the help for R is written that p-values are calculated by Wald tests. How does R for this calculate the denominator degrees of freedom? (they are looking very strange) Thanks [[alternative HTML version deleted]]