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
- /
- Odds Ratios from ordinal LR using surveylogistic

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

02-18-2017 02:16 PM

I am running an ordinal logisic regression analysis where the outcome/idependent variable (Q169_2re) has three levels (1=little exposure, 2=moderate, 3=extreme). I am using the following code and I am unable to get odds ratio estmates for each level. I tried a contrast statement but it didn't work (I thought those were only for levels of depenent variables, but I could be wrong). Can someone point me in the right direction?

**proc** **SURVEYLOGISTIC** data=HRBM order=formatted;

weight weight1;

class Q169_2re (ref="1 little exposure") risk(ref="no risk")/PARAM=ordinal;

model Q169_2re=risk/CLODDS;

**run**;

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

02-24-2017 02:30 PM

I assume that you specified PARAM=ORDINAL because your response is ordinal. You never need to specify the response variable in the CLASS statement, and I recommend that you don't. Because you have PARAM=ORDINAL specified as a global option in the CLASS statement, it applies not only to the response but also your predictor. That's why you don't get odds ratios by default (though you could probably add an ODDSRATIO statement to get it). So, the following would be better code. Note that if you need to model the probabilities of higher values of the response, use the DESCENDING response variable option as shown.

**proc** **SURVEYLOGISTIC** data=HRBM order=formatted;

weight weight1;

class risk(ref="no risk");

model Q169_2re(descending)=risk/CLODDS;

**run**;

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

02-24-2017 03:06 PM

Thank you