T3runsApproxFit function

Approximated Tucker3 solutions

Approximated Tucker3 solutions

Computes all the approximated Tcker3 solutions using PCASup results with r1 (from 1 to maxa), r2 (from 1 to maxb) and r3 (from 1 to maxc) components.

T3runsApproxFit(X, n, m, p, maxa, maxb, maxc)

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

Returns

  • 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 A-, B- and C-modes are automatically printed.

References

H.A.L. Kiers (1991). Hierarchical relations among three-way methods. Psychometrika 56:449--470.

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

See Also

DimSelector, LineCon, pcasup3, T3

Examples

data(Bus) # Fit values of T3 with different numbers of components (from 1 to 4 for the A-mode, # from 1 to 3 for the B-mode, from 1 to 5 for the C-mode) FitT3 <- T3runsApproxFit(Bus, 7, 5, 37, 4, 3, 5)
  • Maintainer: Paolo Giordani
  • License: GPL (>= 2)
  • Last published: 2015-09-07

Useful links