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);
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.