Volume 33, Issue 3
Research Article

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

David J. Hendry

Corresponding Author

Center for the Study of American Politics, Institution for Social and Policy Studies, Yale University, New Haven, CT 06520‐8209, U.S.A.

Correspondence to: David J. Hendry, Center for the Study of American Politics, Institution for Social and Policy Studies, Yale University, PO Box 208209, New Haven, CT 06520‐8209, U.S.A.

E‐mail: david.hendry@yale.edu

Search for more papers by this author
First published: 09 September 2013
Citations: 12

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.

Number of times cited according to CrossRef: 12

  • Pricing service maintenance contracts using predictive analytics, European Journal of Operational Research, 10.1016/j.ejor.2020.08.022, (2020).
  • 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).
  • 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).
  • 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).
  • An Effective Method for Online Disease Risk Monitoring, Technometrics, 10.1080/00401706.2019.1625813, (1-31), (2019).
  • 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).
  • Simulating Duration Data for the Cox Model, Political Science Research and Methods, 10.1017/psrm.2018.19, (1-8), (2018).
  • 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).
  • 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).
  • 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).
  • Simulating survival data with predefined censoring rates for proportional hazards models, Statistics in Medicine, 10.1002/sim.7178, 36, 5, (838-854), (2016).
  • 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).

The full text of this article hosted at iucr.org is unavailable due to technical difficulties.