Programming the statistical procedures from SAS

Data for predicted probability - Proc logistic

Reply
Occasional Contributor
Posts: 6

Data for predicted probability - Proc logistic

I would like to create my own predicted probability plot using a model from proc logistic because the one that is output by the procedure is not that attractive. Is there a relatively easy way to get these numbers as a dataset? I know I can write a code myself to do this, but I was just wondering if there was an easier way.

Thanks.

Valued Guide
Valued Guide
Posts: 684

Re: Data for predicted probability - Proc logistic

Use the output statement:

output out=out pred=p lower=l upper=u ;

run;

This contains your original data and p^ and the confidence limits. See the User's Guide for more options for more statistics to output.

Ask a Question
Discussion stats
  • 1 reply
  • 158 views
  • 0 likes
  • 2 in conversation