I am trying to teach myself to run a logistic regression result with restricted cubic splines. I found great information here and was able to build a SAS code. I am using heart.csv from
https://support.sas.com/documentation/onlinedoc/viya/examples.htm I got the odds ratios but not sure how to interpret them. I didn't set the reference, so I am not sure what the reference for these odds ratios was. Is it possible to change the reference?
The estimated odds ratios are the 1-unit changes in odds starting at each of the values you specified in the AT option. That is, the first estimate, 1.010, is the change in odds from 174 to 175. If what you want are the changes for more than 1 unit, then use the UNITS statement in addition to the ODDSRATIO statement.
The estimated odds ratios are the 1-unit changes in odds starting at each of the values you specified in the AT option. That is, the first estimate, 1.010, is the change in odds from 174 to 175. If what you want are the changes for more than 1 unit, then use the UNITS statement in addition to the ODDSRATIO statement.
This is covered in "Odds Ratio Estimation" in the Details section of the PROC LOGISTIC documentation.
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!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.