Some assumptions must be made to be able to use the information available from the database. We will first summarize the steps in estimating the parameters of a simplified model where it is possible to distinguish each event. Then, by introducing data censorship and explanatory variables, the model will be adapted and generalized.