Programming the statistical procedures from SAS

Adjusting odds ratio for continuous variable

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 10
Accepted Solution

Adjusting odds ratio for continuous variable

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


Accepted Solutions
Solution
‎07-16-2011 07:57 AM
Occasional Contributor
Posts: 10

Adjusting odds ratio for continuous variable

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


All Replies
Solution
‎07-16-2011 07:57 AM
Occasional Contributor
Posts: 10

Adjusting odds ratio for continuous variable

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

Bit new to this and guilty of overthinking!

Jim

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

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