BookmarkSubscribeRSS Feed
peppapig
Calcite | Level 5

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;

run;

 

 

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

 

 

 

 

1 REPLY 1
Rick_SAS
SAS Super FREQ

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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 3850 views
  • 1 like
  • 2 in conversation