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 keyword IN 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 the TABLE subcommand.
  • The proximity matrices PROXSCAL reads have ROWTYPE_ values of PROX.
  • 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 the WEIGHTS subcommand in combination with the use of MATRIX=IN.
  • With MATRIX=IN, only a source identifying variable can be specified on the TABLE 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.