Time-to-Event Data, Censoring, and Hazard Functions

Michael BrenndoerferOctober 25, 20262 min read
Machine Learning from ScratchAll chapters
Part 6 of 15Survival Analysis
Chapter 48Time-to-Event Data, Censoring, and Hazard Functions
Reading section 1 of 10 · Time-to-Event Data, Censoring, and Hazard Functions · 2 minSection 1 of 10 · 2 min

Section 1 of 10 · 2 min read

Time-to-Event Data, Censoring, and Hazard FunctionsSection view · Sections in this chapter1 / 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

Notes & comments

A pump is still running when a maintenance study ends. Its recorded duration is twelve months, but its lifetime is not twelve months: the lifetime is greater than twelve months. Treating that record as a failure moves an event to a time when no event occurred. Dropping it loses twelve months of evidence that the pump kept working. Survival analysis starts by preserving that distinction.

Probability Distributions and Descriptive Statistics provide the tools for describing durations. If every event time were observed, we could fit a distribution or summarize the complete durations directly. With incomplete follow-up, some pumps are still running at the administrative cutoff, and we know only a lower bound on their event times. This is right censoring. Ignoring the distinction between an event and a censoring time can distort estimates of how long things last.

This chapter defines the observed duration and event indicator, then connects the survival function, density, and hazard for a positive, absolutely continuous event time. The identity S(t)=exp⁡(−H(t))S(t)=\exp(-H(t)) connects survival probabilities to cumulative hazards. Under independent censoring and the other assumptions stated below, these functions give a likelihood that uses both exact event times and survival up to a censoring time.

By the end, you should be able to interpret right-censored records, construct their parametric likelihood, and explain why ordinary regression on observed durations can target the wrong outcome. The next chapters develop non-parametric and regression estimators:

  • Kaplan–Meier and Nelson–Aalen provide the non-parametric view.
  • The Cox proportional hazards model provides a semi-parametric regression.
  • Accelerated failure-time models provide fully parametric alternatives.

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!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy