Statistics for Bayesian nonparametric survival analysis