<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Odds Ratios from ordinal LR using surveylogistic in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratios-from-ordinal-LR-using-surveylogistic/m-p/334120#M17632</link>
    <description>&lt;P&gt;I am running an ordinal logisic regression analysis where the outcome/idependent&amp;nbsp;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?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;SURVEYLOGISTIC&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=HRBM &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;order&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=formatted;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; weight1;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Q169_2re (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ref&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"1 little exposure"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;) risk(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ref&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"no risk"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;PARAM&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=ordinal;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;model&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Q169_2re=risk/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;CLODDS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Feb 2017 19:16:36 GMT</pubDate>
    <dc:creator>RDD</dc:creator>
    <dc:date>2017-02-18T19:16:36Z</dc:date>
    <item>
      <title>Odds Ratios from ordinal LR using surveylogistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratios-from-ordinal-LR-using-surveylogistic/m-p/334120#M17632</link>
      <description>&lt;P&gt;I am running an ordinal logisic regression analysis where the outcome/idependent&amp;nbsp;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?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;SURVEYLOGISTIC&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=HRBM &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;order&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=formatted;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; weight1;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Q169_2re (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ref&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"1 little exposure"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;) risk(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ref&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"no risk"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;PARAM&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=ordinal;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;model&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Q169_2re=risk/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;CLODDS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 19:16:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratios-from-ordinal-LR-using-surveylogistic/m-p/334120#M17632</guid>
      <dc:creator>RDD</dc:creator>
      <dc:date>2017-02-18T19:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Odds Ratios from ordinal LR using surveylogistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratios-from-ordinal-LR-using-surveylogistic/m-p/335716#M17706</link>
      <description>&lt;P&gt;I assume that you specified PARAM=ORDINAL because your response is ordinal. &amp;nbsp;You never need to specify the response variable in the CLASS statement, and I recommend that you don't. &amp;nbsp;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. &amp;nbsp;That's why you don't get odds ratios by default (though you could probably add an ODDSRATIO statement to get it). &amp;nbsp;So, the following would be better code. &amp;nbsp;Note that if you need to model the probabilities of higher values of the response, use the DESCENDING response variable option as shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;SURVEYLOGISTIC&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=HRBM &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;order&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=formatted;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; weight1;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;class&lt;/FONT&gt; &lt;FONT face="Courier New" size="2"&gt;risk(&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ref&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"no risk"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;model&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Q169_2re(descending)=risk/&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;CLODDS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 19:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratios-from-ordinal-LR-using-surveylogistic/m-p/335716#M17706</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2017-02-24T19:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Odds Ratios from ordinal LR using surveylogistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratios-from-ordinal-LR-using-surveylogistic/m-p/335726#M17707</link>
      <description>Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Feb 2017 20:06:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratios-from-ordinal-LR-using-surveylogistic/m-p/335726#M17707</guid>
      <dc:creator>RDD</dc:creator>
      <dc:date>2017-02-24T20:06:38Z</dc:date>
    </item>
  </channel>
</rss>

