MATRIX Subcommand (PRINCALS command)

The MATRIX subcommand is used to write category quantifications, single-category coordinates, and component loadings to a matrix data file.

  • The specification on MATRIX is the keyword OUT and a quoted file specification of previously declared dataset name (DATASET DECLARE command), enclosed in parentheses.
  • You can specify an asterisk (*) instead of a file to replace the active dataset .
  • The category quantifications, coordinates, and component loadings are written to the same file.
  • The matrix data file has one case for each value of each original variable.

The variables of the matrix data file and their values are:

ROWTYPE_. String variable rowtype_ containing value QUANT for the category quantifications, SCOOR_ for single-category coordinates, MCOOR_ for multiple-category coordinates, and LOADING_ for the component scores.

LEVEL. String variable containing the values (or value labels if present) of each original variable for category quantifications. For cases with ROWTYPE_=LOADING_, the value of LEVEL is blank.

VARNAME_. String variable containing the original variable names.

VARTYPE_. String variable containing values MULTIPLE, SINGLE N, ORDINAL, or NUMERICAL, depending on the optimal scaling level specified for the variable.

DIM1...DIMn. Numeric variables containing category quantifications, the single-category coordinates, and component loadings for each dimension. Each variable is labeled DIM n, where n represents the dimension number. The single-category coordinates and component loadings are written only for SNOM, ORDI, and NUME variables.