<?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: Deciphering a Note in the SAS Log When Running PROC GLIMMIX with poisson distribution in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Deciphering-a-Note-in-the-SAS-Log-When-Running-PROC-GLIMMIX-with/m-p/807756#M39726</link>
    <description>Have seen these threads: &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Need-Help-Deciphering-a-Mysterious-Note-in-the-SAS-Log-When/td-p/568622" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Need-Help-Deciphering-a-Mysterious-Note-in-the-SAS-Log-When/td-p/568622&lt;/A&gt; &amp;amp; &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/GEE-Variance-Component-An-R-side-variance-component-is/m-p/801878" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/GEE-Variance-Component-An-R-side-variance-component-is/m-p/801878&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards, Jos</description>
    <pubDate>Thu, 14 Apr 2022 10:09:15 GMT</pubDate>
    <dc:creator>JosvanderVelden</dc:creator>
    <dc:date>2022-04-14T10:09:15Z</dc:date>
    <item>
      <title>Deciphering a Note in the SAS Log When Running PROC GLIMMIX with poisson distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deciphering-a-Note-in-the-SAS-Log-When-Running-PROC-GLIMMIX-with/m-p/807694#M39723</link>
      <description>&lt;P&gt;I have three observations per patients and the response variable is the number of days in ICU. &amp;nbsp;There are 41 patients. The explanatory variables are age (continuous) gender (F, M), and varA (continuous). When I run the following codes. There will be no convergence&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;glimmix&lt;/STRONG&gt; data=&amp;nbsp; mydata;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class id&amp;nbsp; Gender ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model Length_of_ICU_stay= gender Age varA / dist=poi link=log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; random int / subject=id;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; random residual;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; output out=gmxout pearson=pearson;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run this code, I get the message “An R-side variance component is confounded with the profiled variance.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;glimmix&lt;/STRONG&gt; data=&amp;nbsp; mydata;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class id&amp;nbsp; Gender ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model Length_of_ICU_stay= gender Age varA / dist=poi link=log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; random int / subject=id residual;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; output out=gmxout pearson=pearson;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;I need help to understand the difference between the two models fitted through the above codes and make sense or the&amp;nbsp; message.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 23:27:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deciphering-a-Note-in-the-SAS-Log-When-Running-PROC-GLIMMIX-with/m-p/807694#M39723</guid>
      <dc:creator>fdehkord</dc:creator>
      <dc:date>2022-04-13T23:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Deciphering a Note in the SAS Log When Running PROC GLIMMIX with poisson distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deciphering-a-Note-in-the-SAS-Log-When-Running-PROC-GLIMMIX-with/m-p/807756#M39726</link>
      <description>Have seen these threads: &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Need-Help-Deciphering-a-Mysterious-Note-in-the-SAS-Log-When/td-p/568622" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Need-Help-Deciphering-a-Mysterious-Note-in-the-SAS-Log-When/td-p/568622&lt;/A&gt; &amp;amp; &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/GEE-Variance-Component-An-R-side-variance-component-is/m-p/801878" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/GEE-Variance-Component-An-R-side-variance-component-is/m-p/801878&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards, Jos</description>
      <pubDate>Thu, 14 Apr 2022 10:09:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deciphering-a-Note-in-the-SAS-Log-When-Running-PROC-GLIMMIX-with/m-p/807756#M39726</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2022-04-14T10:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Deciphering a Note in the SAS Log When Running PROC GLIMMIX with poisson distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deciphering-a-Note-in-the-SAS-Log-When-Running-PROC-GLIMMIX-with/m-p/807780#M39727</link>
      <description>&lt;P&gt;Recall that for a Poisson distribution the mean equals the variance.&amp;nbsp; By specifying RANDOM residual without indicating a subject you have confounded the R side variance with the residual variance.&amp;nbsp; With 3 visits per subject, perhaps this code will help (no guarantee, though):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=  mydata;
   class id  Gender visit_no ;&lt;BR /&gt;nloptions maxiter=2000 tech=nrridg;
   model Length_of_ICU_stay= gender Age varA visit_no/ dist=poi link=log
         solution;
     random visit_no/type=cs residual subject=id;
   output out=gmxout pearson=pearson;

run

/*  Or this, for a G side approach  */
proc glimmix data=  mydata method=laplace;
   class id  Gender visit_no ;
  nloptions maxiter=2000 tech=nrridg;&lt;BR /&gt;&lt;BR /&gt; model Length_of_ICU_stay= gender Age varA / dist=poi link=log
         solution;
     random visit_no/type=cs  subject=id;
   output out=gmxout pearson=pearson;

run;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I chose a compound symmetry variance structure as I doubt that the visits are equally spaced in time, even if indexed as 1, 2 and 3.&amp;nbsp; A heterogeneous compound symmetry (csh) may give a superior fit, but simpler is usually better and has a higher chance of converging.&amp;nbsp; I also added an NLOPTIONS statement that could result in convergence, if you are hitting up against the default 20 iteration limit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham.&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>Thu, 14 Apr 2022 12:12:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deciphering-a-Note-in-the-SAS-Log-When-Running-PROC-GLIMMIX-with/m-p/807780#M39727</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-04-14T12:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Deciphering a Note in the SAS Log When Running PROC GLIMMIX with poisson distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deciphering-a-Note-in-the-SAS-Log-When-Running-PROC-GLIMMIX-with/m-p/808097#M39745</link>
      <description>&lt;P&gt;Thank you very much Steve. I appreciate your detailed explanation. It was very helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 22:19:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deciphering-a-Note-in-the-SAS-Log-When-Running-PROC-GLIMMIX-with/m-p/808097#M39745</guid>
      <dc:creator>fdehkord</dc:creator>
      <dc:date>2022-04-15T22:19:57Z</dc:date>
    </item>
  </channel>
</rss>

