Data generation for the Cox proportional hazards model with time-dependent covariates: a method for medical researchers
- PMID: 24014094
- DOI: 10.1002/sim.5945
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.
Keywords: Cox proportional hazards model; simulations; survival analysis; time-dependent covariates; truncated piecewise exponential distribution.
Copyright © 2013 John Wiley & Sons, Ltd.
Similar articles
-
Piecewise exponential survival trees with time-dependent covariates.Biometrics. 1998 Dec;54(4):1420-33. Biometrics. 1998. PMID: 9883542
-
Generating survival times to simulate Cox proportional hazards models.Stat Med. 2005 Jun 15;24(11):1713-23. doi: 10.1002/sim.2059. Stat Med. 2005. PMID: 15724232
-
Time-dependent covariates in the proportional subdistribution hazards model for competing risks.Biostatistics. 2008 Oct;9(4):765-76. doi: 10.1093/biostatistics/kxn009. Epub 2008 Apr 22. Biostatistics. 2008. PMID: 18434297
-
Time-dependent covariates in the Cox proportional-hazards regression model.Annu Rev Public Health. 1999;20:145-57. doi: 10.1146/annurev.publhealth.20.1.145. Annu Rev Public Health. 1999. PMID: 10352854 Review.
-
Model diagnostics for the proportional hazards model with length-biased data.Lifetime Data Anal. 2019 Jan;25(1):79-96. doi: 10.1007/s10985-018-9422-y. Epub 2018 Feb 16. Lifetime Data Anal. 2019. PMID: 29450809 Free PMC article. Review.
Cited by
-
Shared and unshared exposure measurement error in occupational cohort studies and their effects on statistical inference in proportional hazards models.PLoS One. 2018 Feb 6;13(2):e0190792. doi: 10.1371/journal.pone.0190792. eCollection 2018. PLoS One. 2018. PMID: 29408862 Free PMC article.
-
Scalable log-ratio lasso regression for enhanced microbial feature selection with FLORAL.Cell Rep Methods. 2024 Nov 18;4(11):100899. doi: 10.1016/j.crmeth.2024.100899. Epub 2024 Nov 7. Cell Rep Methods. 2024. PMID: 39515336 Free PMC article.
-
GENERATING SURVIVAL TIMES WITH TIME-VARYING COVARIATES USING THE LAMBERT W FUNCTION.Commun Stat Simul Comput. 2019;2019:10.1080/03610918.2019.1648822. doi: 10.1080/03610918.2019.1648822. Epub 2019 Aug 8. Commun Stat Simul Comput. 2019. PMID: 33311841 Free PMC article.
-
Bootstrapping complex time-to-event data without individual patient data, with a view toward time-dependent exposures.Stat Med. 2019 Sep 10;38(20):3747-3763. doi: 10.1002/sim.8177. Epub 2019 Jun 4. Stat Med. 2019. PMID: 31162707 Free PMC article.
-
Variable selection in mixture cure models using elastic net penalty: application to COVID-19 data.PLoS One. 2025 May 7;20(5):e0320521. doi: 10.1371/journal.pone.0320521. eCollection 2025. PLoS One. 2025. PMID: 40334231 Free PMC article.
MeSH terms
LinkOut - more resources
Other Literature Sources
Research Materials