Skip to content
Advertisement

Show Cancer Specific Survival at exact time (Kaplan Meier in Lifelines)

JavaScript

shows me Cancer Specific Survival (CSS) of my cohort at different times (0, 4, 6…128 month). How can CSS be shown at exactly 120 month?

Advertisement

Answer

The survival_function_at_times() method will get you that value. Here is an example with a sample dataset:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement