<?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: Floating Point Overflow In Proc PHREG procedure in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Floating-Point-Overflow-In-Proc-PHREG-procedure/m-p/393567#M20548</link>
    <description>&lt;P&gt;Thank You very much for your Time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is is the undelying&amp;nbsp;code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%if &amp;amp;elgFlag %then&lt;BR /&gt;%do;&lt;BR /&gt;&lt;BR /&gt;%if %TableHasData(WORK.ELG_VIN_POP_SUMMARY) %then&lt;BR /&gt;%do;&lt;BR /&gt;&lt;BR /&gt;ODS OUTPUT PARAMETERESTIMATES=WORK.ELG_PE;&lt;BR /&gt;&lt;BR /&gt;PROC PHREG DATA=WORK.ELG_VIN_POP_SUMMARY;&lt;BR /&gt;BY KEY_TYP_ID VHCL_KEY_TYP_ID MDL_NM MDL_YR FCTRY_CD ENG_SERIES_ID PROB_DEFN_SK;&lt;BR /&gt;MODEL Y*V(0)=CNTMESR_INDC_SK;&lt;BR /&gt;BASELINE COVARIATES=WORK.INRISKS OUT=WORK.PRED3 SURVIVAL=S;&lt;BR /&gt;FREQ FREQ;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;%end;&lt;BR /&gt;%else&lt;BR /&gt;%do;&lt;BR /&gt;/* reset the flag */&lt;BR /&gt;%let elgFlag = 0;&lt;BR /&gt;%end;&lt;BR /&gt;&lt;BR /&gt;%end;&lt;/P&gt;&lt;P&gt;%if &amp;amp;rptFlag %then&lt;BR /&gt;%do;&lt;/P&gt;&lt;P&gt;%if %TableHasData(WORK.RPT_VIN_POP_SUMMARY) %then&lt;BR /&gt;%do;&lt;BR /&gt;&lt;BR /&gt;ODS OUTPUT PARAMETERESTIMATES=WORK.RPT_PE;&lt;BR /&gt;&lt;BR /&gt;PROC PHREG DATA=WORK.RPT_VIN_POP_SUMMARY;&lt;BR /&gt;BY KEY_TYP_ID VHCL_KEY_TYP_ID MDL_NM MDL_YR FCTRY_CD ENG_SERIES_ID PROB_DEFN_SK;&lt;BR /&gt;MODEL Y*V(0)=CNTMESR_INDC_SK;&lt;BR /&gt;BASELINE COVARIATES=WORK.INRISKS OUT=WORK.PRED3 SURVIVAL=S;&lt;BR /&gt;FREQ FREQ;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;%end;&lt;BR /&gt;%else&lt;BR /&gt;%do;&lt;BR /&gt;/* reset the flag */&lt;BR /&gt;%let rptFlag = 0;&lt;BR /&gt;%end;&lt;BR /&gt;&lt;BR /&gt;%end;&lt;/P&gt;&lt;P&gt;Continues....&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2017 14:11:46 GMT</pubDate>
    <dc:creator>harishpl02</dc:creator>
    <dc:date>2017-09-06T14:11:46Z</dc:date>
    <item>
      <title>Floating Point Overflow In Proc PHREG procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Floating-Point-Overflow-In-Proc-PHREG-procedure/m-p/393530#M20546</link>
      <description>&lt;P&gt;I am running a Job to calculate "Survival Analysis" using Proc Phreg Procedure for 2 Vehicle populaton's Survival analysis after some counter Measure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The below Warning and Error is showing after Proc Phreg Procedure in Log file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: No BY variables in the COVARIATES= data set. The entire COVARIATES= data set is used for every BY group&lt;/P&gt;&lt;P&gt;NOTE: Convergence criterion (GCONV=1E-8) satisfied.&lt;BR /&gt;NOTE: The above message was for the following by-group:..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Ridging has failed to improve the loglikelihood. You may want to increase the initial ridge value (RIDGEINIT= option), or&lt;BR /&gt;use a different ridging technique (RIDGING= option), or switch to using linesearch to reduce the step size (RIDGING=NONE),&lt;BR /&gt;or specify a new set of parameter estimates (INITIAL= option).&lt;BR /&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;BR /&gt;NOTE: SAS set option OBS=0 and will continue to check statements. This may cause NOTE: No observations in data set.&lt;BR /&gt;WARNING: The data set ELG_PE may be incomplete. When this step was stopped there were 86 observations and 15 variables.&lt;BR /&gt;WARNING: The data set PRED3 may be incomplete. When this step was stopped there were 5406 observations and 10 variables.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After implementing&amp;nbsp;&lt;SPAN&gt;RIDGING=None or&amp;nbsp;RIDGING=Absolute option in Model statement as per Log Job was able to finish without any Errors and warnings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you please explain what is the Ridging =None or aboslute option do in model statement, How its going to prevent the above error happening and how it improves Log Likelyhood ratio.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 13:21:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Floating-Point-Overflow-In-Proc-PHREG-procedure/m-p/393530#M20546</guid>
      <dc:creator>harishpl02</dc:creator>
      <dc:date>2017-09-06T13:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Overflow In Proc PHREG procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Floating-Point-Overflow-In-Proc-PHREG-procedure/m-p/393541#M20547</link>
      <description>&lt;P&gt;You can search this forum to find other threads that mention the same problem. See the thread&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/proc-phreg-floating-point-overflow/m-p/284655#M58073" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/proc-phreg-floating-point-overflow/m-p/284655#M58073&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;for advice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You didn't show any code, so it is difficult to advise you. However,&amp;nbsp;the error messages indicate that that the procedure is doing an optimization to try to find the maximum likelihood parameters and the optimization is not converging to a&amp;nbsp;solution. The WARNING is a generic message. &amp;nbsp;It reminds you that sometimes changing the optimization algorithm or parameters can help the optimization converge.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 13:25:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Floating-Point-Overflow-In-Proc-PHREG-procedure/m-p/393541#M20547</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-09-06T13:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Overflow In Proc PHREG procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Floating-Point-Overflow-In-Proc-PHREG-procedure/m-p/393567#M20548</link>
      <description>&lt;P&gt;Thank You very much for your Time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is is the undelying&amp;nbsp;code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%if &amp;amp;elgFlag %then&lt;BR /&gt;%do;&lt;BR /&gt;&lt;BR /&gt;%if %TableHasData(WORK.ELG_VIN_POP_SUMMARY) %then&lt;BR /&gt;%do;&lt;BR /&gt;&lt;BR /&gt;ODS OUTPUT PARAMETERESTIMATES=WORK.ELG_PE;&lt;BR /&gt;&lt;BR /&gt;PROC PHREG DATA=WORK.ELG_VIN_POP_SUMMARY;&lt;BR /&gt;BY KEY_TYP_ID VHCL_KEY_TYP_ID MDL_NM MDL_YR FCTRY_CD ENG_SERIES_ID PROB_DEFN_SK;&lt;BR /&gt;MODEL Y*V(0)=CNTMESR_INDC_SK;&lt;BR /&gt;BASELINE COVARIATES=WORK.INRISKS OUT=WORK.PRED3 SURVIVAL=S;&lt;BR /&gt;FREQ FREQ;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;%end;&lt;BR /&gt;%else&lt;BR /&gt;%do;&lt;BR /&gt;/* reset the flag */&lt;BR /&gt;%let elgFlag = 0;&lt;BR /&gt;%end;&lt;BR /&gt;&lt;BR /&gt;%end;&lt;/P&gt;&lt;P&gt;%if &amp;amp;rptFlag %then&lt;BR /&gt;%do;&lt;/P&gt;&lt;P&gt;%if %TableHasData(WORK.RPT_VIN_POP_SUMMARY) %then&lt;BR /&gt;%do;&lt;BR /&gt;&lt;BR /&gt;ODS OUTPUT PARAMETERESTIMATES=WORK.RPT_PE;&lt;BR /&gt;&lt;BR /&gt;PROC PHREG DATA=WORK.RPT_VIN_POP_SUMMARY;&lt;BR /&gt;BY KEY_TYP_ID VHCL_KEY_TYP_ID MDL_NM MDL_YR FCTRY_CD ENG_SERIES_ID PROB_DEFN_SK;&lt;BR /&gt;MODEL Y*V(0)=CNTMESR_INDC_SK;&lt;BR /&gt;BASELINE COVARIATES=WORK.INRISKS OUT=WORK.PRED3 SURVIVAL=S;&lt;BR /&gt;FREQ FREQ;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;%end;&lt;BR /&gt;%else&lt;BR /&gt;%do;&lt;BR /&gt;/* reset the flag */&lt;BR /&gt;%let rptFlag = 0;&lt;BR /&gt;%end;&lt;BR /&gt;&lt;BR /&gt;%end;&lt;/P&gt;&lt;P&gt;Continues....&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 14:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Floating-Point-Overflow-In-Proc-PHREG-procedure/m-p/393567#M20548</guid>
      <dc:creator>harishpl02</dc:creator>
      <dc:date>2017-09-06T14:11:46Z</dc:date>
    </item>
  </channel>
</rss>

