Time-to-Event Data, Censoring, and Hazard Functions › Summary
Machine Learning from ScratchAll chapters Time-to-Event Data, Censoring, and Hazard Functions › SummarySection view · Sections in this chapter9 / 10 ↓
Reading tools Definitions, links & notes
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Time-to-event data is the record of a duration combined with a censoring indicator, and . The indicator is not a nuisance. It separates the two kinds of information a survival dataset contains, namely "the event happened at this time" and "the event had not happened by this time." The likelihood that consumes this pair is , or equivalently after rewriting in terms of the hazard and the cumulative hazard.
Three functions describe the same distribution. The survival function is the probability of remaining event-free. The density is the familiar probability density. The hazard is the instantaneous rate of the event given survival so far. The bridge between the survival and cumulative-hazard representations is , which is what makes hazard-based models algebraically convenient. You should be comfortable with all three and be able to translate among them at will.
Independent censoring with distinct nuisance parameters permits removal of censoring factors from the event-time likelihood. Unmeasured dependence can invalidate that factorization, and additional models, weighting assumptions, or sensitivity analysis may be needed. Competing-event analyses need a declared target. When that target distinguishes event types, retain an event-type indicator; a prespecified composite first-event target can use a binary indicator. Non-informative delayed entry conditions on survival to through , and changes exposure even for an exponential lifetime.
The exponential rate estimate is when there is at least one event and positive exposure. In the six-record example it is , while counting censorings as events gives and dropping them gives . The primitive optimizer agrees with the analytic estimate, and SciPy's censored exponential fit checks the hand example independently. In the larger seeded sample the censoring-aware estimate is near the generating rate; the naive estimates are substantially larger. The next chapters extend the estimators while retaining explicit attention to what each observed record tells us.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!