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?
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.
Use an ODS Output Statement as described in this article
would you mind to descibe more details?
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.
You can use the ODS TRACE ON/ODS TRACE OFF Statements to track what output a certain SAS Procedure outputs.
@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 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.