Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

threewayanova

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 x mp) containing the matricized array (frontal slices)

n

Number of A-mode entities

m

Number of B-mode entities

p

Number of C-mode entities

Value

A 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

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)

ThreeWay

Three-Way Component Analysis

v1.1.3
GPL (>= 2)
Authors
Maria Antonietta Del Ferraro, Henk A.L. Kiers, Paolo Giordani
Initial release
2015-09-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.