Software

TwoTimeScales: Analysis of Event Data with Two Time Scales v1.0.0

Carollo, A., Eilers, P. H. C., Gampe, J.
The Comprehensive R Archive Network, CRAN (December 2024)
Open Source

Abstract

Analyse time to event data with two time scales by estimating a smooth hazard that varies over two time scales and also, if covariates are available, by estimating a proportional hazards model with such a two-dimensional baseline hazard. Functions are provided to prepare the raw data for estimation, to estimate and to plot the two-dimensional smooth hazard. Extension to a competing risks model are implemented. For details about the method please refer to Carollo et al. (2024) <doi:10.1002/sim.10297>.

Keywords: event history analysis, smoothing, statistical analysis
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.