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.

484 DISCRIMINANT<br />

Split Files<br />

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

split variables, followed by ROWTYPE_, the grouping variable, VARNAME_, and then the<br />

variables used to form the correlation matrix.<br />

• A full set of matrix materials is written for each subgroup 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 another procedure.<br />

STDDEV and CORR Records<br />

Records written with ROWTYPE_ values STDDEV and CORR are influenced by specifications<br />

on the STATISTICS and CLASSIFY subcommands.<br />

• If BOXM or GCOV is specified on STATISTICS or SEPARATE is specified on CLASSIFY, the<br />

STDDEV and CORR records represent within-cell data and receive values for the<br />

grouping variable.<br />

• If none of the above specifications is in effect, the STDDEV and CORR records represent<br />

pooled values. The STDDEV vector contains the square root of the mean square error for<br />

each variable, and STDDEV and CORR records receive the system-missing value for the<br />

grouping variable.<br />

Missing Values<br />

Example<br />

Missing-value treatment affects the values written to a matrix data file. When reading a<br />

matrix data file, be sure to specify a missing-value treatment on DISCRIMINANT that is<br />

compatible with the treatment that was in effect when the matrix materials were generated.<br />

GET FILE=UNIONBK /KEEP WORLD FOOD SERVICE BUS MECHANIC<br />

CONSTRUC COOK MANAGER FSALES APPL RENT.<br />

DISCRIMINANT GROUPS=WORLD(1,3)<br />

/VARIABLES=FOOD SERVICE BUS MECHANIC CONSTRUC COOK MANAGER FSALES<br />

/METHOD=WILKS<br />

/PRIORS=SIZE<br />

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

• DISCRIMINANT reads data from the SPSS-format data file UNIONBK and writes one set of<br />

matrix materials to the file DISCMTX.<br />

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

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

Saved successfully!

Ooh no, something went wrong!