Hello,
I'm trying to plot a loglog vs log graph using PROC LIFETEST in SAS, so that I can check the proportional hazard assumption with the data.
However, since I'm dealing with a very large data (appx. 7-million records) the system stops running with the error saying:
ERROR: JVM(Java virtual machine) exception. java.lang.OutOfMemoryError: Java heap space.
After with some searching, I increased the memory capacity from 128m to 1024m but the problem remains same.
Would there be any better options to plot the graph? or is there any other way (that my computer can handle) to check the proportional hazard assumption?
Thanks in advance
ods graphics on;
proc lifetest data=data plot=(lls) notable;
time tte*outcome(0);
strata treatment;
run;
Did you try just outputting the results to a dataset and writing your own code to make a graph?
Did you try just outputting the results to a dataset and writing your own code to make a graph?
Add the line below to your code 🙂
ods output LogNegLogSurvivalPlot=LogNegLogSurvivalPlot;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.