Learn R Programming

BSGW (version 0.9.4)

Bayesian Survival Model with Lasso Shrinkage Using Generalized Weibull Regression

Description

Bayesian survival model using Weibull regression on both scale and shape parameters. Dependence of shape parameter on covariates permits deviation from proportional-hazard assumption, leading to dynamic - i.e. non-constant with time - hazard ratios between subjects. Bayesian Lasso shrinkage in the form of two Laplace priors - one for scale and one for shape coefficients - allows for many covariates to be included. Cross-validation helper functions can be used to tune the shrinkage parameters. Monte Carlo Markov Chain (MCMC) sampling using a Gibbs wrapper around Radford Neal's univariate slice sampler (R package MfUSampler) is used for coefficient estimation.

Copy Link

Version

Install

install.packages('BSGW')

Monthly Downloads

252

Version

0.9.4

License

GPL (>= 2)

Maintainer

Alireza Mahani

Last Published

December 12th, 2022

Functions in BSGW (0.9.4)

summary.bsgw

Summarizing Bayesian Survival Generalized Weibull (BSGW) model fits
plot.bsgw

Plot diagnostics for a bsgw object
bsgw

Bayesian Survival using Generalized Weibull Regression
predict.bsgw

Predict method for bsgw model fits
bsgw.crossval

Convenience functions for cross-validation-based selection of shrinkage parameter in the bsgw model.