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
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.