Help using Base SAS procedures

Selected Variables by Forward Selection

Reply
Contributor
Posts: 57

Selected Variables by Forward Selection

After the forward selection in PROC REG produce a list of selected variables, how to output this list to a file?

Respected Advisor
Posts: 3,156

Re: Selected Variables by Forward Selection

Super User
Posts: 10,035

Re: Selected Variables by Forward Selection

Use ODS.

First use ods trace to get the name of table you want, then use ods output to get what you want.

ods trace on;

proc reg data=sashelp.class;
model weight=age height /method=forward;
ods output SelectionSummary=want;
run;
ods trace off;

Ksharp

Ask a Question
Discussion stats
  • 2 replies
  • 133 views
  • 0 likes
  • 3 in conversation