BookmarkSubscribeRSS Feed
kimmygzc
Obsidian | Level 7

one of the coding variables is of hundreds kinds, and the class level information table is too wide to display, how to hide it?

 

 

and how to order the parameters by estimator (in abs would be better)? can select top-n wanted only?  

5 REPLIES 5
sbxkoenk
SAS Super FREQ

Hello,

 

What PROC are you using?

Most PROCs support the noprint; option (create an output dataset then, otherwise you have nothing 😉).

 

Parameter estimates cannot be sorted in displayed output.
But can be sorted in an output dataset of course.

 

Kind regards,

Koen

kimmygzc
Obsidian | Level 7
Thanks for your reply! Koen.
im using proc logistic, it's annoying to see stepwise mid results, too long to review, I'm looking for a way to filter the results.
sbxkoenk
SAS Super FREQ

Hello,

 

There are several ways to suppress stepwise "mid-results".

You can for example use ODS EXCLUDE or ODS SELECT.

(ODS = Output Delivery System)

 

Like in this example:

ods trace off;
ODS SELECT ParameterEstimates Association;

proc logistic data=Remission outest=betas covout;
   model remiss(event='1')=cell smear infil li blast temp
                / selection=stepwise
                  slentry=0.3
                  slstay=0.35
                  details
                  lackfit;
   output out=pred p=phat lower=lcl upper=ucl
          predprob=(individual crossvalidate);
   ods output Association=Association;
run;

proc print data=betas;
   title2 'Parameter Estimates and Covariance Matrix';
run;

Koen

kimmygzc
Obsidian | Level 7
I'll try, the proj file is collecting features and locked up.

ODS, good, do you happen to have a option list for different procs? I have also other procs needed to select output, like proc univariate, etc.

Thank you, Koen.
have a good day, end of Fri work hour from Guangzhou, China.
sbxkoenk
SAS Super FREQ

Hello @kimmygzc ,

 

If you navigate to a PROC in the SAS documentation, like PROC UNIVARIATE :

https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/procstat/procstat_univariate_toc.htm

 

Then go to "Details".

In the popup-dropdown-list, select "ODS Table Names" (it's in the bottom (almost) of the list).

 

The same is true for every PROC !

 

Also, you can use this ODS (open-code) statement
ODS TRACE ON;
This will publish the name of every displayed output object in the LOG. That way, you know what to select or exclude in a next run.
The opposite is 
ODS TRACE OFF;

Almost end of workday (FRI) here in Brussels area (Belgium)

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 615 views
  • 1 like
  • 2 in conversation