Dear I’m trying to run PROC LIFETEST to generate a failure function. I would like the graph to display patients at risk at selected timepoints, and I’d also like to customize the label of the Y-axis. I’ve made several attempts, but none have worked. The code I’m currently using is as follows: %ProvideSurvivalMacros %let yOptions = label="Cumulative probability of xxxxxxxx" shortlabel="Failure" linearopts=(viewmin=0 viewmax=1 tickvaluelist=(0 .2 .4 .6 .8 1.0)); %let xOptions = shortlabel=XNAME offsetmin=.05 linearopts=(viewmax=MAXTIME tickvaluelist=(0 52 104 156 200) tickvaluefitpolicy=XTICKVALFITPOL); %let METHOD = ""; %let TitleText0 = ""; %CompileSurvivalTemplates proc lifetest data=dataset plots=(survival( failure atrisk=(0 52 104 156 200))); time time_to_evet* flag_event (0) ; strata type /test=none; run; When I run the debug using the command %put &=yOptions; %put &=xOptions; , I can correctly see in the log the label I want to assign to the Y-axis and the timepoints for the X-axis. However, in the graph, the Y-axis label does not change. The patients at risk are shown at the correct timepoints, but without the label being applied. Thank you for any help or advice KR
... View more