sksurv.nonparametric.nelson_aalen_estimator

sksurv.nonparametric.nelson_aalen_estimator(event, time)[source]

Nelson-Aalen estimator of cumulative hazard function.

See [1], [2] for further description.

Parameters:
  • event (array-like, shape = (n_samples,)) – Contains binary event indicators.
  • time (array-like, shape = (n_samples,)) – Contains event/censoring times.
Returns:

  • time (array, shape = (n_times,)) – Unique times.
  • cum_hazard (array, shape = (n_times,)) – Cumulative hazard at each unique time point.

References

[1]Nelson, W., “Theory and applications of hazard plotting for censored failure data”, Technometrics, vol. 14, pp. 945-965, 1972.
[2]Aalen, O. O., “Nonparametric inference for a family of counting processes”, Annals of Statistics, vol. 6, pp. 701–726, 1978.