Hi,
I am running a logistic regression and want to output "Odds Ratio Estimates" and "Analysis of Maximum Likelihood Estimates" tables as SAS data set. Because this is easy for me to compare the odds ratios in different regressions. Any help will be appreciated.
Thanks much!
Submit the statement:
ods trace on;
Submit your proc code. Look at the log and find the names of the tables of interest.
Specify their names on an ODS OUTPUT statement:
ods output name1=data1 name2=data2;
Substitute the actual names for name1 and name2 and the data set names that you want.
Submit the statement:
ods trace on;
Submit your proc code. Look at the log and find the names of the tables of interest.
Specify their names on an ODS OUTPUT statement:
ods output name1=data1 name2=data2;
Substitute the actual names for name1 and name2 and the data set names that you want.
Supper! I found what I want now. Thank you so much!
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.