Generating survival times to simulate Cox proportional hazards models with time-varying covariates
- PMID: 22763916
- PMCID: PMC3546387
- DOI: 10.1002/sim.5452
Generating survival times to simulate Cox proportional hazards models with time-varying covariates
Erratum in
- Stat Med. 2013 Mar 15;32(6):1078
Abstract
Simulations and Monte Carlo methods serve an important role in modern statistical research. They allow for an examination of the performance of statistical procedures in settings in which analytic and mathematical derivations may not be feasible. A key element in any statistical simulation is the existence of an appropriate data-generating process: one must be able to simulate data from a specified statistical model. We describe data-generating processes for the Cox proportional hazards model with time-varying covariates when event times follow an exponential, Weibull, or Gompertz distribution. We consider three types of time-varying covariates: first, a dichotomous time-varying covariate that can change at most once from untreated to treated (e.g., organ transplant); second, a continuous time-varying covariate such as cumulative exposure at a constant dose to radiation or to a pharmaceutical agent used for a chronic condition; third, a dichotomous time-varying covariate with a subject being able to move repeatedly between treatment states (e.g., current compliance or use of a medication). In each setting, we derive closed-form expressions that allow one to simulate survival times so that survival times are related to a vector of fixed or time-invariant covariates and to a single time-varying covariate. We illustrate the utility of our closed-form expressions for simulating event times by using Monte Carlo simulations to estimate the statistical power to detect as statistically significant the effect of different types of binary time-varying covariates. This is compared with the statistical power to detect as statistically significant a binary time-invariant covariate.
Copyright © 2012 John Wiley & Sons, Ltd.
Figures
Comment in
-
Comment on 'Generating survival times to simulate Cox proportional hazards models with time-varying covariates'.Stat Med. 2013 Feb 28;32(5):898. doi: 10.1002/sim.5697. Stat Med. 2013. PMID: 23390090 No abstract available.
Similar articles
-
Generating Survival Times Using Cox Proportional Hazards Models with Cyclic and Piecewise Time-Varying Covariates.Stat Biosci. 2020;12(3):324-339. doi: 10.1007/s12561-020-09266-3. Epub 2020 Jan 25. Stat Biosci. 2020. PMID: 32421033 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.
-
Comment on 'Generating survival times to simulate Cox proportional hazards models with time-varying covariates'.Stat Med. 2013 Feb 28;32(5):898. doi: 10.1002/sim.5697. Stat Med. 2013. PMID: 23390090 No abstract available.
-
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.
-
How are missing data in covariates handled in observational time-to-event studies in oncology? A systematic review.BMC Med Res Methodol. 2020 May 29;20(1):134. doi: 10.1186/s12874-020-01018-7. BMC Med Res Methodol. 2020. PMID: 32471366 Free PMC article.
Cited by
-
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.
-
Investigation of 2-stage meta-analysis methods for joint longitudinal and time-to-event data through simulation and real data application.Stat Med. 2018 Apr 15;37(8):1227-1244. doi: 10.1002/sim.7585. Epub 2017 Dec 18. Stat Med. 2018. PMID: 29250814 Free PMC article.
-
Jointly Modelling Single Nucleotide Polymorphisms With Longitudinal and Time-to-Event Trait: An Application to Type 2 Diabetes and Fasting Plasma Glucose.Front Genet. 2018 Jun 14;9:210. doi: 10.3389/fgene.2018.00210. eCollection 2018. Front Genet. 2018. PMID: 29963075 Free PMC article.
-
Azithromycin Use and Increased Cancer Risk among Patients with Bronchiolitis Obliterans after Hematopoietic Cell Transplantation.Biol Blood Marrow Transplant. 2020 Feb;26(2):392-400. doi: 10.1016/j.bbmt.2019.10.025. Epub 2019 Nov 1. Biol Blood Marrow Transplant. 2020. PMID: 31682980 Free PMC article.
-
An improved method for the effect estimation of the intermediate event on the outcome based on the susceptible pre-identification.BMC Med Res Methodol. 2021 Sep 21;21(1):192. doi: 10.1186/s12874-021-01378-8. BMC Med Res Methodol. 2021. PMID: 34548029 Free PMC article.
References
-
- Leemis LM. Variate generation for accelerated life and proportional hazards models. Operations Research. 1987;35:892–894.
-
- Bender R, Augustin T, Blettner M. Generating survival times to simulate Cox proportional hazards models. Statistics in Medicine. 2005;24(11):1713–1723. - PubMed
-
- Cox D. Regression models and life tables (with discussion) Journal of the Royal Statistical Society - Series B. 1972;34:187–220.
-
- Therneau TM, Grambsch PM. Modeling Survival Data: Extending the Cox Model. New York: Springer-Verlag; 2000.
-
- Suissa S. Immortal time bias in pharmacoepidemiology. American Journal of Epidemiology. 2007;167(4):492–499. - PubMed
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Medical