Data visualization with SAS programming

Proc Logistic equivalent of PLOT=PREDPLOT

Accepted Solution Solved
Reply
Contributor
Posts: 56
Accepted Solution

Proc Logistic equivalent of PLOT=PREDPLOT

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;


Accepted Solutions
Solution
‎08-22-2017 03:57 PM
SAS Super FREQ
Posts: 3,620

Re: Proc Logistic equivalent of PLOT=PREDPLOT

[ Edited ]

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


All Replies
Solution
‎08-22-2017 03:57 PM
SAS Super FREQ
Posts: 3,620

Re: Proc Logistic equivalent of PLOT=PREDPLOT

[ Edited ]

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.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 107 views
  • 3 likes
  • 2 in conversation