Three-way ANOVA
Computation of three-way Analysis of Variance (ANOVA).
threewayanova(Y, n, m, p)
Y
: Matrix (or data.frame coerced to a matrix) of order (n
x
mp
) containing the matricized array (frontal slices)n
: Number of A
-mode entitiesm
: Number of B
-mode entitiesp
: Number of C
-mode entitiesA list including the following components: - SS.a: Main effect for the A
-mode
SS.b: Main effect for the B
-mode
SS.c: Main effect for the C
-mode
SS.ab: Second order interaction (A
- and B
-mode)
SS.bc: Second order interaction (B
- and C
-mode)
SS.ac: Second order interaction (A
- and C
-mode)
SS.abc: Residual sum of squares after subtraction of second order interactions
H.A.L. Kiers & I. Van Mechelen (2001). Three-way component analysis: principles and illustrative applications. Psychological Methods 6:84--110.
Maria Antonietta Del Ferraro mariaantonietta.delferraro@yahoo.it
Henk A.L. Kiers h.a.l.kiers@rug.nl
Paolo Giordani paolo.giordani@uniroma1.it
data(TV) TVdata=TV[[1]] anova3 <- threewayanova(TVdata, 16, 15, 30)
Useful links