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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 862 views
  • 0 likes
  • 3 in conversation