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

Hello, 

 

I am running a probit regression with PROC LOGISTIC. I would like to automatically present a plot of Observed and Fitted probabilities. This should be the PLOT=PREDPLOT command in PROC PROBIT. However, I don't know how to do this with PROC LOGISTIC. 

 

This is what I have so far: 

 

proc logistic data=sample_final_dataset_individual descending;

    model treated=year quart_avg_year_contract female age / link=probit;

output out=out predprobs=individual;

store probit;

run;

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

You can use the PLOTS=EFFECToption to create effect plots. 

You can also use the EFFECTPLOT statement, as shown in the article "Use the EFFECTPLOT statement to visualize regression models in SAS". The article shows various ways to slice, dice, and panel the graphs.

View solution in original post

1 REPLY 1
Rick_SAS
SAS Super FREQ

You can use the PLOTS=EFFECToption to create effect plots. 

You can also use the EFFECTPLOT statement, as shown in the article "Use the EFFECTPLOT statement to visualize regression models in SAS". The article shows various ways to slice, dice, and panel the graphs.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 1274 views
  • 3 likes
  • 2 in conversation