[R] factorial design
spencer.graves at pdf.com
Sat Sep 20 16:57:07 CEST 2003
The first model includes C and interactions with C, which are combined
with the residuals in the other two models. The first model has 3, 3,
3, 3, and 32 degrees of freedom for C, A:C, B:C, A:B:C, and residuals,
respectively. The other two models combine these two into a single
residual term with 44 = 3 + 3 + 3 + 3 + 32 degrees of freedom.
hope this helps. spencer graves
Cecília Shiraiwa wrote:
> Hello all,
> I´m trying to study a factorial design, but I can´t understand why did Df, Sum Sq and Mean Sq of residuals alter when I Split the interaction? I think that Split the interaction must not alter the residuals. Am I doing something wrong?
> Could anyone help me?
> My data and functions I tried are:
>av <- aov(Y ~ A + B + A*B + C + A*C + B*C + A*B*C )
>avAB <- aov(Y ~ A/B)
>summary (avAB, split=list("A:B"=list(A1=1, A2=2)))
>avBA <- aov(Y ~ B/A)
>summary (avBA, split=list("B:A"=list(B1=1, B2=2)))
> [[alternative HTML version deleted]]
>R-help at stat.math.ethz.ch mailing list
More information about the R-help