T1runsFit: Tucker1 solutions

Description Usage Arguments Value Note Author(s) References See Also Examples

Description

Computes all the Tucker1 solutions using PCASup results with r1 (from 1 to maxa, if A-mode reduced), r2 (from 1 to maxb, if B-mode reduced) and r3 (from 1 to maxc, if C-mode reduced) components.

Usage

1
T1runsFit(X, n, m, p, maxa, maxb, maxc, model)

Arguments

X

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

maxa

Maximum dimensionality for the A-mode

maxb

Maximum dimensionality for the B-mode

maxc

Maximum dimensionality for the C-mode

model

Tucker1 model choice (1 for T1-A, 2 for T1-B, 3 for T2-C)

Value

out

Matrix with columns: number of components for the A-mode, number of components for the B-mode, number of components for the C-mode, goodness of fit (%), total number of components

Note

Cumulative sum of eigenvalues and fits from PCAsup applied to the reduced mode are automatically printed.

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 (1991). Hierarchical relations among three-way methods. Psychometrika 56:449–470.

See Also

DimSelector, LineCon, pcasup1, T1

Examples

1
2
3
data(Bus)
# Fit values of T1-A with different numbers of components (from 1 to 5)
FitT1 <- T1runsFit(Bus, 7, 5, 37, 5, 5, 37, 1)

ThreeWay documentation built on May 2, 2019, 9:20 a.m.

Related to T1runsFit in ThreeWay...