H everyone,
I am creating a Kaplan Meier curve using the following:
proc lifetest data=have atrisk plots=survival(atrisk (atrisktickonly outside ) cb=hw test ) ;
time time*Censor(0);
run;
I would like the plot to be black and white and the confidence limit bands to be presented as dotted lines without fill in colour in between, for publication purposes.
Any help?
Use one of the journal styles.
You can do this by selecting one of the many Journal styles which are black and white styles. You can designate a style either using the STYLE= option in an ODS destination statement or in the SAS Display Manage interface by clicking Tools:Options:Preferences, then in the Results tab, the Style menu will show you all of the available styles including all of the Journal styles. If you select one of the Journal styles in the menu, you can then re-run your analysis and the results will be presented in that style. Or, you can precede your analysis with an ODS statement like the following (assuming you are creating HTML results in the HTML destination):
ods html style=journal;
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!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.