BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Jimbo
Calcite | Level 5

Hi,

I'm trying to look at the ability different binary variables it predict an outcome. 

My variables are labelled n_1 to n_8 with n_1 being the lowest risk / referent category. 

Using proc logistic, I can look at odds ratios for the different variables:

proc logistic data = nodes;

class n_1 (ref='1') / param = ref;

model outcome_2 (event = '1') = n_2 n_3 n_4 n_5 n_6 n_7 n_8 ;

run;


However what I would like to do is also calculate to odds ratios adjusted for a baseline continuous variable (age in this case). 

Whilst it's probably that I'm not looking in the right place, I can't find any documentation describing this. 

Many thanks for any advice, 

Jim

1 ACCEPTED SOLUTION

Accepted Solutions
Jimbo
Calcite | Level 5

Please ignore - I just need to incorporate the variable within the model. 

Bit new to this and guilty of overthinking!

Jim

View solution in original post

1 REPLY 1
Jimbo
Calcite | Level 5

Please ignore - I just need to incorporate the variable within the model. 

Bit new to this and guilty of overthinking!

Jim

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 1429 views
  • 0 likes
  • 1 in conversation