<?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 PHREG Bayes Piecewise Exponential Model-floating point error in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-PHREG-Bayes-Piecewise-Exponential-Model-floating-point/m-p/201708#M50388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is really flailing in the dark, but do you have any "pathological" data points?&amp;nbsp; Something in one of the classes that doesn't fit piecewise could do this.&amp;nbsp; The piecewise function doesn't have to be differentiable at the join point, but it does have to be continuous.&amp;nbsp; If for some level of one of the categorical variables, the continuous variable shifts dramatically, this collinearity could cause this jump.&amp;nbsp; It sounds almost like a quasi-separation problem in logistic regression, for some reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2015 12:11:29 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2015-06-10T12:11:29Z</dc:date>
    <item>
      <title>Proc PHREG Bayes Piecewise Exponential Model-floating point error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-PHREG-Bayes-Piecewise-Exponential-Model-floating-point/m-p/201707#M50387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to fit a Bayesian Piecewise Exponential model using PROC PHREG. But, I'm getting the error below. Can someone please guide me to solve this error.&lt;/P&gt;&lt;P&gt;My code and details of the data are at the end. Let me know if you need more info. about the data. Thanks.w&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Convergence criterion (GCONV=1E-8) satisfied.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Floating Point Zero Divide.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Termination due to Floating Point Exception&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;PROC PHREG data=lib.sample;&lt;/P&gt;&lt;P&gt; class X1 X2 X3 ;&lt;/P&gt;&lt;P&gt; model TIME_mon*status(0)=X1 X2 X3 X4 X5 X6 ;&lt;/P&gt;&lt;P&gt; bayes nbi=1000 nmc=10000 thinning=5 seed=1980 plots=all&lt;/P&gt;&lt;P&gt; coeffprior= uniform piecewise=hazard (ninterval=4);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X1, X2, X3&amp;nbsp; are categorical variables and X4, X5, X6 are continuous variables. TIME_mon is survival time in months (discrete). It's right censored data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 23:48:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-PHREG-Bayes-Piecewise-Exponential-Model-floating-point/m-p/201707#M50387</guid>
      <dc:creator>rangisil</dc:creator>
      <dc:date>2015-06-09T23:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc PHREG Bayes Piecewise Exponential Model-floating point error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-PHREG-Bayes-Piecewise-Exponential-Model-floating-point/m-p/201708#M50388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is really flailing in the dark, but do you have any "pathological" data points?&amp;nbsp; Something in one of the classes that doesn't fit piecewise could do this.&amp;nbsp; The piecewise function doesn't have to be differentiable at the join point, but it does have to be continuous.&amp;nbsp; If for some level of one of the categorical variables, the continuous variable shifts dramatically, this collinearity could cause this jump.&amp;nbsp; It sounds almost like a quasi-separation problem in logistic regression, for some reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-PHREG-Bayes-Piecewise-Exponential-Model-floating-point/m-p/201708#M50388</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-06-10T12:11:29Z</dc:date>
    </item>
  </channel>
</rss>

