Hi there,
I'm running proc logistic to look at the association between a gender variable (categorical 1: Men | 2: Female) and the outcome Heart Failure (0: No 1: Yes) I also have the varaible of heart obstruction (0: no obstruction | 1: obstruction).
My question is to see if there is an association between heart failure and gender (Females only) in no obstruction patients.
I have it as such:
I'm just wondering if this will give me the most accurate odds ratio, or if i'm using the class and where statement correctly Thanks!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.