27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

860 MANOVA: Univariate<br />

• Either IN or OUT is required to specify the matrix file in parentheses. When both IN and OUT<br />

are used on the same MANOVA procedure, they can be specified on separate MATRIX subcommands<br />

or on the same subcommand.<br />

• The matrix materials include the N, mean, and standard deviation. Documents from the<br />

file that form the matrix are not included in the matrix data file.<br />

• MATRIX=IN cannot be used in place of GET or DATA LIST to begin a new SPSS command<br />

file. MATRIX is a subcommand on MANOVA, and MANOVA cannot run before a working<br />

data file is defined. To begin a new command file and immediately read a matrix, first<br />

GET the matrix file, and then specify IN(*) on MATRIX.<br />

• Records in the matrix data file read by MANOVA can be in any order, with the following<br />

exceptions: the order of split-file groups cannot be violated, and all CORR vectors must<br />

appear contiguously within each split-file group.<br />

• When MANOVA reads matrix materials, it ignores the record containing the total number<br />

of cases. In addition, it skips unrecognized records. MANOVA does not issue a warning<br />

when it skips records.<br />

The following two keywords are available on the MATRIX subcommand:<br />

OUT Write an SPSS matrix data file. Specify either a file or an asterisk, and enclose the<br />

specification in parentheses. If you specify a file, the file is stored on disk and can<br />

be retrieved at any time. If you specify an asterisk (*) or leave the parentheses empty,<br />

the matrix file replaces the working data file but is not stored on disk unless you<br />

use SAVE or XSAVE.<br />

IN Read an SPSS matrix data file. If the matrix file is not the current working data file,<br />

specify a file in parentheses. If the matrix file is the current working data file, specify<br />

an asterisk (*) or leave the parentheses empty.<br />

Format of the SPSS Matrix Data File<br />

The SPSS matrix data file includes two special variables created by SPSS: ROWTYPE_ and<br />

VARNAME_.<br />

• Variable ROWTYPE_ is a short string variable having values N, MEAN, CORR (for Pearson<br />

correlation coefficients), and STDDEV.<br />

• Variable VARNAME_ is a short string variable whose values are the names of the variables<br />

and covariates used to form the correlation matrix. When ROWTYPE_ is CORR,<br />

VARNAME_ gives the variable associated with that row of the correlation matrix.<br />

• Between ROWTYPE_ and VARNAME_ are the factor variables (if any) defined in the BY<br />

portion of the MANOVA variable list. (Factor variables receive the system-missing value<br />

on vectors that represent pooled values.)<br />

• Remaining variables are the variables used to form the correlation matrix.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!