MATRIX Subcommand (MANOVA: Univariate command)
MATRIX
reads
and writes matrix data files. MATRIX
writes correlation matrices that can be read by subsequent MANOVA
procedures.
- Either
IN
orOUT
is required to specify the matrix file in parentheses. When bothIN
andOUT
are used on the same MANOVA procedure, they can be specified on separateMATRIX
subcommands or on the same subcommand. - The matrix materials include the N, mean, and standard deviation. Documents from the file that form the matrix are not included in the matrix data file.
-
MATRIX=IN
cannot be used in place ofGET
orDATA LIST
to begin a new command syntax file.MATRIX
is a subcommand onMANOVA
, andMANOVA
cannot run before an active dataset is defined. To begin a new command file and immediately read a matrix, first useGET
to retrieve the matrix file, and then specifyIN(*)
onMATRIX
. - Records in the matrix data file that is read by
MANOVA
can be in any order, with the following exceptions: The order of split-file groups cannot be violated, and all CORR vectors must appear contiguously within each split-file group. - When
MANOVA
reads matrix materials, it ignores the record containing the total number of cases. In addition,MANOVA
skips unrecognized records.MANOVA
does not issue a warning when it skips records.
The following two keywords are available on the MATRIX
subcommand:
OUT. Write a matrix
data file. Specify either a file or an asterisk, and
enclose the specification in parentheses. If you specify a file, the
file is stored on disk and can be retrieved at any time. If you specify
an asterisk (*) or leave the parentheses empty, the matrix file replaces
the active dataset but is not stored on disk unless you use SAVE
or XSAVE
.
IN. Read a matrix data file. If the matrix file is not the current active dataset, specify a file in parentheses. If the matrix file is the current active dataset, specify an asterisk (*) or leave the parentheses empty.