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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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