Gravar-mail: Semiparametric analysis of recurrent events: artificial censoring, truncation, pairwise estimation and inference