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
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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.