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.

472 DISCRIMINANT<br />

Example<br />

DISCRIMINANT GROUPS=SUCCESS(0,1)<br />

/VARIABLES=V10 TO V15, AGE, V5<br />

/ANALYSIS=V15 TO V5<br />

/ANALYSIS=ALL.<br />

• The first analysis will use the variables V15, AGE, and V5 to discriminate between cases<br />

where SUCCESS equals 0 and SUCCESS equals 1.<br />

• The second analysis will use all variables named on the VARIABLES subcommand.<br />

Inclusion Levels<br />

When you specify a stepwise method on the METHOD subcommand (any method other than<br />

the default direct-entry method), you can control the order in which variables are considered<br />

for entry or removal by specifying inclusion levels on the ANALYSIS subcommand. By<br />

default, all variables in the analysis are entered according to the criterion requested on the<br />

METHOD subcommand.<br />

• An inclusion level is an integer between 0 and 99, specified in parentheses after a variable<br />

or list of variables on the ANALYSIS subcommand.<br />

• The default inclusion level is 1.<br />

• Variables with higher inclusion levels are considered for entry before variables with lower<br />

inclusion levels.<br />

• Variables with even inclusion levels are entered as a group.<br />

• Variables with odd inclusion levels are entered individually, according to the stepwise<br />

method specified on the METHOD subcommand.<br />

• Only variables with an inclusion level of 1 are considered for removal. To make a variable<br />

with a higher inclusion level eligible for removal, name it twice on the ANALYSIS<br />

subcommand, first specifying the desired inclusion level and then an inclusion level of 1.<br />

• Variables with an inclusion level of 0 are never entered. However, the statistical criterion<br />

for entry is computed and displayed.<br />

• Variables that fail the tolerance criterion are not entered regardless of their inclusion level.<br />

The following are some common methods of entering variables and the inclusion levels that<br />

could be used to achieve them. These examples assume that one of the stepwise methods is<br />

specified on the METHOD subcommand (otherwise, inclusion levels have no effect).<br />

Direct. ANALYSIS=ALL(2) forces all variables into the equation. (This is the default and can be<br />

requested with METHOD=DIRECT or simply by omitting the METHOD subcommand.)<br />

Stepwise. ANALYSIS=ALL(1) yields a stepwise solution in which variables are entered and<br />

removed in stepwise fashion. (This is the default when anything other than DIRECT is specified<br />

on the METHOD subcommand.)<br />

Forward. ANALYSIS=ALL(3) enters variables into the equation stepwise but does not remove<br />

variables.<br />

Backward. ANALYSIS=ALL(2) ALL(1) forces all variables into the equation and then allows<br />

them to be removed stepwise if they satisfy the criterion for removal.

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

Saved successfully!

Ooh no, something went wrong!