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
INorOUTis required to specify the matrix file in parentheses. When bothINandOUTare used on the same MANOVA procedure, they can be specified on separateMATRIXsubcommands 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=INcannot be used in place ofGETorDATA LISTto begin a new command syntax file.MATRIXis a subcommand onMANOVA, andMANOVAcannot run before an active dataset is defined. To begin a new command file and immediately read a matrix, first useGETto retrieve the matrix file, and then specifyIN(*)onMATRIX. - Records in the matrix data file that is read by
MANOVAcan 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
MANOVAreads matrix materials, it ignores the record containing the total number of cases. In addition,MANOVAskips unrecognized records.MANOVAdoes 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.