|
Chapter Contents |
Previous |
Next |
| The DISCRIM Procedure |
This statement invokes the DISCRIM procedure. You can specify the following options in the PROC DISCRIM statement.
| Tasks | Options | ||
| Specify Input Data Set | DATA= | ||
| TESTDATA= | |||
| Specify Output Data Set | OUTSTAT= | ||
| OUT= | |||
| OUTCROSS= | |||
| OUTD= | |||
| TESTOUT= | |||
| TESTOUTD= | |||
| Discriminant Analysis | METHOD= | ||
| POOL= | |||
| SLPOOL= | |||
| Nonparametric Methods | K= | ||
| R= | |||
| KERNEL= | |||
| METRIC= | |||
| Tasks | Options | ||
| Classification Rule | THRESHOLD= | ||
| Determine Singularity | SINGULAR= | ||
| Canonical Discriminant Analysis | CANONICAL | ||
| CANPREFIX= | |||
| NCAN= | |||
| Resubstitution Classification | LIST | ||
| LISTERR | |||
| NOCLASSIFY | |||
| Cross Validation Classification | CROSSLIST | ||
| CROSSLISTERR | |||
| CROSSVALIDATE | |||
| Test Data Classification | TESTLIST | ||
| TESTLISTERR | |||
| Estimate Error Rate | POSTERR | ||
| Control Displayed Output | |||
| Correlations | BCORR | ||
| PCORR | |||
| TCORR | |||
| WCORR | |||
| Covariances | BCOV | ||
| PCOV | |||
| TCOV | |||
| WCOV | |||
| SSCP Matrix | BSSCP | ||
| PSSCP | |||
| TSSCP | |||
| WSSCP | |||
| Miscellaneous | ALL | ||
| ANOVA | |||
| DISTANCE | |||
| MANOVA | |||
| SIMPLE | |||
| STDMEAN | |||
| Suppress output | NOPRINT | ||
| SHORT | |||
The CANONICAL option is activated when you specify either the NCAN= or the CANPREFIX= option. A discriminant criterion is always derived in PROC DISCRIM. If you want canonical discriminant analysis without the use of discriminant criteria, you should use PROC CANDISC.
The CANONICAL option is activated when you specify either the NCAN= or the CANPREFIX= option. A discriminant criterion is always derived in PROC DISCRIM. If you want canonical discriminant analysis without the use of discriminant criterion, you should use PROC CANDISC.
When you specify METHOD=NORMAL, the option POOL=TEST requests Bartlett's modification of the likelihood ratio test (Morrison 1976; Anderson 1984) of the homogeneity of the within-group covariance matrices. The test is unbiased (Perlman 1980). However, it is not robust to nonnormality. If the test statistic is significant at the level specified by the SLPOOL= option, the within-group covariance matrices are used. Otherwise, the pooled covariance matrix is used. The discriminant function coefficients are displayed only when the pooled covariance matrix is used.
Let S be the total-sample correlation matrix. If the R2 for predicting a quantitative variable in the VAR statement from the variables preceding it exceeds 1-p, then S is considered singular. If S is singular, the probability levels for the multivariate test statistics and canonical correlations are adjusted for the number of variables with R2 exceeding 1-p.
Let St be the group t covariance matrix and Sp be the pooled covariance matrix. In group t, if the R2 for predicting a quantitative variable in the VAR statement from the variables preceding it exceeds 1-p, then St is considered singular. Similarly, if the partial R2 for predicting a quantitative variable in the VAR statement from the variables preceding it, after controlling for the effect of the CLASS variable, exceeds 1-p, then Sp is considered singular.
If PROC DISCRIM needs to compute either the inverse or the determinant of a matrix that is considered singular, then it uses a quasi-inverse or a quasi-determinant. For details, see the "Quasi-Inverse" section.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.