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!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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