Data generation for the Cox proportional hazards model with time‐dependent covariates: a method for medical researchers
Abstract
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 that 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. Copyright © 2013 John Wiley & Sons, Ltd.
Citing Literature
Number of times cited according to CrossRef: 12
- Laurens Deprez, Katrien Antonio, Robert Boute, Pricing service maintenance contracts using predictive analytics, European Journal of Operational Research, 10.1016/j.ejor.2020.08.022, (2020).
- Yunda Huang, Yuanyuan Zhang, Zong Zhang, Peter B. Gilbert, Generating Survival Times Using Cox Proportional Hazards Models with Cyclic and Piecewise Time-Varying Covariates, Statistics in Biosciences, 10.1007/s12561-020-09266-3, (2020).
- Tobias Bluhmki, Hein Putter, Arthur Allignol, Jan Beyersmann, Bootstrapping complex time‐to‐event data without individual patient data, with a view toward time‐dependent exposures, Statistics in Medicine, 10.1002/sim.8177, 38, 20, (3747-3763), (2019).
- Julius S. Ngwa, Howard J. Cabral, Debbie M. Cheng, David R. Gagnon, Michael P. LaValley, L. Adrienne Cupples, Generating survival times with time-varying covariates using the Lambert W Function, Communications in Statistics - Simulation and Computation, 10.1080/03610918.2019.1648822, (1-19), (2019).
- Lu You, Peihua Qiu, An Effective Method for Online Disease Risk Monitoring, Technometrics, 10.1080/00401706.2019.1625813, (1-31), (2019).
- Sabine Hoffmann, Dominique Laurier, Estelle Rage, Chantal Guihenneuc, Sophie Ancelet, Shared and unshared exposure measurement error in occupational cohort studies and their effects on statistical inference in proportional hazards models, PLOS ONE, 10.1371/journal.pone.0190792, 13, 2, (e0190792), (2018).
- Jeffrey J. Harden, Jonathan Kropko, Simulating Duration Data for the Cox Model, Political Science Research and Methods, 10.1017/psrm.2018.19, (1-8), (2018).
- Alessandro Beretta, Cédric Heuchenne, Variable selection in proportional hazards cure model with time-varying covariates, application to US bank failures, Journal of Applied Statistics, 10.1080/02664763.2018.1554627, (1-21), (2018).
- Sabine Hoffmann, Estelle Rage, Dominique Laurier, Pierre Laroche, Chantal Guihenneuc, Sophie Ancelet, Accounting for Berkson and Classical Measurement Error in Radon Exposure Using a Bayesian Structural Approach in the Analysis of Lung Cancer Mortality in the French Cohort of Uranium Miners, Radiation Research, 10.1667/RR14467.1, 187, 2, (196), (2017).
- Maria E Montez-Rath, Kristopher Kapphahn, Maya B Mathur, Aya A Mitani, David J Hendry, Manisha Desai, Guidelines for generating right-censored outcomes from a Cox model extended to accommodate time-varying covariates, Journal of Modern Applied Statistical Methods, 10.22237/jmasm/1493597100, 16, 1, (86-106), (2017).
- Fei Wan, Simulating survival data with predefined censoring rates for proportional hazards models, Statistics in Medicine, 10.1002/sim.7178, 36, 5, (838-854), (2016).
- Sunhee Park, David J. Hendry, Reassessing Schoenfeld Residual Tests of Proportional Hazards in Political Science Event History Analyses, American Journal of Political Science, 10.1111/ajps.12176, 59, 4, (1072-1087), (2015).




