Other packages > Find by keyword >

BSGW  

Bayesian Survival Model with Lasso Shrinkage Using Generalized Weibull Regression
View on CRAN: Click here


Download and install BSGW package within the R console
Install from CRAN:
install.packages("BSGW")

Install from Github:
library("remotes")
install_github("cran/BSGW")

Install by package version:
library("remotes")
install_version("BSGW", "0.9.4")



Attach the package and use:
library("BSGW")
Maintained by
Alireza S. Mahani
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2014-10-12
Latest Update: 2022-12-12
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.
How to cite:
Alireza S. Mahani (2014). BSGW: Bayesian Survival Model with Lasso Shrinkage Using Generalized Weibull Regression. R package version 0.9.4, https://cran.r-project.org/web/packages/BSGW. Accessed 05 Jun. 2026.
Previous versions and publish date:
0.9.1 (2015-09-07 08:45), 0.9.2 (2016-09-21 08:06), 0.9 (2014-10-12 02:02)
Other packages that cited BSGW R package
View BSGW citation profile
Other R packages that BSGW depends, imports, suggests or enhances
Complete documentation for BSGW
Functions, R codes and Examples using the BSGW R package
Some associated functions: bsgw . crossval_bsgw . plot_bsgw . predict_bsgw . summary_bsgw . 
Some associated R codes: BSGW.R . Sample.R . utils.R . zzz.R .  Full BSGW package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA