MPIDR Technical Report

Example for a piecewise constant hazard data simulation in R

MPIDR Technical Report TR-2010-003, 9 pages.
Rostock, Max-Planck-Institut für demografische Forschung (Mai 2010)


Computer simulation may help to improve our knowledge about statistics. In event-history analysis, we prefer to use the hazard function instead of the distribution function of the random variable time-to-event. In this paper, we provide a proof-of-concept that may be used to derive random times following a piecewise constant hazard function. We use the statistical software package R. (Keywords: Demography, event-history analysis, hazard function, computer simulation)
Das Max-Planck-Institut für demografische Forschung (MPIDR) in Rostock ist eines der international führenden Zentren für Bevölkerungswissenschaft. Es gehört zur Max-Planck-Gesellschaft, einer der weltweit renommiertesten Forschungsgemeinschaften.