MATRIX Subcommand (OVERALS command)
The MATRIX
subcommand is used to write category quantifications, coordinates,
centroids, weights, and component loadings to a matrix data file.
- The specification on
MATRIX
is keywordOUT
and a quoted file specification or previously declared dataset name (DATASET DECLARE
command), enclosed in parentheses. - You can specify an asterisk (*) instead of a file to replace the active dataset.
- All values 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 as follows:
ROWTYPE_. String variable containing value QUANT for the category quantifications, SCOOR_ for the single-category coordinates, MCOOR_ for multiple-category coordinates, CENTRO_ for centroids, PCENTRO_ for projected centroids, WEIGHT_ for weights, 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_ or WEIGHT_, 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 level of optimal scaling that is specified for the variable.
SET_. The set number of the original variable.
DIM1...DIMn. Numeric variables containing the category quantifications, the single-category coordinates, multiple-category coordinates, weights, centroids, projected centroids, and component loadings for each dimension. Each variable is labeled DIM n, where n represents the dimension number. Any values that cannot be computed are assigned 0 in the file.