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!
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.