MATRIX Subcommand (REGRESSION command)
MATRIX
reads
and writes matrix data files. It can read matrix data files or datasets
written by previous REGRESSION
procedures or data files or datasets written by other procedures
such as CORRELATIONS
. The matrix
materials REGRESSION
writes also
include the mean, standard deviation, and number of cases used to
compute each coefficient. This information immediately precedes the
correlation matrix in the matrix file.
- Either
IN
orOUT
and a matrix file or previously declared dataset name in parentheses are required onMATRIX
. - When used,
MATRIX
must be the first subcommand specified in aREGRESSION
procedure. -
ORIGIN
andNOORIGIN
affect the way the correlation matrix is built. If matrix materials are used as input toREGRESSION
, the keyword that was in effect when the matrix was written should be in effect when that matrix is read.
OUT ('savfile'|'dataset'). Write a matrix
data file or dataset. Specify either a filename, a previously
declared dataset name, or an asterisk, enclosed in parentheses. Filenames
should be enclosed in quotes and are stored in the working directory
unless a path is included as part of the file specification. If you
specify an asterisk (*), the matrix data file replaces the active
dataset. If you specify an asterisk or a dataset name, the file is
not stored on disk unless you use SAVE
or XSAVE
.
IN ('savfile'|'dataset'). Read a matrix data file or dataset. Specify either a filename, dataset name created during the current session, or an asterisk enclosed in parentheses. An asterisk reads the matrix data from the active dataset. Filenames should be enclosed in quotes and are read from the working directory unless a path is included as part of the file specification.