<?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 SAS 9.4 Floating Point Overflow error in Proc Genmod Procedure in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-9-4-Floating-Point-Overflow-error-in-Proc-Genmod-Procedure/m-p/580617#M28470</link>
    <description>&lt;P&gt;Here are a few observations in my dataset,&lt;/P&gt;&lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;adm&lt;/TD&gt;&lt;TD&gt;recruited&lt;/TD&gt;&lt;TD&gt;dual&lt;/TD&gt;&lt;TD&gt;ldays&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;4.96284&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS 9.4. I have very large dataset with over 6M records. I didn't get the error message when I run the code with the full dataset, but it took too long to run. So I tried to run with 15% of the sample, but encountered the error below. I appreciated for any suggestion or advice.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data = mydata;&lt;BR /&gt;class recruited_18(param=ref ref='0') dual_18(param=ref ref='1');&lt;BR /&gt;model adm_18 =recruited_18 dual_18 /dist=zinb type3 offset=ldays;&lt;BR /&gt;zeromodel ldays/link=logit;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ERROR: Floating Point Overflow.&lt;BR /&gt;ERROR: Termination due to Floating Point Exception&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2019 18:02:51 GMT</pubDate>
    <dc:creator>Lijing</dc:creator>
    <dc:date>2019-08-12T18:02:51Z</dc:date>
    <item>
      <title>SAS 9.4 Floating Point Overflow error in Proc Genmod Procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-9-4-Floating-Point-Overflow-error-in-Proc-Genmod-Procedure/m-p/580617#M28470</link>
      <description>&lt;P&gt;Here are a few observations in my dataset,&lt;/P&gt;&lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;adm&lt;/TD&gt;&lt;TD&gt;recruited&lt;/TD&gt;&lt;TD&gt;dual&lt;/TD&gt;&lt;TD&gt;ldays&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5.89990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;4.96284&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS 9.4. I have very large dataset with over 6M records. I didn't get the error message when I run the code with the full dataset, but it took too long to run. So I tried to run with 15% of the sample, but encountered the error below. I appreciated for any suggestion or advice.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data = mydata;&lt;BR /&gt;class recruited_18(param=ref ref='0') dual_18(param=ref ref='1');&lt;BR /&gt;model adm_18 =recruited_18 dual_18 /dist=zinb type3 offset=ldays;&lt;BR /&gt;zeromodel ldays/link=logit;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ERROR: Floating Point Overflow.&lt;BR /&gt;ERROR: Termination due to Floating Point Exception&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 18:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-9-4-Floating-Point-Overflow-error-in-Proc-Genmod-Procedure/m-p/580617#M28470</guid>
      <dc:creator>Lijing</dc:creator>
      <dc:date>2019-08-12T18:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 Floating Point Overflow error in Proc Genmod Procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-9-4-Floating-Point-Overflow-error-in-Proc-Genmod-Procedure/m-p/580641#M28471</link>
      <description>&lt;P&gt;How long was "too long"?&lt;/P&gt;
&lt;P&gt;Did you actually let the proc finish? If not then it is quite possible that the only reason you didn't get an error was the interruption.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, how did you select your 15% sample? You may have introduced some effect because of the selection method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 19:39:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-9-4-Floating-Point-Overflow-error-in-Proc-Genmod-Procedure/m-p/580641#M28471</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-08-12T19:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 Floating Point Overflow error in Proc Genmod Procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-9-4-Floating-Point-Overflow-error-in-Proc-Genmod-Procedure/m-p/580723#M28478</link>
      <description>&lt;P&gt;It took about 4 hours to finish run, so I used proc survey select to random select 15% sample to speed up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, I found out the reason,&amp;nbsp; it's the variable "ldays" &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;in zeromodel statement&lt;/SPAN&gt;. A person can have one to 365 Medicare coverage days. ldays is the log of coverage days. The error went away when I took out the variable from zeromodel statement, but I don't understand why.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 06:21:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-9-4-Floating-Point-Overflow-error-in-Proc-Genmod-Procedure/m-p/580723#M28478</guid>
      <dc:creator>Lijing</dc:creator>
      <dc:date>2019-08-13T06:21:46Z</dc:date>
    </item>
  </channel>
</rss>

