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!
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.