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.

468 DISCRIMINANT<br />

Example<br />

Overview<br />

Options<br />

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

/VARIABLES=V1 TO V7<br />

/SAVE CLASS=PREDOUT.<br />

DISCRIMINANT performs linear discriminant analysis for two or more groups. The goal of<br />

discriminant analysis is to classify cases into one of several mutually exclusive groups based<br />

on their values for a set of predictor variables. In the analysis phase, a classification rule is<br />

developed using cases for which group membership is known. In the classification phase, the<br />

rule is used to classify cases for which group membership is not known. The grouping<br />

variable must be categorical, and the independent (predictor) variables must be interval or<br />

dichotomous, since they will be used in a regression-type equation.<br />

Variable Selection Method. In addition to the direct-entry method, you can specify any of<br />

several stepwise methods for entering variables into the discriminant analysis using the<br />

METHOD subcommand. You can set the values for the statistical criteria used to enter variables<br />

into the equation using the TOLERANCE, FIN, PIN, FOUT, POUT, and VIN subcommands,<br />

and you can specify inclusion levels on the ANALYSIS subcommand. You can also specify the<br />

maximum number of steps in a stepwise analysis using the MAXSTEPS subcommand.<br />

Case Selection. You can select a subset of cases for the analysis phase using the SELECT<br />

subcommand.<br />

Prior Probabilities. You can specify prior probabilities for membership in a group using the<br />

PRIORS subcommand. Prior probabilities are used in classifying cases.<br />

New Variables. You can add new variables to the working data file containing the predicted<br />

group membership, the probability of membership in each group, and discriminant function<br />

scores using the SAVE subcommand.<br />

Classification Options. With the CLASSIFY subcommand, you can classify only those cases<br />

that were not selected for inclusion in the discriminant analysis, or only those cases whose<br />

value for the grouping variable was missing or fell outside the range analyzed. In addition,<br />

you can classify cases based on the separate-group covariance matrices of the functions<br />

instead of the pooled within-groups covariance matrix.<br />

Statistical Display. You can request any of a variety of statistics on the STATISTICS subcommand.<br />

You can rotate the pattern or structure matrices using the ROTATE subcommand. You<br />

can compare actual with predicted group membership using a classification results table<br />

requested with the STATISTICS subcommand or compare any of several types of plots or histograms<br />

using the PLOT subcommand.

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

Saved successfully!

Ooh no, something went wrong!