Help using Base SAS procedures

How to use PROC DISCRIM after PROC STEPDISC in SAS 9.1?

Reply
New Contributor
Posts: 4

How to use PROC DISCRIM after PROC STEPDISC in SAS 9.1?

In v9.2, you can use the following code:
%let _stdvar = ;
proc stepdisc data=iris bsscp tsscp;
class Species;
var SepalLength SepalWidth PetalLength PetalWidth;
run;

%put &_stdvar;

proc discrim data=iris;
class Species;
var &_stdvar;
run;

But there is no auto-macro variable _stdvar in the STEPDISC procedure before SAS 9.2. What can I do? Any suggestion will be welcome.
Ask a Question
Discussion stats
  • 0 replies
  • 214 views
  • 0 likes
  • 1 in conversation