<?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 GLIMMIX Convergence Table in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-Convergence-Table/m-p/810661#M39920</link>
    <description>&lt;P&gt;If GLIMMIX does not start the iteration process due to a problem with the data or model, then the convergencestatus output table will not be produced. You could use the &amp;amp;SYSWARNINGTEXT macro variable to see what the last warning message is that GLIMMIX produces. If that macro variable contains the text "Output 'convergencestatus' not created" then you can act accordingly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively you can check on the existence of the data set you assigned to convergencestatus with the &amp;amp;SYSERR macro variable. If you try to use that data set in a DATA step and it does not exist, then &amp;amp;SYSERR will be nonzero and you can act on that information.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2022 14:24:16 GMT</pubDate>
    <dc:creator>StatsMan</dc:creator>
    <dc:date>2022-04-29T14:24:16Z</dc:date>
    <item>
      <title>PROC GLIMMIX Convergence Table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-Convergence-Table/m-p/810641#M39918</link>
      <description>&lt;P&gt;I am running the below proc glimmix procedure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am tasked with running this for different covariance structures (type=CHOL, type=AR1, etc), and accepting the structure that first converges.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found the following:&lt;/P&gt;&lt;P&gt;1) when I specify the RANDOM statement, the ods output ConvergenceStatus table will not be created, and therefore I cannot check convergence using that covariate structure.&lt;/P&gt;&lt;P&gt;2) When I do NOT specify the RANDOM statement, the ods output ConvergenceStatus table WILL be created, but then I can't specify the covariance structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on how I can check convergence while using the various covariance structures?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data=out.alldata(keep=paramcd response AVISITN usubjid trtn subgroup_sort) noitprint noclprint ;&lt;BR /&gt;nloptions maxiter=1000000;&lt;BR /&gt;by paramcd;&lt;BR /&gt;class AVISITN usubjid trtn subgroup_sort ;&lt;BR /&gt;model response(descending) = AVISITN trtn subgroup_sort&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; avisitn*trtn avisitn*subgroup_sort trtn*subgroup_sort&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AVISITN*trtn*subgroup_sort /s dist=binary ddfm=KR2;&lt;BR /&gt;random avisitn / type=CHOL subject=usubjid residual;&lt;BR /&gt;ods output convergenceStatus=anl_conv;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 13:47:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-Convergence-Table/m-p/810641#M39918</guid>
      <dc:creator>JefferyGilbert</dc:creator>
      <dc:date>2022-04-29T13:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLIMMIX Convergence Table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-Convergence-Table/m-p/810661#M39920</link>
      <description>&lt;P&gt;If GLIMMIX does not start the iteration process due to a problem with the data or model, then the convergencestatus output table will not be produced. You could use the &amp;amp;SYSWARNINGTEXT macro variable to see what the last warning message is that GLIMMIX produces. If that macro variable contains the text "Output 'convergencestatus' not created" then you can act accordingly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively you can check on the existence of the data set you assigned to convergencestatus with the &amp;amp;SYSERR macro variable. If you try to use that data set in a DATA step and it does not exist, then &amp;amp;SYSERR will be nonzero and you can act on that information.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 14:24:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-Convergence-Table/m-p/810661#M39920</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2022-04-29T14:24:16Z</dc:date>
    </item>
  </channel>
</rss>

