Title: Semiparametric estimation of duration and competing risk models