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.

SPSS Matrix Data Files<br />

Files 15<br />

An SPSS matrix data file is similar to any SPSS-format data file. It is a self-documented file<br />

containing data and descriptive information. The descriptive information, stored in the file<br />

dictionary, includes variable names, variable print and write formats, and optional variable<br />

and value labels. You can assign or change the names, labels, and formats of the variables in<br />

a matrix data file, just as you can in any SPSS-format data file. Many procedures can read raw<br />

matrix data and write a representative matrix of the data values to an SPSS matrix data file,<br />

which can be used as input for subsequent analysis.<br />

Table 2 shows the types of matrix materials written by SPSS procedures. The ROWTYPE_<br />

values (discussed below) of each matrix are also included so that you can see which<br />

procedure matrices are readable by other procedures. If a procedure produces more than one<br />

type of matrix, the subcommands required for each type of matrix are listed.<br />

Table 2 Types of matrices and their contents<br />

<strong>Command</strong> Subcommands/Notes ROWTYPE_ values<br />

ALSCAL PROX<br />

CLUSTER PROX<br />

CORRELATIONS MEAN<br />

STDDEV<br />

N<br />

CORR<br />

DISCRIMINANT /CLASSIFY=POOLED N (1 per cell)<br />

COUNT (1 per cell)<br />

MEAN (1 per cell)<br />

STDDEV (pooled)<br />

CORR (pooled)<br />

/CLASSIFY=SEPARATE, N (1 per cell)<br />

/STATISTICS=BOXM, or COUNT (1 per cell)<br />

/STATISTICS=GCOV<br />

MEAN (1 per cell)<br />

STDDEV (1 per cell)<br />

CORR (1 per cell)<br />

FACTOR<br />

/MATRIX=OUT(CORR=file)<br />

/MATRIX=IN(CORR=file)<br />

CORR<br />

MANOVA<br />

/MATRIX=OUT(FAC=file)<br />

/MATRIX=IN(FAC=file)<br />

FACTOR<br />

N (cell and pooled)<br />

MEAN (1 per cell)<br />

STDDEV (pooled)<br />

CORR (pooled)

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

Saved successfully!

Ooh no, something went wrong!