<?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 Checking model assumptions for a mixed effects cumulative logit model in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Checking-model-assumptions-for-a-mixed-effects-cumulative-logit/m-p/123987#M34107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Hi all!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;I am analyzing a repeated ordinal measures&amp;nbsp; data &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;set &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 15px;"&gt;(4 categories) &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;by fitting a mixed effects cumulative logit model using NLMIXED or GLIMMIX to model between and within clusters variation and make inference on the population. I can't manage to get the residuals in either procedure and hence to check the error assumptions of the logistic distribution. Also, I can't figure how to check the odds proportionality assumption in a mixed model set up for longitudinal measurements.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;below is the code I am using but it won't do it.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc glimmix data=name method=quad;&lt;/P&gt;&lt;P&gt;class group id;&lt;/P&gt;&lt;P&gt;model score = day group/ s link=cumlogit dist=multinomial cl;&lt;/P&gt;&lt;P&gt;random int / sub=id s cl;&lt;/P&gt;&lt;P&gt;output out=new pred=p resid=r;&lt;/P&gt;&lt;P&gt;covtest GLM;&lt;/P&gt;&lt;P&gt;ods output Solutionr=solr ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know what is the best way to test assumptions for this model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Juan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2012 17:45:03 GMT</pubDate>
    <dc:creator>juan</dc:creator>
    <dc:date>2012-05-22T17:45:03Z</dc:date>
    <item>
      <title>Checking model assumptions for a mixed effects cumulative logit model</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-model-assumptions-for-a-mixed-effects-cumulative-logit/m-p/123987#M34107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Hi all!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;I am analyzing a repeated ordinal measures&amp;nbsp; data &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;set &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 15px;"&gt;(4 categories) &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;by fitting a mixed effects cumulative logit model using NLMIXED or GLIMMIX to model between and within clusters variation and make inference on the population. I can't manage to get the residuals in either procedure and hence to check the error assumptions of the logistic distribution. Also, I can't figure how to check the odds proportionality assumption in a mixed model set up for longitudinal measurements.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;below is the code I am using but it won't do it.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc glimmix data=name method=quad;&lt;/P&gt;&lt;P&gt;class group id;&lt;/P&gt;&lt;P&gt;model score = day group/ s link=cumlogit dist=multinomial cl;&lt;/P&gt;&lt;P&gt;random int / sub=id s cl;&lt;/P&gt;&lt;P&gt;output out=new pred=p resid=r;&lt;/P&gt;&lt;P&gt;covtest GLM;&lt;/P&gt;&lt;P&gt;ods output Solutionr=solr ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know what is the best way to test assumptions for this model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Juan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 17:45:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-model-assumptions-for-a-mixed-effects-cumulative-logit/m-p/123987#M34107</guid>
      <dc:creator>juan</dc:creator>
      <dc:date>2012-05-22T17:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Checking model assumptions for a mixed effects cumulative logit model</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Checking-model-assumptions-for-a-mixed-effects-cumulative-logit/m-p/123988#M34108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Difficulties I see, without having a good dataset to test this on:&lt;/P&gt;&lt;P&gt;1. The multinomial distribution option in GLIMMIX does not support calculation of BLUEs (LSMEANS), so residual calculation may be similarly not supported.&amp;nbsp; Maybe someone else has better information, but this is my best guess as to why you aren't getting residuals.&lt;/P&gt;&lt;P&gt;2. You are not modeling the repeated nature of the data in the current code.&amp;nbsp; The RANDOM statement should look something like:&lt;/P&gt;&lt;P&gt;random day/residual sub=id type=cs (for example only, you may have a better idea of what covariance structure fits your data).&amp;nbsp; You will also have to include day in the CLASS statement.&lt;/P&gt;&lt;P&gt;3. If you include R side effects like this, then method=quad will not work--the only available methods are the pseudo-likelihood methods.&lt;/P&gt;&lt;P&gt;4. To get odds ratios, add oddsratio to your model statement.&amp;nbsp; Perhaps this will give you the info you need to check the proportionality assumption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck, and keep posting on this.&amp;nbsp; I am facing a similar challenge, and think I can learn from what happens here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 11:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Checking-model-assumptions-for-a-mixed-effects-cumulative-logit/m-p/123988#M34108</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-05-23T11:47:13Z</dc:date>
    </item>
  </channel>
</rss>

