DATA Step, Macro, Functions and more

proc phreg floating point overflow

Posts: 42

proc phreg floating point overflow

Proc phreg model, got error message, how to solve this problem? Thanks!


proc phreg data = data COVS(AGGREGATE);

CLASS  x2 x3 x4 x5  /ref = first;

model  time_event * event(0) = x1 x2 x3 x4 x5 /RL;




ERROR: Floating Point Overflow.

ERROR: Termination due to Floating Point Exception

NOTE: The SAS System stopped processing this step because of errors.

NOTE: PROCEDURE PHREG used (Total process time):

real time 2.80 seconds

cpu time 2.37 seconds





Posts: 3,478

Re: proc phreg floating point overflow

You should send the program and data to SAS Technical Support. They will be able to pass the information on to a SAS developer. Be sure to include your SAS release (for example, 9.3m1 or 9.4m0) and your operating system.


There is not much we on this forum can suggest without knowing the data. The error message does not give any hints as to the problem.


I don't know what is wrong, but since four of the dependent variables are classification variables, this problem could potentially involve a large number of parameters. Use PROC FREQ to examine the number of unique levels for the x2-x5 variables.  If one of the variables involves hundreds of levels (maybe a medical diagnosis ID or a doctor ID) then try removing that variable from the model.

Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation