BookmarkSubscribeRSS Feed
Melk
Lapis Lazuli | Level 10

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? 

4 REPLIES 4
Reeza
Super User

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? 


 

Tpain
Calcite | Level 5

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???

Reeza
Super User

This  macro is a better option:

https://communities.sas.com/t5/SAS-Communities-Library/Kaplan-Meier-Survival-Plotting-Macro-NEWSURV/...

 


@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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1137 views
  • 0 likes
  • 4 in conversation