turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Adjusting odds ratio for continuous variable

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-16-2011 07:29 AM

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-16-2011 07:57 AM

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

Bit new to this and guilty of overthinking!

Jim

All Replies

Solution

07-16-2011
07:57 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-16-2011 07:57 AM

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

Bit new to this and guilty of overthinking!

Jim