Survival analysis
An introduction to concepts, methods & software
What you will be able to do
- Describe risk-time, timescales and censoring, and say what each implies for an analysis
- Estimate and compare survival with Kaplan-Meier, and read a hazard and a cumulative hazard
- Fit parametric survival models and Cox regression, and choose between them
- Test the proportional-hazards assumption and model non-proportional hazards
How the practicals work
Each practical generates a dataset that is yours alone. The seed is printed on the page, so the same seed always rebuilds the same data — yours, or ours when we mark it. You run the analysis in R or in Stata and enter what you find, and we tell you which value is wrong rather than only that something is.
Curriculum
18 steps: 10 lessons, 4 practicals and 4 quizzes.
Concepts and data
- 01ReadBasic concepts, risk-time and timescalesRead free →10 min
- 02ReadCensoring — what it is and what it costs you8 min
- 03ReadDeclaring survival data: stset and Surv()12 min
- 04PracticalPractical 1 · describing survival data45 min
- 05QuizTime at risk, and what you declared it to be6 min
Describing survival
- 06OperateRates, survival and the Kaplan-Meier estimator12 min
- 07ReadComparing survival between groups10 min
- 08ReadHazard and cumulative hazard12 min
- 09PracticalPractical 2 · Kaplan-Meier and the log-rank test45 min
- 10QuizWhat the curve says, and what the test does not6 min
Models
- 11ReadParametric survival models14 min
- 12ReadCox's proportional hazards model16 min
- 13PracticalPractical 3 · fitting and interpreting a Cox model1.0 h
- 14QuizTwo models, and the price of each6 min
Assumptions
Self-paced · On demand
Free
Access for 12 months
Assessed track available alongside the open one. Three attempts at each practical, and a credential you can link to.
Start the courseFree to start, and free to finish. No card.
What this course contains
- Self-paced: start when you like and work through it in your own time.
- 10 reading lessons, no video.
- 4 practicals, marked on your own data.
- 4 quizzes.
Ways to take this course
- LearnFree
- CertifiedFee announced with the date
- TeamOn request
The data
The listings open these. Sign in to download them, once, into the directory you run from.
survival — the course dataset 12 KB
Interested in a live run of this course?
This course is free to work through on your own. We also run it live, and design bespoke versions for teams.
