Matrix Input (PROXIMITIES command)

  • PROXIMITIES can read a matrix file that is written by a previous PROXIMITIES procedure.
  • Values for split-file variables should precede values for ROWTYPE_. CASENO_ and the labeling variable (if present) should come after ROWTYPE_ and before VARNAME_.
  • If CASENO_ is of type string rather than numeric, it is considered unavailable and a warning is issued.
  • If CASENO_ appears on a variable list, a syntax error results.
  • PROXIMITIES ignores unrecognized ROWTYPE_ values. In addition, PROXIMITIES ignores variables that are present in the matrix file that are not specified (or used by default) on the PROXIMITIES variable list.
  • The program reads variable names, variable and value labels, and print and write formats from the dictionary of the matrix data file.
  • MATRIX=IN cannot be used unless an active dataset has already been defined. To read an existing matrix data file at the beginning of a session, use GET to retrieve the matrix file, and then specify IN(*) on MATRIX.
  • When you read a matrix that is created with MATRIX DATA, you should supply a value label for PROX of either SIMILARITY or DISSIMILARITY so that the matrix is correctly identified. If you do not supply a label, PROXIMITIES assumes DISSIMILARITY. See Format of the Matrix Data File (PROXIMITIES command).
  • The variable list on PROXIMITIES can be omitted when a matrix file is used as input. When the variable list is omitted, all variables in the matrix data file are used in the analysis. If a variable list is specified, the specified variables can be a subset of the variables in the matrix file.
  • With a large number of variables, the matrix data file will wrap when displayed (as with LIST) and will be difficult to read. Nonetheless, the matrix values are accurate and can be used as matrix input.