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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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