Item Details

Replication Data for: Simulating Duration Data for the Cox Model

Harden, Jeffrey J.; Kropko, Jonathan
Computer Resource; Online; Dataset
Harden, Jeffrey J.
Kropko, Jonathan
Harden, Jeffrey J
The Cox proportional hazards model is a popular method for duration analysis that is frequently the subject of simulation studies. However, no standard method exists for simulating durations directly from its data generating process because it does not assume a distributional form for the baseline hazard function. Instead, simulation studies typically rely on parametric survival distributions, which contradicts the primary motivation for employing the Cox model. We propose a method that generates a baseline hazard function at random by fitting a cubic spline to randomly-drawn points. Durations drawn from this function match the Cox model's inherent flexibility and improve the simulation's generalizability. The method can be extended to include time-varying covariates and non-proportional hazards.
Date Received
Harden, Jeffrey J., University of Notre Dame, 2018
Logo for Copyright Not EvaluatedCopyright Not Evaluated


Access Online