<?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 Multinomial logistic regression with robust standard errors/clustered data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Multinomial-logistic-regression-with-robust-standard-errors/m-p/368169#M19319</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to do a multinomial logistic regression on clustedered data. My supervisor ask me to run a logistic regression with robust standard errors in order to take into account dependency between observations in the data set. I have tried to find an appropriate procedure in SAS 9.4 to do so, and my best guess is to use the&amp;nbsp;PROC GLIMMIX&amp;nbsp;in which I put in 'random intercept / subject=&amp;nbsp;id'. However, whwn I do so I get an error in the log saying: 'Nominal model require that the repsonse variable is a group effect on the on RANDOM statements. You need to add 'GROUP=outcome '. When I do so&amp;nbsp;I just get another error saying: 'Model is too large to be fit by PROC GLIMMIX in a resonable amount of time on this system. Consider changing your model.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then my question is what to do and which model to use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the following SAS syntax:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1st error reported above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC GLIMMIX data=c;&lt;/P&gt;&lt;P&gt;CLASS age (ref='3') ID;&lt;/P&gt;&lt;P&gt;MODEL outcome = age / DIST=multinomial LINK=glogit CL ODDSRATIO;&lt;/P&gt;&lt;P&gt;RANDOM intercept / SUBJECT=id;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and 2nd error reported above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC GLIMMIX data=c;&lt;/P&gt;&lt;P&gt;CLASS age (ref='3') id;&lt;/P&gt;&lt;P&gt;MODEL outcome = age / DIST=multinomial LINK=glogit CL ODDSRATIO;&lt;/P&gt;&lt;P&gt;RANDOM intercept / SUBJECT=id GROUP=outcome;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Pernille&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2017 06:29:22 GMT</pubDate>
    <dc:creator>PernilleSL</dc:creator>
    <dc:date>2017-06-19T06:29:22Z</dc:date>
    <item>
      <title>Multinomial logistic regression with robust standard errors/clustered data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multinomial-logistic-regression-with-robust-standard-errors/m-p/368169#M19319</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to do a multinomial logistic regression on clustedered data. My supervisor ask me to run a logistic regression with robust standard errors in order to take into account dependency between observations in the data set. I have tried to find an appropriate procedure in SAS 9.4 to do so, and my best guess is to use the&amp;nbsp;PROC GLIMMIX&amp;nbsp;in which I put in 'random intercept / subject=&amp;nbsp;id'. However, whwn I do so I get an error in the log saying: 'Nominal model require that the repsonse variable is a group effect on the on RANDOM statements. You need to add 'GROUP=outcome '. When I do so&amp;nbsp;I just get another error saying: 'Model is too large to be fit by PROC GLIMMIX in a resonable amount of time on this system. Consider changing your model.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then my question is what to do and which model to use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the following SAS syntax:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1st error reported above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC GLIMMIX data=c;&lt;/P&gt;&lt;P&gt;CLASS age (ref='3') ID;&lt;/P&gt;&lt;P&gt;MODEL outcome = age / DIST=multinomial LINK=glogit CL ODDSRATIO;&lt;/P&gt;&lt;P&gt;RANDOM intercept / SUBJECT=id;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and 2nd error reported above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC GLIMMIX data=c;&lt;/P&gt;&lt;P&gt;CLASS age (ref='3') id;&lt;/P&gt;&lt;P&gt;MODEL outcome = age / DIST=multinomial LINK=glogit CL ODDSRATIO;&lt;/P&gt;&lt;P&gt;RANDOM intercept / SUBJECT=id GROUP=outcome;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Pernille&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 06:29:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multinomial-logistic-regression-with-robust-standard-errors/m-p/368169#M19319</guid>
      <dc:creator>PernilleSL</dc:creator>
      <dc:date>2017-06-19T06:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multinomial logistic regression with robust standard errors/clustered data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multinomial-logistic-regression-with-robust-standard-errors/m-p/368277#M19320</link>
      <description>&lt;PRE&gt;

Could you try 
 RANDOM _residual_ / SUBJECT=id;













&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Jun 2017 12:35:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multinomial-logistic-regression-with-robust-standard-errors/m-p/368277#M19320</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-06-19T12:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multinomial logistic regression with robust standard errors/clustered data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multinomial-logistic-regression-with-robust-standard-errors/m-p/368579#M19341</link>
      <description>&lt;P&gt;Thanks a lot for your quick repsonse. I have tried what you suggested, but then I get another error: 'R-side random effects are not supported by the multinomial distribution.'. Any other sugesstions?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 05:43:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multinomial-logistic-regression-with-robust-standard-errors/m-p/368579#M19341</guid>
      <dc:creator>PernilleSL</dc:creator>
      <dc:date>2017-06-20T05:43:53Z</dc:date>
    </item>
  </channel>
</rss>

