Skip to content

Track T13

Survival Analysis

Time-to-event data, censoring and hazards.

Unit 1Time-to-event thinking

· 4 lessons
  1. 1Why time-to-event data need their own methodsSome people haven't had the event by the time you stop watching. See what goes wrong when you ignore that, and what a censored row really says.Introductory · 9 min
  2. 2Censoring: when it is safe and when it isn'tRight, left and interval censoring, delayed entry, and the one assumption nothing in your data can confirm.Applied · 9 min
  3. 3Kaplan–Meier, one event at a timeBuild a survival curve step by step, see why censored patients still count, and learn which interval each library draws by default.Applied · 12 min
  4. 4Hazards, medians and the area under the curveConnect the moment-to-moment hazard to the survival curve, then choose between the median, survival at a time point, and restricted mean survival.Applied · 11 min

Unit 2Comparing curves

· 3 lessons
  1. 5The log-rank testCompare survival curves by adding up observed and expected events at every event time, and know what the test can and can't tell you.Applied · 11 min
  2. 6Early or late differences? Weighted log-rank testsGehan–Breslow, Tarone–Ware, Peto–Peto and Fleming–Harrington change which part of follow-up counts most. Choose before you see the data.Advanced · 12 min
  3. 7When curves cross: Rényi, max-combo and restricted meansA log-rank test can miss a real difference when early and late effects cancel. Learn three pre-specifiable alternatives and what each one answers.Advanced · 13 min

Unit 3Modeling hazards

· 4 lessons
  1. 8The Cox model and hazard ratiosAdjust for covariates without assuming a baseline hazard, read hazard ratios correctly, and check how well the model ranks people.Applied · 13 min
  2. 9Checking proportional hazardsThe Grambsch–Therneau test and Schoenfeld residuals show whether a hazard ratio changes over time, and what to do when it does.Applied · 12 min
  3. 10Time-varying covariates and immortal timeA patient who waits months for a transplant had to survive those months first. Set up start–stop data so that survival isn't credited to the treatment.Advanced · 12 min
  4. 11Parametric models and time ratiosAssume a distribution and you can talk about survival time directly. Compare Weibull, log-normal and log-logistic fits, and turn a time ratio into a hazard ratio.Advanced · 11 min

Unit 4Beyond one event

· 2 lessons
  1. 12Competing risks, cumulative incidence and Gray's testWhen death prevents the event you study, 1 − Kaplan–Meier overstates risk. Use cumulative incidence, Gray's test and the right kind of hazard for your question.Advanced · 14 min
  2. 13Recurrent events and interval-censored dataInfections repeat and scans only happen at visits. Choose among Andersen–Gill, PWP and WLW for repeated events, and use Turnbull's estimate when you only know an interval.Advanced · 12 min

Unit 5Plan and report

· 1 lesson
  1. 14Planning and reporting a survival studyPower in survival studies comes from events, not people. Plan the number of events you need, then report curves, numbers at risk, effects and checks.Applied · 11 min