BookmarkSubscribeRSS Feed
Fluorite | Level 6

Hi All,


I am trying to print 14 survival plots on the same page using PROC LIFETEST.  I could use another procedure if anyone has any suggestions.  Please see the example code below.  I would like a plot for each level of "group" (group has 14 levels).  But, I want them all on the same page rather than one per page. There seem to be many examples of how to do this using PROC GPLOT, but not for a procedure like PROC LIFETEST.


Thanks in advance for any help!



proc lifetest data=testdata plots=survival;
by group;
time surtim * surind(0);
strata ethnicity;



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 0 replies
  • 1 in conversation