MATRIX Subcommand (PROXSCAL command)
MATRIX
reads
matrix data files. It can read a matrix written by either PROXIMITIES
or CLUSTER
.
- The specification on
MATRIX
is the keywordIN
and the matrix file in parentheses. - Generally, data read by
PROXSCAL
are already in matrix form, whether in square format, or in stacked format using theTABLE
subcommand. - The proximity matrices
PROXSCAL
reads haveROWTYPE_
values ofPROX
. - Using
MATRIX=IN
,PROXSCAL
will ignore variables specified on the main variable list. All numerical variables from the matrix data file are processed. -
PROXSCAL
ignores variables specified in theWEIGHTS
subcommand in combination with the use ofMATRIX=IN
. - With
MATRIX=IN
, only a source identifying variable can be specified on theTABLE
subcommand. The sources are created as a result of a split file action.
IN('file'|'dataset'). Read a matrix
data file. Specify a quoted file specification or previously
declared dataset name, enclosed in parentheses. Data read through
the MATRIX
subcommand does not
replace the active dataset.
Example
GET FILE = '/data/proxmtx.SAV'.
PROXSCAL
/MATRIX=IN('/data/matrix.sav').
-
MATRIX=IN
specifies an external matrix data file called matrix.sav, of which all numerical variables are used for the current analysis.