Source: http://mribatet.perso.math.cnrs.fr/docs/StatApp/survival.pdf