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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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