SELECT Subcommand (DISCRIMINANT command)
SELECT limits
cases used in the analysis phase to those with a specified value for
any one variable.
- Only one
SELECTsubcommand is allowed. It can follow theGROUPSandVARIABLESsubcommands 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
VARIABLESsubcommand. - 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=UNSELECTEDto classify only the unselected cases. - When
SELECTis used, classification statistics are reported separately for selected and unselected cases, unlessCLASSIFY=UNSELECTEDis 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,
DISCRIMINANTestimates a function of Q1 to Q10 that discriminates between the categories 1 to 5 of the grouping variable APPROVAL. - Because
CLASSIFY=UNSELECTEDis specified, the discriminant function will be used to classify only the unselected cases (cases for which COMPLETE does not equal 1).