TV: TV data

Description Usage Format Details Author(s) References Examples


Three-way data about ratings of 15 American television shows on 16 bipolar scales made by 30 students.




A list containing one data.frame and three character vectors.
TV[[1]] is a data.frame with 16 rows and 450 (15 x 30) columns.
The rows refer to the American television shows.
The columns refer to the combinations of scales and students with the sclaes nested within the students.
The data.frame contains the frontal slices next to each other of the original array.
The labels for the bipolar scales are in the character vector TV[[2]].
The labels for the TV programs are in the character vector TV[[3]].
The labels for the students are in the character vector TV[[4]].


The original data set consists of ratings made by 40 subjects (psychology students at the University of Western Ontario in 1981). To avoid missing data, only 30 students are considered. The ratings are made on 13-point bipolar scales. Lundy et al. (1989) perform Candecomp/Parafac on the preprocessed data. Details on preprocessing are not reported, but should be centered within TV programs and scales. Three real components are extracted. However, the unconstrained Candecomp/Parafac solution with three components suffers from the so-called degeneracy (obtained solution with highly correlated and uninterpretable dimensions). Degeneracy (see, for instance, Harshman \& Lundy, 1984; Stegeman, 2006, 2007; De Silva \& Lim, 2008; Rocci \& Giordani, 2010) can be overcome by imposing orthogonal constraints in one of the component matrices. The so-obtained solution with three components is meaningful and interpretable as described in Lundy et al. (1989).


Maria Antonietta Del Ferraro
Henk A.L. Kiers
Paolo Giordani


V. De Silva \& L.-H. Lim (2008). Tensor rank and the ill-posedness of the best low-rank approximation problem. SIAM Journal on Matrix Analysis and Applications 30:1084–1127.
R.A. Harshman \& M.E. Lundy (1984). Data preprocessing and the extended PARAFAC model. In H.G. Law, C.W. Snyder Jr, J.A. Hattie, \& R.P. McDonald (Eds.): Research methods for multimode data analysis. Praeger, New York (pp. 216–284).
M.E. Lundy, R.A. Harshman \& J.B. Kruskal (1989). A two-stage procedure incorporating good features of both trilinear and quadrilinear models. In R. Coppi, S. Bolasco (Eds.): Multiway Data Analysis. Elsevier, North Holland (pp. 123–130).
R. Rocci R \& P. Giordani (2010). A weak degeneracy decomposition for the CANDECOMP/PARAFAC model. Journal of Chemometrics 24:57–66.
A. Stegeman (2006). Degeneracy in Candecomp/Parafac explained for pxpx2 arrays of rank p+1 or higher. Psychometrika 71:483–501.
A. Stegeman (2007). Degeneracy in Candecomp/Parafac and Indscal explained for several three-sliced arrays with a two-valued typical rank. Psychometrika 72:601–619.


# to perform stability check and produce bootstrap confidence intervals 
# it is useful to permute the modes so that the A-mode refers to students
TVdata <- permnew(TVdata, 16, 15, 30)
TVdata <- permnew(TVdata, 15, 30, 16)

Search within the ThreeWay package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.