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

innovate-wordmarks-white-horiz.png

SAS is headed back 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.

Interested in speaking? Content from our attendees is one of the reasons that makes SAS Innovate such a special event!

Submit your idea!

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.

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
  • 4 replies
  • 743 views
  • 0 likes
  • 4 in conversation