Help using Base SAS procedures

proc logistic -- how to output Somer'D and C to a data set

Reply
Occasional Contributor
Posts: 9

proc logistic -- how to output Somer'D and C to a data set

Hello all,

The proc logistic procedure outputs on screen the somer's D and c, is it possible to output these statistics to a data set?

Greetings,
Longhow.
Contributor
Posts: 49

Re: proc logistic -- how to output Somer'D and C to a data set

Try the ODS OUTPUT models. To find out what these are add:

ODS TRACE ON;
PROC LOGISTIC.....
RUN;
ODS TRACE OFF;

Check your log file and the output table names should be there. These will correspond toa specific section of your output. You can then save these using the ODS OUTPUT statement prior to you LOGISTIC.

Cheers,
Lawrence
Occasional Contributor
Posts: 9

Re: proc logistic -- how to output Somer'D and C to a data set

It works!! Thanks Lawrence.
Ask a Question
Discussion stats
  • 2 replies
  • 1599 views
  • 0 likes
  • 2 in conversation