bshazard-package {bshazard}R Documentation

Nonparametric Smoothing of the Hazard Function

Description

The function estimates the hazard function non parametrically from a survival object (possibly adjusted for covariates). The smoothed estimate is based on B-splines from the perspective of generalized linear mixed models. Left truncated and right censoring data are allowed.

Details

The DESCRIPTION file:

Package: bshazard
Type: Package
Title: Nonparametric Smoothing of the Hazard Function
Version: 1.1
Date: 2018-05-25
Author: Paola Rebora,Agus Salim, Marie Reilly
Maintainer: Paola Rebora <paola.rebora@unimib.it>
Depends: R(>= 3.3.3),splines,survival,Epi
Description: The function estimates the hazard function non parametrically from a survival object (possibly adjusted for covariates). The smoothed estimate is based on B-splines from the perspective of generalized linear mixed models. Left truncated and right censoring data are allowed.
License: GPL-2
RoxygenNote: 6.0.1

Index of help topics:

bshazard                Nonparametric Smoothing of the Hazard Function
bshazard-package        Nonparametric Smoothing of the Hazard Function
bspois.basic            Functions for internal use of bshazard
plot.bshazard           Plot Method for 'bshazard'
print.bshazard          Print a short summary of the hazard rate
summary.bshazard        Summary of hazard curve

Author(s)

Paola Rebora, Agus Salim, Marie Reilly Maintainer: Paola Rebora <paola.rebora@unimib.it>

References

Rebora P, Salim A, Reilly M (2014) bshazard: A Flexible Tool for Nonparametric Smoothing of the Hazard Function.The R Journal Vol. 6/2:114-122.

Lee Y, Nelder JA, Pawitan Y (2006). Generalized Linear Models with Random Effects: Unified Analysis via H-likelihood, volume 106. Chapman & Hall/CRC.

Pawitan Y (2001). In All Likelihood: Statistical Modelling and Inference Using Likelihood. Oxford University Press

Examples

data(lung,package="survival")
  fit<-bshazard(Surv(time, status==2) ~ 1,data=lung)
  plot(fit)

[Package bshazard version 1.1 Index]