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.

478 DISCRIMINANT<br />

Example<br />

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

/VARIABLES=FOOD TO FSALES<br />

/SAVE CLASS=PRDCLASS SCORES=SCORE PROBS=PRB<br />

/ANALYSIS=FOOD SERVICE COOK MANAGER FSALES<br />

/SAVE CLASS SCORES PROBS.<br />

• Two analyses are specified. The first uses all variables named on the VARIABLES<br />

subcommand and the second narrows down to five variables. For each analysis, a SAVE<br />

subcommand is specified.<br />

• For each analysis, DISCRIMINANT displays a classification processing summary table and<br />

a prior probabilities for groups table.<br />

• On the first SAVE subcommand, a variable name and two rootnames are provided. With<br />

three groups, the following variables are added to each case:<br />

Name Variable label Description<br />

PRDCLASS Predicted group for analysis 1 Predicted group membership<br />

SCORE1 Function 1 for analysis 1 Discriminant score for function 1<br />

SCORE2 Function 2 for analysis 1 Discriminant score for function 2<br />

PRB1 Probability 1 for analysis 1 Probability of being in group 1<br />

PRB2 Probability 2 for analysis 1 Probability of being in group 2<br />

PRB3 Probability 3 for analysis 1 Probability of being in group 3<br />

• Since no variable name or rootnames are provided on the second SAVE subcommand,<br />

DISCRIMINANT uses default names. Note that m serves only to distinguish variables saved<br />

as a set and does not correspond to the sequential number of an analysis. To find out what<br />

information a new variable holds, read the variable label, as shown in the following table:<br />

Name Variable label Description<br />

DSC_1 Predicted group for analysis 2 Predicted group membership<br />

DSC1_1 Function 1 for analysis 2 Discriminant score for function 1<br />

DSC2_1 Function 2 for analysis 2 Discriminant score for function 2<br />

DSC1_2 Probability 1 for analysis 2 Probability of being in group 1<br />

DSC2_2 Probability 2 for analysis 2 Probability of being in group 2<br />

DSC3_2 Probability 3 for analysis 2 Probability of being in group 3

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

Saved successfully!

Ooh no, something went wrong!