turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS/GRAPH and ODS Graphics
- /
- Proc Logistic equivalent of PLOT=PREDPLOT

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-21-2017 08:02 AM

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to GKati

08-22-2017 02:59 PM - edited 08-22-2017 03:02 PM

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.

All Replies

Solution

08-22-2017
03:57 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to GKati

08-22-2017 02:59 PM - edited 08-22-2017 03:02 PM

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.