Learn R Programming

SemiCompRisks (version 2.0)

SemiCompRisks-package: Algorithms for fitting parametric and semi-parametric models to semi-competing risks data / univariate survival data.

Description

The package provides a Bayesian framework to perform the analysis of semi-competing risks or univariate survival data. The framework is flexible in the sense that: 1) it can handle cluster-correlated or independent data; 2) the option to choose between parametric (Weibull) and semi-parametric (mixture of piecewise exponential) prior specification for baseline hazard function(s) is available; 3) for clustered data, the option to choose between parametric (multivariate Normal for semicompeting risks data, Normal for univariate survival data) and semi-parametric (Dirichlet process mixture) prior specification for random effects distribution is available; 4) for semi-competing risks data, the option to choose between Makov and semi-Makov model is available.

Arguments

Details

The package includes following functions: ll{ BayesID Bayesian analysis of independent semi-competing risks data BayesIDcor Bayesian analysis of cluster-correlated semi-competing risks data BayesSurv Bayesian analysis of independent univariate survival data BayesSurvcor Bayesian analysis of cluster-correlated univariate survival data ehr The function to calculate the conditional explanatory hazard ratio (EHR) simID The function to simulate semi-competing risks data under Weibull model simSurv The function to simulate right censored survival data under Weibull model } ll{ Package: SemiCompRisks Type: Package Version: 2.0 Date: 2015-1-21 License: GPL (>= 2) LazyLoad: yes }

References

Lee, K. H., Haneuse, S., Schrag, D., and Dominici, F. (2014), Bayesian semiparametric analysis of semicompeting risks data: investigating hospital readmission after a pancreatic cancer diagnosis, Journal of the Royal Statistical Society: Series C, in press. Lee, K. H., Dominici, F., Schrag, D., and Haneuse, S., Hierarchical models for cluster-correlated semicompeting risks data with application to quality of end-of-life care for pancreatic cancer, arXiv:1502.00526; submitted.