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