Library Header Image
LSE Research Online LSE Library Services

Data generation for the Cox proportional hazards model with time-dependent covariates: A method for medical researchers

Hendry, David J. (2013) Data generation for the Cox proportional hazards model with time-dependent covariates: A method for medical researchers. Statistics in Medicine, 33 (3). pp. 436-454. ISSN 0277-6715

Text - Accepted Version
Download (13MB) | Preview
Identification Number: 10.1002/sim.5945


The proliferation of longitudinal studies has increased the importance of statistical methods for time-to-event data that can incorporate time-dependent covariates. The Cox proportional hazards model is one such method that is widely used. As more extensions of the Cox model with time-dependent covariates are developed, simulations studies will grow in importance as well. An essential starting point for simulation studies of time-to-event models is the ability to produce simulated survival times from a known data generating process. This paper develops a method for the generation of survival times that follow a Cox proportional hazards model with time-dependent covariates. The method presented relies on a simple transformation of random variables generated according to a truncated piecewise exponential distribution, and allows practitioners great flexibility and control over both the number of time-dependent covariates and the number of time periods in the duration of follow-up measurement. Within this framework, an additional argument is suggested that allows researchers to generate time-to-event data in which covariates change at integer-valued steps of the time scale. The purpose of this approach is to produce data for simulation experiments that mimic the types of data structures applied researchers encounter when using longitudinal biomedical data. Validity is assessed in a set of simulation experiments and results indicate that the proposed procedure performs well in producing data that conform to the assumptions of the Cox proportional hazards model.

Item Type: Article
Official URL:
Additional Information: © 2013 John Wiley & Sons, Ltd.
Divisions: Methodology
Subjects: Q Science > QA Mathematics
Date Deposited: 30 Oct 2017 09:09
Last Modified: 16 May 2024 01:46

Actions (login required)

View Item View Item


Downloads per month over past year

View more statistics