<?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: Error code in SAS when choosing unstructured working correlation within Proc Genmod in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Error-code-in-SAS-when-choosing-unstructured-working-correlation/m-p/841455#M41718</link>
    <description>&lt;P&gt;The unstructured matrix requires the estimation of most correlation parameters - 15 in your case - as opposed to much simpler structures, like exchangeable, which only requires one to be estimated. As with any iterative model fitting algorithm, increasing the number of parameters to estimate, either model parameters or correlation parameters, increases the likelihood of fitting problems. This is particularly true for binary response models where data sparseness can make these problems more likely. That said, the more modern PROC GEE is the recommended procedure to fit GEE models rather than the older PROC GENMOD. It is possible, though by no means certain, that you'll have better luck there.&lt;/P&gt;</description>
    <pubDate>Sat, 29 Oct 2022 14:19:07 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2022-10-29T14:19:07Z</dc:date>
    <item>
      <title>Error code in SAS when choosing unstructured working correlation within Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-code-in-SAS-when-choosing-unstructured-working-correlation/m-p/840602#M41717</link>
      <description>&lt;P&gt;Hi everyone, I'm getting an error code (no specific one, just following note: Stopped by error!) when trying to run following Proc Genmod procedure with an unstructured working correlation:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC Genmod DATA= table descending;&lt;BR /&gt;Class ID Year (ref='1');&lt;BR /&gt;Model TreatmentType=Year/ Dist=Binomial Link=Logit;&lt;BR /&gt;Repeated Subject=VID/ Type=UN corrw;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The working correlation matrix in the output looks like this (looks like it stopped running):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Col1&amp;nbsp; &amp;nbsp; &amp;nbsp; Col2&amp;nbsp; &amp;nbsp; Col3&amp;nbsp; &amp;nbsp; Col4&amp;nbsp; &amp;nbsp; Col5&amp;nbsp; &amp;nbsp; &amp;nbsp;Col6&lt;BR /&gt;Row1 2.9295 -1.0000 0.0000 0.0000 0.0000 0.0000&lt;BR /&gt;Row2 -1.0000 0.3414 0.0000 0.0000 0.0000 0.0000&lt;BR /&gt;Row3 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000&lt;BR /&gt;Row4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000&lt;BR /&gt;Row5 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000&lt;BR /&gt;Row6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I change the working correlation to&amp;nbsp; exchangeable the procedure will run.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does this come?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 15:41:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-code-in-SAS-when-choosing-unstructured-working-correlation/m-p/840602#M41717</guid>
      <dc:creator>Mi1122</dc:creator>
      <dc:date>2022-10-25T15:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error code in SAS when choosing unstructured working correlation within Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-code-in-SAS-when-choosing-unstructured-working-correlation/m-p/841455#M41718</link>
      <description>&lt;P&gt;The unstructured matrix requires the estimation of most correlation parameters - 15 in your case - as opposed to much simpler structures, like exchangeable, which only requires one to be estimated. As with any iterative model fitting algorithm, increasing the number of parameters to estimate, either model parameters or correlation parameters, increases the likelihood of fitting problems. This is particularly true for binary response models where data sparseness can make these problems more likely. That said, the more modern PROC GEE is the recommended procedure to fit GEE models rather than the older PROC GENMOD. It is possible, though by no means certain, that you'll have better luck there.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2022 14:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-code-in-SAS-when-choosing-unstructured-working-correlation/m-p/841455#M41718</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-10-29T14:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error code in SAS when choosing unstructured working correlation within Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-code-in-SAS-when-choosing-unstructured-working-correlation/m-p/842211#M41747</link>
      <description>&lt;P&gt;I use MIXED and GLIMMIX much more than I do GENMOD. But.... I think you should make VID a class variable (add it to the CLASS statement). Also, if you have more than one observation for each combination of year and VID, you will have a problem.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 21:08:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-code-in-SAS-when-choosing-unstructured-working-correlation/m-p/842211#M41747</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2022-11-02T21:08:41Z</dc:date>
    </item>
  </channel>
</rss>

