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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

470 DISCRIMINANT<br />

Limitations<br />

Example<br />

• Pairwise deletion of missing data is not available.<br />

DISCRIMINANT GROUPS=OUTCOME (1,4)<br />

/VARIABLES=V1 TO V7<br />

/SAVE CLASS=PREDOUT<br />

/STATISTICS=COV GCOV TCOV.<br />

• Only cases with values 1, 2, 3, or 4 for the grouping variable GROUPS will be used in<br />

computing the discriminant functions.<br />

• The variables in the working data file between and including V1 and V7 will be used to<br />

compute the discriminant functions and to classify cases.<br />

• Predicted group membership will be saved in the variable PREDOUT.<br />

• In addition to the default output, the STATISTICS subcommand requests the pooled<br />

within-groups covariance matrix and the group and total covariance matrices.<br />

• Since SAVE is specified, DISCRIMINANT also displays a classification processing summary<br />

table and a priori probabilities for groups table.<br />

GROUPS Subcommand<br />

GROUPS specifies the name of the grouping variable, which defines the categories or groups,<br />

and a range of categories.<br />

• GROUPS is required and can be specified only once.<br />

• The specification consists of a variable name followed by a range of values in parentheses.<br />

• Only one grouping variable may be specified; its values must be integers. To use a string<br />

variable as the grouping variable, first use AUTORECODE to convert the string values to<br />

integers and then specify the recoded variable as the grouping variable.<br />

• Empty groups are ignored and do not affect calculations. For example, if there are no<br />

cases in group 2, the value range (1, 5) will define only four groups.<br />

• Cases with values outside the value range or missing are ignored during the analysis<br />

phase but are classified during the classification phase.<br />

VARIABLES Subcommand<br />

VARIABLES identifies the predictor variables, which are used to classify cases into the groups<br />

defined on the GROUPS subcommand. The list of variables follows the usual conventions for<br />

variable lists.<br />

• VARIABLES is required and can be specified only once. Use the ANALYSIS subcommand<br />

to obtain multiple analyses.<br />

• Only numeric variables can be used.

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

Saved successfully!

Ooh no, something went wrong!