MATRIX Subcommand (FACTOR command)
MATRIX reads
and writes matrix data files.
-
MATRIXmust always be specified first. - Only one
INand oneOUTkeyword can be specified on theMATRIXsubcommand. If eitherINorOUTis specified more than once, theFACTORprocedure is not executed. - The matrix type must be indicated on
INorOUT. The types areCORfor a correlation matrix,COVfor a covariance matrix, andFACfor a factor-loading matrix. Indicate the matrix type within parentheses immediately before you identify the matrix file. - If you use both
INandOUTonMATRIX, you can specify them in either order. You cannot write a covariance matrix if the input matrix is a factor-loading matrix or a correlation matrix that does not contain standard deviations (STDDEVorSD). - If you read in a covariance matrix and write out a factor-loading matrix, the output factor loadings are rescaled.
OUT (matrix type= 'savfile'|'dataset'). Write a matrix
data file. Specify the matrix type (COR, COV, FAC, or FSC) and the matrix file in parentheses. For the matrix data file, specify
a filename to store the matrix materials on disk, a previously declared
dataset available in the current session, or an asterisk to replace
the active dataset. If you specify an asterisk or a dataset name,
the matrix data file is not stored on disk unless you use SAVE or XSAVE.
IN (matrix type= 'savfile'|'dataset'). Read a matrix
data file. Specify the matrix type (COR, COV, or FAC) and the matrix file in parentheses.
For the matrix data file, specify an asterisk if the matrix data file
is the active dataset. If the matrix file is another file, specify
the filename or dataset name in parentheses. A matrix file read from
an external file or another dataset in the current session does not
replace the active dataset.