BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
supmilk
Obsidian | Level 7

Hey guys,

 

I need to run a proc logistic program, and exact the values of somers' D , gamma, tau and c from the results viewer. How can I get the data? Where are they?

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

I think you want to add

ods output fitstatistics = yourdatesetname;

 

the statement could be either before the proc or as part of the proc before the RUN; statement.

 

View solution in original post

7 REPLIES 7
supmilk
Obsidian | Level 7

would you mind to descibe more details?

ballardw
Super User

I think you want to add

ods output fitstatistics = yourdatesetname;

 

the statement could be either before the proc or as part of the proc before the RUN; statement.

 

supmilk
Obsidian | Level 7
not the fit statistics, but the association statistics.
PeterClemmensen
Tourmaline | Level 20

You can use the ODS TRACE ON/ODS TRACE OFF Statements to track what output a certain SAS Procedure outputs.

supmilk
Obsidian | Level 7
Is it possible to get the association statistics without print out the results? I need to do so many replications.
ballardw
Super User

@supmilk wrote:
Is it possible to get the association statistics without print out the results? I need to do so many replications.

If the issue is that you don't want all of the other result tables the you can also use ODS SELECT to only show the table you want.

Unfortunately the output that requires the ODS OUTPUT statement to generate a data set requires the output actually be sent to an ods destination.
One approach that may work would be a combination of the ODS SELECT, closing the ODS HTML destination and sending the output to another ods destination such as RTF or PDF.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 7 replies
  • 2636 views
  • 2 likes
  • 3 in conversation