BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
jacob_klimek
Obsidian | Level 7

Hi,

 

I am running using proc logistic to get a propensity score to then match individuals from groups to create comparison groups. In the proc logistic output I want to ONLY see the Analysis of MLE table because I am eventually only going to export that to Excel.

 

These are the current specifications I have:

 

proc logistic data=test_a descending;

class female;

model test=p_total_ab age65_older female

/ SELECTION=stepwise RISKLIMITS LACKFIT RSQUARE PARMLABEL;

output out=propensity_scores

prob= prob;

run;

 

Again, the question I have is how to isolate the Analysis of MLE table to only output that. I understand noprint doesn't print anything, but I want the MLE table.

 

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

The ODS Select option will select specific output objects.

 

Use:

 

ODS Trace on;

<your procedure code>

ODS Trace off;

 

to identify the output objects created so you you have the Name of the object you want to select.

View solution in original post

3 REPLIES 3
ballardw
Super User

The ODS Select option will select specific output objects.

 

Use:

 

ODS Trace on;

<your procedure code>

ODS Trace off;

 

to identify the output objects created so you you have the Name of the object you want to select.

FreelanceReinh
Jade | Level 19

In other words: Just execute the following statement immediately before your PROC LOGISTIC step:

ods select ParameterEstimates;

 

jacob_klimek
Obsidian | Level 7

For some reason only the path (Logistic.ParameterEstimates;  ) works, but thanks!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1062 views
  • 0 likes
  • 3 in conversation