question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Predicting the survival function for uncensored test data?

See original GitHub issue

When we predict the survival function for a given data point (this data point is in my test set and is uncensored), do we use the conditional_after argument? To me, it doesn’t make sense to because when I evaluate, I will take the median percentile as the predicted duration and measure that to the ground truth duration. The predicted duration shouldn’t be dependent on the ground truth duration, correct? Or am I thinking about this wrong?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jlim13commented, Jun 18, 2020

Thanks for the prompt reply! So, the docs don’t directly say to set conditional_after = 0 when predicting uncensored data. I just quickly looked through the docs just now, so I could have missed it!. I wouldn’t say they are confusing, but the docs don’t address the various questions surrounding the topic of evaluating on censored data. For example, I want to get a sense of how close my model can predict the actual duration in days. To evaluate this, I would have to get the L1-Loss for my predictions on the uncensored data in my test set and their ground truth durations. Maybe a section about doing this type of evaluation of uncensored data would make it clear to not use conditional_after on uncensored subjects? Thoughts?

0reactions
konradsemschcommented, Feb 24, 2021

Agreed! doing right now 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Survival Analysis, Censoring and Time Scales - YouTube
Survival analysis or time-to-event analyses have been popularized for making predictions about future events based on some exposure in the ...
Read more >
Understanding Predictions in Survival Analysis
The name survival analysis originates from clinical research, where predicting the time to death, i.e., survival, is often the main objective.
Read more >
Survival Analysis — Part A
Survival Analysis is used to estimate the lifespan of a particular population under study. It is also called 'Time to Event' Analysis as...
Read more >
Survival analysis and regression models - PMC - NCBI - NIH
This article will only discuss right-censored data. ... Plot of sample Weibull survival functions (A) and the corresponding hazard functions ...
Read more >
Survival Analysis with R - R Views - RStudio
The SmoothHazard package fits proportional hazards models for the illness-death model with possibly interval-censored data for transition toward ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found