I just started working with an EM evalulation and have tried logistic regression models. I was able to find how to export the coefficient values, but am unable to figure out how to export the odds ratios into a csv/excel file. How can I accomplish this other than reading the text log output of the model?
Edit:
Trying to get a similar output as I can in Enterprise Guide
Hi.
Since you already have coefficients in a dataset, you can use the EXP() function in SAS to transform them to odds ratios, i.e.,
oddsratio=exp(coefficient);
Similar with the upper and lower confidence for the coefficients to compute the CI for the odds ratio.
Hope this helps.
Ray
Hi.
Since you already have coefficients in a dataset, you can use the EXP() function in SAS to transform them to odds ratios, i.e.,
oddsratio=exp(coefficient);
Similar with the upper and lower confidence for the coefficients to compute the CI for the odds ratio.
Hope this helps.
Ray
..or transform the coefficients in Excel, which appears to have an exp function:
https://support.office.com/en-us/article/EXP-function-c578f034-2c45-4c37-bc8c-329660a63abe
Thank you for your answer, and sorry for my delay!
Glad it helped.
Ray
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!
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.