Programming the statistical procedures from SAS

SAS Proc Logistic reports

Accepted Solution Solved
Reply
Regular Learner
Posts: 1
Accepted Solution

SAS Proc Logistic reports

I'm using proc logistic and want to disable some of the reports that are automatically generated in order to condense the report. 

 

Ideally I'd only want the Odds Ratio Estimate, Response Profile, Observations Read/Used, and Model Information.

 

Here's my current code:

 

proc logistic data=dataset1;

class age_group;

model approved(event='No') = age_group income;

run;


Accepted Solutions
Solution
‎02-22-2017 08:03 AM
SAS Super FREQ
Posts: 3,306

Re: SAS Proc Logistic reports

You can use the ODS SELECT statement to choose any table from the output. This blog post shows how to find the name of any ODS table that is produced by a procedure. The article discusses ODS OUTPUT, but it applies equally well to ODS SELECT.

 

View solution in original post


All Replies
Solution
‎02-22-2017 08:03 AM
SAS Super FREQ
Posts: 3,306

Re: SAS Proc Logistic reports

You can use the ODS SELECT statement to choose any table from the output. This blog post shows how to find the name of any ODS table that is produced by a procedure. The article discusses ODS OUTPUT, but it applies equally well to ODS SELECT.

 

Grand Advisor
Posts: 16,875

Re: SAS Proc Logistic reports

Determine the table names and include them in an ODS SELECT statement. 

 

http://blogs.sas.com/content/iml/2015/05/26/suppress-ods.html

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 83 views
  • 0 likes
  • 3 in conversation