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???
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.