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 15 Jul. 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), (2026-07-09 07:58)
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

SECFISH  
Disaggregate Variable Costs
These functions were developed within SECFISH project (Strengthening regional cooperation in the are ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
gscaLCA  
Generalized Structure Component Analysis- Latent Class Analysis & Latent Class Regression
Execute Latent Class Analysis (LCA) and Latent Class Regression (LCR) by using Generalized Structu ...
Download / Learn more Package Citations See dependency  
PermAlgo  
Permutational Algorithm to Simulate Survival Data
This version of the permutational algorithm generates a dataset in which event and censoring times ...
Download / Learn more Package Citations See dependency  
footBayes  
Fitting Bayesian and MLE Football Models
This is the first package allowing for the estimation, visualization and prediction of the most wel ...
Download / Learn more Package Citations See dependency  
binhf  
Haar-Fisz Functions for Binomial Data
Binomial Haar-Fisz transforms for Gaussianization as in Nunes and Nason (2009). ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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