- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Use an ODS Output Statement as described in this article
ODS OUTPUT: Store any statistic created by any SAS procedure
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
would you mind to descibe more details?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
You can use the ODS TRACE ON/ODS TRACE OFF Statements to track what output a certain SAS Procedure outputs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@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.