threewayanova {ThreeWay} | R Documentation |
Three-way ANOVA
Description
Computation of three-way Analysis of Variance (ANOVA).
Usage
threewayanova(Y, n, m, p)
Arguments
Y |
Matrix (or data.frame coerced to a matrix) of order ( |
n |
Number of |
m |
Number of |
p |
Number of |
Value
A list including the following components:
SS.a |
Main effect for the |
SS.b |
Main effect for the |
SS.c |
Main effect for the |
SS.ab |
Second order interaction ( |
SS.bc |
Second order interaction ( |
SS.ac |
Second order interaction ( |
SS.abc |
Residual sum of squares after subtraction of second order interactions |
Author(s)
Maria Antonietta Del Ferraro mariaantonietta.delferraro@yahoo.it
Henk A.L. Kiers h.a.l.kiers@rug.nl
Paolo Giordani paolo.giordani@uniroma1.it
References
H.A.L. Kiers \& I. Van Mechelen (2001). Three-way component analysis: principles and illustrative applications. Psychological Methods 6:84–110.
Examples
data(TV)
TVdata=TV[[1]]
anova3 <- threewayanova(TVdata, 16, 15, 30)