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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 1379 views
  • 0 likes
  • 1 in conversation