<?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: multinomial ordinal longitudinal regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/multinomial-ordinal-longitudinal-regression/m-p/813842#M40135</link>
    <description>&lt;P&gt;I was able to get identical results with the following&amp;nbsp; code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC GENMOD DATA=COVERED.Demographics desc;
CLASS  complete_adherence2(ref='1')  record_id ethnicity (ref='1');
MODEL complete_adherence2 = ethnicity 
/ DIST=MULTINOMIAL LINK=cLOGIT;
REPEATED SUBJECT=record_id/ corr=indep;
lsmeans ethnicity/  ILINK diff e cl oddsratio ;
RUN;

PROC GEE DATA=COVERED.Demographics desc;
CLASS complete_adherence2(ref='1') record_id ethnicity (ref='1');
MODEL complete_adherence2 = ethnicity/ DIST=MULTINOMIAL LINK=CUMLOGIT;
REPEATED SUBJECT=record_id / TYPE =indep ;
lsmeans ethnicity/  ILINK diff e cl oddsratio ;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 May 2022 15:31:20 GMT</pubDate>
    <dc:creator>UcheOkoro</dc:creator>
    <dc:date>2022-05-17T15:31:20Z</dc:date>
    <item>
      <title>multinomial ordinal longitudinal regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multinomial-ordinal-longitudinal-regression/m-p/813608#M40118</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am struggling with codes for&amp;nbsp; multinomial ordinal(4 levels) longitudinal regression and its interpretation. The outcome variable has 4 levels which are ordered.&amp;nbsp; I used proc GENMOD and Proc GEE and the results are very different. I also need help with the interpretation. Initially I was hoping to get the differences of least squares means for each level of the outcome and predictor variable but it does not appear to give such results or am I doing it wrong. Please, I need help.&lt;/P&gt;
&lt;P&gt;Thank you&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;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
PROC GENMOD DATA=COVERED.Demographics ;

CLASS  complete_adherence2(ref='1')  record_id ethnicity (ref='1');

MODEL complete_adherence2 = ethnicity 
/ DIST=MULTINOMIAL LINK=CUMLOGIT;
REPEATED SUBJECT=record_id/ corr=indep;
lsmeans ethnicity/  ILINK diff e cl oddsratio ;
RUN;


PROC GEE DATA=COVERED.Demographics DESCENDING;
CLASS complete_adherence2(ref='1') week record_id ethnicity (ref='1');
MODEL complete_adherence2 = ethnicity/ DIST=MULTINOMIAL;
REPEATED SUBJECT=record_id / TYPE =indep WITHIN=week LOGOR=EXCH;
lsmeans ethnicity/  ILINK diff e cl oddsratio ;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Result from PROC GENMOD&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_0-1652734950397.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71491i0AD829FC8CE293E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UcheOkoro_0-1652734950397.png" alt="UcheOkoro_0-1652734950397.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Result from PROC GEE&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_1-1652735068472.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71494i657560F5DDF08975/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UcheOkoro_1-1652735068472.png" alt="UcheOkoro_1-1652735068472.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 21:08:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multinomial-ordinal-longitudinal-regression/m-p/813608#M40118</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2022-05-16T21:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: multinomial ordinal longitudinal regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multinomial-ordinal-longitudinal-regression/m-p/813629#M40120</link>
      <description>&lt;P&gt;I recommend that you start by making the code the same in both procs except for "GEE" vs "GENMOD". DESCENDING should be removed or used in both procs - it reverses the order of the response levels and will certainly change the results. You use the WITHIN= and LOGOR= options only in one of the two procs. With LOGOR, a very different model is fit, so only one of TYPE= or LOGOR= should be specified.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 22:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multinomial-ordinal-longitudinal-regression/m-p/813629#M40120</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-05-16T22:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: multinomial ordinal longitudinal regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multinomial-ordinal-longitudinal-regression/m-p/813675#M40124</link>
      <description>&lt;P&gt;Thank you for your response. I made the two models as identical as possible but it did not help.&lt;/P&gt;
&lt;P&gt;The following is my code and the results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC GENMOD DATA=COVERED.Demographics ;
CLASS  complete_adherence2(ref='1')  record_id ethnicity (ref='1');
MODEL complete_adherence2 = ethnicity 
/ DIST=MULTINOMIAL LINK=CUMLOGIT;
REPEATED SUBJECT=record_id/ corr=indep;
lsmeans ethnicity/  ILINK diff e cl oddsratio ;
RUN;

PROC GEE DATA=COVERED.Demographics ;
CLASS complete_adherence2(ref='1') record_id ethnicity (ref='1');
MODEL complete_adherence2 = ethnicity/ DIST=MULTINOMIAL LINK=CUMLOGIT;
REPEATED SUBJECT=record_id / TYPE =indep ;
lsmeans ethnicity/  ILINK diff e cl oddsratio ;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The result from PROC GENMOD&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_1-1652756154483.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71523i45C5B409E0CA2CE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UcheOkoro_1-1652756154483.png" alt="UcheOkoro_1-1652756154483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The result from PROC GEE&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_0-1652756103564.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71522i2BDE327F5FAA9F2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UcheOkoro_0-1652756103564.png" alt="UcheOkoro_0-1652756103564.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 02:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multinomial-ordinal-longitudinal-regression/m-p/813675#M40124</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2022-05-17T02:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: multinomial ordinal longitudinal regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multinomial-ordinal-longitudinal-regression/m-p/813829#M40134</link>
      <description>&lt;P&gt;Could you post both the LOG and the full output from the two procedures?&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 14:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multinomial-ordinal-longitudinal-regression/m-p/813829#M40134</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2022-05-17T14:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: multinomial ordinal longitudinal regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multinomial-ordinal-longitudinal-regression/m-p/813842#M40135</link>
      <description>&lt;P&gt;I was able to get identical results with the following&amp;nbsp; code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC GENMOD DATA=COVERED.Demographics desc;
CLASS  complete_adherence2(ref='1')  record_id ethnicity (ref='1');
MODEL complete_adherence2 = ethnicity 
/ DIST=MULTINOMIAL LINK=cLOGIT;
REPEATED SUBJECT=record_id/ corr=indep;
lsmeans ethnicity/  ILINK diff e cl oddsratio ;
RUN;

PROC GEE DATA=COVERED.Demographics desc;
CLASS complete_adherence2(ref='1') record_id ethnicity (ref='1');
MODEL complete_adherence2 = ethnicity/ DIST=MULTINOMIAL LINK=CUMLOGIT;
REPEATED SUBJECT=record_id / TYPE =indep ;
lsmeans ethnicity/  ILINK diff e cl oddsratio ;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 May 2022 15:31:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multinomial-ordinal-longitudinal-regression/m-p/813842#M40135</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2022-05-17T15:31:20Z</dc:date>
    </item>
  </channel>
</rss>

