<?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 Floating Point Overflow error in proc reliability in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77079#M16652</link>
    <description>We are getting the Floating Point Overflow error at the proc reliability data step.&lt;BR /&gt;
&lt;BR /&gt;
We are getting the huge observations in SAS datastep, which is executed before the Proc reliability step.&lt;BR /&gt;
&lt;BR /&gt;
Tried to  make the data more dense by using length statement. But it is not working.&lt;BR /&gt;
&lt;BR /&gt;
Could someone help us to fix the floating point overflow error in proc reliability datastep.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Sakthi.</description>
    <pubDate>Tue, 17 Mar 2009 15:50:38 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-03-17T15:50:38Z</dc:date>
    <item>
      <title>Floating Point Overflow error in proc reliability</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77079#M16652</link>
      <description>We are getting the Floating Point Overflow error at the proc reliability data step.&lt;BR /&gt;
&lt;BR /&gt;
We are getting the huge observations in SAS datastep, which is executed before the Proc reliability step.&lt;BR /&gt;
&lt;BR /&gt;
Tried to  make the data more dense by using length statement. But it is not working.&lt;BR /&gt;
&lt;BR /&gt;
Could someone help us to fix the floating point overflow error in proc reliability datastep.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Sakthi.</description>
      <pubDate>Tue, 17 Mar 2009 15:50:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77079#M16652</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-17T15:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Overflow error in proc reliability</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77080#M16653</link>
      <description>It may just be me but would you not want to make the number 'less' dense by increasing the length? I assume you have the length statement before your set statement. I don't know anything about proc reliability but I would assume making a numeric variable large enough should remove the error.</description>
      <pubDate>Tue, 17 Mar 2009 16:07:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77080#M16653</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-17T16:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Overflow error in proc reliability</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77081#M16654</link>
      <description>Yes. I want to make the number 'less' dense by increasing the length.&lt;BR /&gt;
How can we use the LENGTH statement in SAS numeric variables to avoid this floating point error.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for helping.</description>
      <pubDate>Tue, 17 Mar 2009 16:22:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77081#M16654</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-17T16:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Overflow error in proc reliability</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77082#M16655</link>
      <description>Without seeing your code I can't be too sure but basically you want to increase the length of the vairable you are analysing.&lt;BR /&gt;
&lt;BR /&gt;
e.g.&lt;BR /&gt;
&lt;BR /&gt;
data data_for_analysis;&lt;BR /&gt;
length analysis_variable 10;&lt;BR /&gt;
set input_data;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
You must put the length statement before the set statement.</description>
      <pubDate>Tue, 17 Mar 2009 17:08:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77082#M16655</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-17T17:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Overflow error in proc reliability</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77083#M16656</link>
      <description>A couple of comments:&lt;BR /&gt;
&lt;BR /&gt;
PROC RELIABILITY  doesn't have a data step, so you need to clarify whether your question is about the DATA step to construct the data for PROC RELIABILITY or the procedure itself.&lt;BR /&gt;
&lt;BR /&gt;
I don't think that increasing the length of the variables in the DATA step is the answer.  SAS stores the data in floating point, so whether you are using length 4 or 8, the same size number can be stored.  The difference is in the precision and therefore the size of the maximum integer it can store precisely.  The maximum storage length for a real number is 8 bytes.&lt;BR /&gt;
&lt;BR /&gt;
SAS does all of the internal computation in its procedures using double precision arithmetic.  &lt;BR /&gt;
&lt;BR /&gt;
This sort of thing can happen when you have both extremely large numbers and extremely small ones in the same model (similar to a divide by 0 problem).  You may need to rescale some of your variables.</description>
      <pubDate>Tue, 17 Mar 2009 20:19:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77083#M16656</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-03-17T20:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Overflow error in proc reliability</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77084#M16657</link>
      <description>Spot on Doc. I suppose as most of us never bother about the length or precision of numeric variables we never really consider what is actually going on in there. And hence the immediate thought is just to increase the length of the variable. &lt;BR /&gt;
&lt;BR /&gt;
I had a good read through the documentation and my brian is numb but now better informed.&lt;BR /&gt;
&lt;BR /&gt;
Cheers&lt;BR /&gt;
Peter</description>
      <pubDate>Wed, 18 Mar 2009 11:50:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Floating-Point-Overflow-error-in-proc-reliability/m-p/77084#M16657</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-18T11:50:38Z</dc:date>
    </item>
  </channel>
</rss>

