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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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