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 06 Aug. 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

TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
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  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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