SELECT Subcommand (DISCRIMINANT command)

SELECT limits cases used in the analysis phase to those with a specified value for any one variable.

  • Only one SELECT subcommand is allowed. It can follow the GROUPS and VARIABLES subcommands but must precede all other subcommands.
  • The specification is a variable name and a single integer value in parentheses. Multiple variables or values are not permitted.
  • The selection variable does not have to be specified on the VARIABLES subcommand.
  • Only cases with the specified value for the selection variable are used in the analysis phase.
  • All cases, whether selected or not, are classified by default. Use CLASSIFY=UNSELECTED to classify only the unselected cases.
  • When SELECT is used, classification statistics are reported separately for selected and unselected cases, unless CLASSIFY=UNSELECTED is used to restrict classification.

Example

DISCRIMINANT GROUPS=APPROVAL(1,5)
  /VARS=Q1 TO Q10
  /SELECT=COMPLETE(1)
  /CLASSIFY=UNSELECTED.
  • Using only cases with the value 1 for the variable COMPLETE, DISCRIMINANT estimates a function of Q1 to Q10 that discriminates between the categories 1 to 5 of the grouping variable APPROVAL.
  • Because CLASSIFY=UNSELECTED is specified, the discriminant function will be used to classify only the unselected cases (cases for which COMPLETE does not equal 1).