Hi Everyone,
I am trying to adjust the start of the survival curve in proc lifetest statement. For example, would it be possible to make the y-axis start from 0.2 instead of 0? here is my statement :
proc lifetest data=test plots=survival(cb=hw test);
time period1 * outcome1(0);
strata drug;
run;
There are incredibly detailed customization examples in the documentation.
Thank you for the suggestion! I was able to use the following statement :
%newsurv(DATA=nt, TIME= Time, CENS=outcome, CEN_VL=0, SUMMARY=0, CLASS=drug, COLOR=black gray, PATTERN=solid, LINESIZE=1pt, SYMBOLSIZE=1pt, ymin= 20,
RISKLIST=0 to 100 by 10,RISKLOCATION=BOTTOM,RISKCOLOR=1);
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!
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.