Chapter 8 Survival analysis

8.1 Introduction

8.2 Censoring

8.3 Survival and hazard functions

8.4 Setting up the dataset

8.5 Kaplan-Meier estimate of the survival function

8.6 Cox regression

8.6.1 Fitting the Cox regression model

8.6.2 Estimating the survival function

8.6.3 Interactions

8.6.4 Prediction

8.6.5 Separation

8.6.6 Time dependent covariates

8.6.7 Proportional hazards assumption

8.6.8 Diagnostics

8.6.9 Writing it up

8.7 Steps of survival analysis