Book Chapter

TwoTimeScales: an R-package for smoothing hazards with two time scales

Carollo, A., Eilers, P. H. C., Gampe, J., Putter, H.
In: Bergherr, E., Groll, A., Mayr, A. (Eds.): Proceedings of the 37th International Workshop on Statistical Modelling: Dortmund, Germany, 17-21 July, 2023, 390–393
Dortmund, TU Dortmund University (2023)
Open Access

Abstract

We introduce the R-package TwoTimeScales for the analysis of time to event data with two time scales. The package provides tools to estimate a smooth hazard that varies over two time scales and also, if covariates are available, to estimate a proportional hazards model with such a two-dimensional baseline hazard. We describe the features of the package and illustrate options for presentation of results. As an example we analyse mortality of patients with a recurrence of colon cancer.

Max-Planck-Gesellschaft - Logo
The Max Planck Institute for Demographic Research (MPIDR) in Rostock is one of the leading demographic research centers in the world. It's part of the Max Planck Society, the internationally renowned German research society.