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.

DISCRIMINANT 471<br />

• Variables should be suitable for use in a regression-type equation, either measured at the<br />

interval level or dichotomous.<br />

SELECT Subcommand<br />

SELECT limits cases used in the analysis phase to those with a specified value for any one<br />

variable.<br />

• Only one SELECT subcommand is allowed. It can follow the GROUPS and VARIABLES<br />

subcommands but must precede all other subcommands.<br />

• The specification is a variable name and a single integer value in parentheses. Multiple<br />

variables or values are not permitted.<br />

• The selection variable does not have to be specified on the VARIABLES subcommand.<br />

• Only cases with the specified value for the selection variable are used in the analysis<br />

phase.<br />

• All cases, whether selected or not, are classified by default. Use CLASSIFY=UNSELECTED<br />

to classify only the unselected cases.<br />

• When SELECT is used, classification statistics are reported separately for selected and<br />

unselected cases, unless CLASSIFY=UNSELECTED is used to restrict classification.<br />

Example<br />

DISCRIMINANT GROUPS=APPROVAL(1,5)<br />

/VARS=Q1 TO Q10<br />

/SELECT=COMPLETE(1)<br />

/CLASSIFY=UNSELECTED.<br />

• Using only cases with the value 1 for the variable COMPLETE, DISCRIMINANT estimates<br />

a function of Q1 to Q10 that discriminates between the categories 1 to 5 of the grouping<br />

variable APPROVAL.<br />

• Because CLASSIFY=UNSELECTED is specified, the discriminant function will be used to<br />

classify only the unselected cases (cases for which COMPLETE does not equal 1).<br />

ANALYSIS Subcommand<br />

ANALYSIS is used to request several different discriminant analyses using the same grouping<br />

variable, or to control the order in which variables are entered into a stepwise analysis.<br />

• ANALYSIS is optional for the first analysis block. By default, all variables specified on the<br />

VARIABLES subcommand are included in the analysis.<br />

• The variables named on ANALYSIS must first be specified on the VARIABLES subcommand.<br />

• The keyword ALL includes all variables on the VARIABLES subcommand.<br />

• If the keyword TO is used to specify a list of variables on an ANALYSIS subcommand, it<br />

refers to the order of variables on the VARIABLES subcommand, which is not necessarily<br />

the order of variables in the working data file.

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

Saved successfully!

Ooh no, something went wrong!