The hazard function is a key component in the inferential process in survival analysis and relevant for describing the pattern of failures. However, it is rarely shown in research papers due to the difficulties in nonparametric estimation. We developed the bshazard package to facilitate the computation of a nonparametric estimate of the hazard function, with data-driven smoothing. The method accounts for left truncation, right censoring and possible covariates. B-splines are used to estimate the shape of the hazard within the generalized linear mixed models framework. Smoothness is controlled by imposing an autoregressive structure on the baseline hazard coefficients. This perspective allows an 'automatic' smoothing by avoiding the need to choose the smoothing parameter, which is estimated from the data as a dispersion parameter. A simulation study demonstrates the capability of our software and an application to estimate the hazard of Non-Hodgkin's lymphoma in Swedish population data shows its potential.

Rebora, P., Salim, A., Reilly, M. (2014). Bshazard: A flexible tool for nonparametric smoothing of the hazard function. THE R JOURNAL, 6(2), 114-122 [10.32614/rj-2014-028].

Bshazard: A flexible tool for nonparametric smoothing of the hazard function

REBORA, PAOLA
Primo
;
2014

Abstract

The hazard function is a key component in the inferential process in survival analysis and relevant for describing the pattern of failures. However, it is rarely shown in research papers due to the difficulties in nonparametric estimation. We developed the bshazard package to facilitate the computation of a nonparametric estimate of the hazard function, with data-driven smoothing. The method accounts for left truncation, right censoring and possible covariates. B-splines are used to estimate the shape of the hazard within the generalized linear mixed models framework. Smoothness is controlled by imposing an autoregressive structure on the baseline hazard coefficients. This perspective allows an 'automatic' smoothing by avoiding the need to choose the smoothing parameter, which is estimated from the data as a dispersion parameter. A simulation study demonstrates the capability of our software and an application to estimate the hazard of Non-Hodgkin's lymphoma in Swedish population data shows its potential.
Articolo in rivista - Articolo scientifico
Statistics and Probability; Numerical Analysis; Statistics, Probability and Uncertainty
English
2014
6
2
114
122
open
Rebora, P., Salim, A., Reilly, M. (2014). Bshazard: A flexible tool for nonparametric smoothing of the hazard function. THE R JOURNAL, 6(2), 114-122 [10.32614/rj-2014-028].
File in questo prodotto:
File Dimensione Formato  
rebora-salim-reilly.pdf

accesso aperto

Dimensione 269.09 kB
Formato Adobe PDF
269.09 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/100641
Citazioni
  • Scopus 35
  • ???jsp.display-item.citation.isi??? 34
Social impact