MATRIX Subcommand (CORRELATIONS command)
MATRIX writes
matrix materials to a data file or previously declared dataset (DATASET DECLARE command). The matrix materials
include the mean and standard deviation for each variable, the number
of cases used to compute each coefficient, and the Pearson correlation
coefficients. Several procedures can read matrix materials produced
by CORRELATIONS, including PARTIAL CORR, REGRESSION, FACTOR, and CLUSTER.
-
CORRELATIONScannot write rectangular matrices (those specified with the keywordWITH) to a file. - If you specify more than one variable list on
CORRELATIONS, only the last list that does not use the keywordWITHis written to the matrix data file. - The keyword
OUTspecifies the file to which the matrix is written. Specify an asterisk to replace the active dataset or a quoted file specification or dataset name, enclosed in parentheses. - Documents from the original file will not be included in the matrix file and will not be present if the matrix file becomes the working data file.