CHAPTER 2Time to Event Metrics

Ticking away the moments that make up a dull day

You fritter and waste the hours in an offhand way

— Pink Floyd, Time

Schematic illustration of a Plague Doctor.

Plague Doctor

Chapter Contents:

  • Threat Hunting with Dr. Snow: Historical motivation for our methods
  • A Haberdasher's Life Tables: A 400-year-old reusable data structure for time to live metrics – created by the first data scientist
  • Measuring Time to Events in R!: A detailed explanation of a tiny amount of code for the novice analyst
  • Life Table Metrics: Basic metrics that are very useful
  • Visualizing Survival: Standard visualization

Threat Hunting with Dr. Snow

Dr. John Snow is the father of modern epidemiology. He led a data science battle on cholera, a deadly threat ravaging 1850s London. His data-driven methods traced the source of the disease so it could be mitigated. Despite having scientifically sound data (even by today's standards), he ...

Get The Metrics Manifesto now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.