Usage Note 22644: Can the variables that are selected by PROC STEPDISC be input to PROC DISCRIM?
Beginning in SAS 9.2 PROC STEPDISC saves the list of selected variables in an automatic macro variable, &_StdVar. This list can be used in a subsequent procedure’s VAR statement as follows:
var &_stdvar;
Prior to SAS 9.2, you can use the ODS OUTPUT statement to write a summary table from PROC STEPDISC to a data set. This summary table shows the variables that are entered and removed from the model. The statements below show how this is done. However, PROC DISCRIM cannot read the output from PROC STEPDISC. You need to construct a VAR statement for PROC DISCRIM from the results of PROC STEPDISC.
ods output summary=sum;
proc stepdisc data=iris;
class Species;
var SepalLength SepalWidth PetalLength PetalWidth;
run;
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> Procedures ==> STEPDISC SAS Reference ==> Procedures ==> DISCRIM Analytics ==> Nonparametric Analysis Analytics ==> Multivariate Analysis Analytics ==> Discriminant Analysis
|
| Date Modified: | 2005-11-14 11:14:50 |
| Date Created: | 2002-12-16 10:56:40 |