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.

Format of the Matrix Data File<br />

Split Files<br />

PARTIAL CORR 1197<br />

• The matrix data file includes two special variables created by the program: ROWTYPE_<br />

and VARNAME_.<br />

• ROWTYPE_ is a short string variable with values N, MEAN, STDDEV, and PCORR (for<br />

the partial correlation coefficient).<br />

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

form the correlation matrix. When ROWTYPE_ is PCORR, VARNAME_ gives the variable<br />

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

• The remaining variables in the file are the variables used to form the correlation matrix.<br />

• When split-file processing is in effect, the first variables in the matrix data file are the split<br />

variables, followed by ROWTYPE_, VARNAME_, and the variables used to form the correlation<br />

matrix.<br />

• A full set of matrix materials is written for each split-file group defined by the split variables.<br />

• A split variable cannot have the same variable name as any other variable written to the<br />

matrix data file.<br />

• If split-file processing is in effect when a matrix is written, the same split file must be in<br />

effect when that matrix is read by any procedure.<br />

Missing Values<br />

Example<br />

• With pairwise treatment of missing values (MISSING=ANALYSIS is specified), the matrix<br />

of N’s used to compute each coefficient is included with the matrix materials.<br />

• With LISTWISE treatment, a single N used to calculate all coefficients is included with the<br />

matrix materials.<br />

• When reading a matrix data file, be sure to specify a missing-value treatment on PARTIAL<br />

CORR that is compatible with the missing-value treatment that was in effect when the matrix<br />

materials were produced.<br />

GET FILE=CITY.<br />

PARTIAL CORR VARIABLES=BUSDRVER MECHANIC ENGINEER TEACHER COOK<br />

BY NETSALRY(1)<br />

/MATRIX=OUT(PTMTX).<br />

• PARTIAL CORR reads data from file CITY and writes one set of matrix materials to file PTMTX.<br />

• The working data file is still CITY. Subsequent commands are executed on CITY.

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

Saved successfully!

Ooh no, something went wrong!