<?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 Re: proc logistic - generalized logit model OR in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-generalized-logit-model-OR/m-p/321023#M16966</link>
    <description>&lt;PRE&gt;
It is called  adjacent-category logit model.
try link=alogit.


data data1;
 set sashelp.class;
 if _n_ lt 6 then levels='A';
  else if _n_ lt 12 then levels='B';
   else levels='C';
run;
proc logistic data=data1 descending;
class  sex(ref='M') /param=ref;
model levels=weight age sex height /slstay=0.05 slentry=0.05  
scale=none selection=stepwise aggregate link=alogit;
run;


OR if you don't have continuous variable, you could also try PROC CATMOD.

proc catmod.........
response alogit;
model......

&lt;/PRE&gt;</description>
    <pubDate>Sat, 24 Dec 2016 04:30:44 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2016-12-24T04:30:44Z</dc:date>
    <item>
      <title>proc logistic - generalized logit model OR</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-generalized-logit-model-OR/m-p/320846#M16955</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using SAS 9.4 and I'm running a generalized logit model in proc logistic (stepwise selection) and my outcome variable has 4 levels: A, B, C, and D. &amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I set up my code such that the odds ratio compares A to B, B to C, C to D? &amp;nbsp;Right now SAS default compares A to B, A to C, A to D.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;/SPAN&gt; data&lt;SPAN&gt;=data1&amp;nbsp;&lt;/SPAN&gt;descending&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&amp;nbsp; sex(&lt;SPAN&gt;ref&lt;/SPAN&gt;=&lt;SPAN&gt;'M'&lt;/SPAN&gt;)&amp;nbsp;/&lt;SPAN&gt;param&lt;/SPAN&gt;=ref;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;model&lt;/SPAN&gt;&amp;nbsp;levels=weight&amp;nbsp;age sex height&amp;nbsp;/&lt;SPAN&gt;slstay&lt;/SPAN&gt;=&lt;SPAN&gt;&lt;STRONG&gt;0.05&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;slentry&lt;/SPAN&gt;=&lt;SPAN&gt;&lt;STRONG&gt;0.05&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;scale&lt;/SPAN&gt;=none &lt;SPAN&gt;selection&lt;/SPAN&gt;=stepwise &lt;SPAN&gt;aggregate&lt;/SPAN&gt; &lt;SPAN&gt;link&lt;/SPAN&gt;=glogit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 00:17:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-generalized-logit-model-OR/m-p/320846#M16955</guid>
      <dc:creator>SasNewb1</dc:creator>
      <dc:date>2016-12-23T00:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic - generalized logit model OR</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-generalized-logit-model-OR/m-p/320848#M16957</link>
      <description>&lt;P&gt;One way for comparison among the predictor can be by standardized estimate option in the model statement ,.ie stb .&lt;/P&gt;&lt;P&gt;Then the absolute value of the standardized estimate can be used to provide the approzimate ranking based on relative importance of the x variables in logistic model.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 00:40:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-generalized-logit-model-OR/m-p/320848#M16957</guid>
      <dc:creator>DHINESHSHANKAR0</dc:creator>
      <dc:date>2016-12-23T00:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic - generalized logit model OR</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-generalized-logit-model-OR/m-p/320850#M16958</link>
      <description>&lt;P&gt;Not sure if this will work but you can try adding in REF in your MODEL statement after your dependent variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, level B is not your reference group, this will compare B vs A, B vs C, and B vs D.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;data&lt;SPAN&gt;=data1&amp;nbsp;&lt;/SPAN&gt;descending&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&amp;nbsp; sex(&lt;SPAN&gt;ref&lt;/SPAN&gt;=&lt;SPAN&gt;'M'&lt;/SPAN&gt;)&amp;nbsp;/&lt;SPAN&gt;param&lt;/SPAN&gt;=ref;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;model&lt;/SPAN&gt;&amp;nbsp;levels &lt;STRONG&gt;(REF = "B")&lt;/STRONG&gt; =weight&amp;nbsp;age sex height&amp;nbsp;/&lt;SPAN&gt;slstay&lt;/SPAN&gt;=&lt;SPAN&gt;&lt;STRONG&gt;0.05&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;slentry&lt;/SPAN&gt;=&lt;SPAN&gt;&lt;STRONG&gt;0.05&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;scale&lt;/SPAN&gt;=none&amp;nbsp;&lt;SPAN&gt;selection&lt;/SPAN&gt;=stepwise&amp;nbsp;&lt;SPAN&gt;aggregate&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;link&lt;/SPAN&gt;=glogit;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 01:00:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-generalized-logit-model-OR/m-p/320850#M16958</guid>
      <dc:creator>clim072</dc:creator>
      <dc:date>2016-12-23T01:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic - generalized logit model OR</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-generalized-logit-model-OR/m-p/320851#M16959</link>
      <description>&lt;P&gt;Have you tried the ODDSRATIO statement?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 01:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-generalized-logit-model-OR/m-p/320851#M16959</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-12-23T01:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic - generalized logit model OR</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-generalized-logit-model-OR/m-p/321023#M16966</link>
      <description>&lt;PRE&gt;
It is called  adjacent-category logit model.
try link=alogit.


data data1;
 set sashelp.class;
 if _n_ lt 6 then levels='A';
  else if _n_ lt 12 then levels='B';
   else levels='C';
run;
proc logistic data=data1 descending;
class  sex(ref='M') /param=ref;
model levels=weight age sex height /slstay=0.05 slentry=0.05  
scale=none selection=stepwise aggregate link=alogit;
run;


OR if you don't have continuous variable, you could also try PROC CATMOD.

proc catmod.........
response alogit;
model......

&lt;/PRE&gt;</description>
      <pubDate>Sat, 24 Dec 2016 04:30:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-generalized-logit-model-OR/m-p/321023#M16966</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-12-24T04:30:44Z</dc:date>
    </item>
  </channel>
</rss>

