<?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 ERROR: Floating Point Zero Divide PROC GENMOD in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/ERROR-Floating-Point-Zero-Divide-PROC-GENMOD/m-p/850336#M10724</link>
    <description>&lt;P&gt;i have to do this proc genmod:&lt;/P&gt;&lt;P&gt;PROC GENMOD DATA = _1;&lt;BR /&gt;&amp;nbsp; CLASS TRTP1-TRTP3 country1-country21 NEXTGR11-NEXTGR12 FEVPGR11-FEVPGR13;&lt;BR /&gt;&amp;nbsp; MODEL AVAL = TRTP1-TRTP3 country1-country21 NEXTGR11-NEXTGR12 FEVPGR11-FEVPGR13 /&lt;BR /&gt;&amp;nbsp; OFFSET=LNFUDUR2 DIST=negbin LINK=log;&lt;BR /&gt;&amp;nbsp; BAYES SEED=22022021 COEFFPRIOR=uniform THIN=100 OUTPOST= dataset2 NMC=100000;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but unfortunately, i have the below error messages (all the covariates are binary 0/1 and the AVAL variable includes only integer values from 0 to 5. Only the OFFSET variable is a continuous variable)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AudreyM_0-1671449940332.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78710iAEF7A996A1EBD54E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AudreyM_0-1671449940332.png" alt="AudreyM_0-1671449940332.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The distribution of AVAL is the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AudreyM_1-1671450115242.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78711iFDC7D11B844BA96F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AudreyM_1-1671450115242.png" alt="AudreyM_1-1671450115242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my thought is that is due to the low variability of AVAL because in a lot of strata, the available values of AVAL are only 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But these are the data that i have so i cannot change them. i have tried to round the offset variable so have a fix number of digits but does not change the outcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you have any solution to resolve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Audrey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 11:43:58 GMT</pubDate>
    <dc:creator>AudreyM</dc:creator>
    <dc:date>2022-12-19T11:43:58Z</dc:date>
    <item>
      <title>ERROR: Floating Point Zero Divide PROC GENMOD</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ERROR-Floating-Point-Zero-Divide-PROC-GENMOD/m-p/850336#M10724</link>
      <description>&lt;P&gt;i have to do this proc genmod:&lt;/P&gt;&lt;P&gt;PROC GENMOD DATA = _1;&lt;BR /&gt;&amp;nbsp; CLASS TRTP1-TRTP3 country1-country21 NEXTGR11-NEXTGR12 FEVPGR11-FEVPGR13;&lt;BR /&gt;&amp;nbsp; MODEL AVAL = TRTP1-TRTP3 country1-country21 NEXTGR11-NEXTGR12 FEVPGR11-FEVPGR13 /&lt;BR /&gt;&amp;nbsp; OFFSET=LNFUDUR2 DIST=negbin LINK=log;&lt;BR /&gt;&amp;nbsp; BAYES SEED=22022021 COEFFPRIOR=uniform THIN=100 OUTPOST= dataset2 NMC=100000;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but unfortunately, i have the below error messages (all the covariates are binary 0/1 and the AVAL variable includes only integer values from 0 to 5. Only the OFFSET variable is a continuous variable)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AudreyM_0-1671449940332.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78710iAEF7A996A1EBD54E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AudreyM_0-1671449940332.png" alt="AudreyM_0-1671449940332.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The distribution of AVAL is the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AudreyM_1-1671450115242.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78711iFDC7D11B844BA96F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AudreyM_1-1671450115242.png" alt="AudreyM_1-1671450115242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my thought is that is due to the low variability of AVAL because in a lot of strata, the available values of AVAL are only 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But these are the data that i have so i cannot change them. i have tried to round the offset variable so have a fix number of digits but does not change the outcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you have any solution to resolve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Audrey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 11:43:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ERROR-Floating-Point-Zero-Divide-PROC-GENMOD/m-p/850336#M10724</guid>
      <dc:creator>AudreyM</dc:creator>
      <dc:date>2022-12-19T11:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Floating Point Zero Divide PROC GENMOD</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ERROR-Floating-Point-Zero-Divide-PROC-GENMOD/m-p/850342#M10725</link>
      <description>&lt;P&gt;Hessian not positive definite often is a result of the model not fitting the data well. See&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/mixed-model-NOTE-Convergence-criteria-met-but-final-hessian-is/m-p/494284#M25630" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/mixed-model-NOTE-Convergence-criteria-met-but-final-hessian-is/m-p/494284#M25630&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 13:11:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ERROR-Floating-Point-Zero-Divide-PROC-GENMOD/m-p/850342#M10725</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-19T13:11:12Z</dc:date>
    </item>
  </channel>
</rss>

