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!
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!
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.