I want to overlay a few survival plots (for different outcome events) on top of each other, each have the same stratas so preferably each outcome would be a different color, and strata would be defined by slide vs. dashed line. Is there any easy way to do this in lifetest?
What does the code look like? For a very customized plot you can use SGPLOT very easily and customizing would be relatively straightforward as well. I'm curious how you're handling the different outcomes and strata within PROC LIFETEST.
@Melk wrote:
I want to overlay a few survival plots (for different outcome events) on top of each other, each have the same stratas so preferably each outcome would be a different color, and strata would be defined by slide vs. dashed line. Is there any easy way to do this in lifetest?
Hello everyone,,
I want to overlay a few survival plots (for different outcome events) on top of each other, each have the same stratas so preferably each outcome would be a different color, and strata would be defined by slide vs. dashed line. Is there any easy way to do this in lifetest???
Identical duplicate to https://communities.sas.com/t5/Graphics-Programming/Overlay-survival-plots/td-p/544117
This macro is a better option:
@Tpain wrote:
Hello everyone,,
I want to overlay a few survival plots (for different outcome events) on top of each other, each have the same stratas so preferably each outcome would be a different color, and strata would be defined by slide vs. dashed line. Is there any easy way to do this in lifetest???
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.