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 27 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

BetterReg  
Better Statistics for OLS and Binomial Logistic Regression
Provides squared semi partial correlations, tolerance, Mahalanobis, Likelihood Ratio Chi Square, and ...
Download / Learn more Package Citations See dependency  
Bodi  
Boosting Diversity in Regression Ensembles
A gradient boosting-based algorithm by incorporating a diversity term to guide the gradient boosting ...
Download / Learn more Package Citations See dependency  
ROI.plugin.qpoases  
'qpOASES' Plugin for the 'R' Optimization Infrastructure
Enhances the 'R' Optimization Infrastructure ('ROI') package with the quadratic solver 'qpOASES'. M ...
Download / Learn more Package Citations See dependency  
risksetROC  
Riskset ROC Curve Estimation from Censored Survival Data
Compute time-dependent Incident/dynamic accuracy measures (ROC curve, AUC, integrated AUC )from cen ...
Download / Learn more Package Citations See dependency  
robustX  
'eXtra' / 'eXperimental' Functionality for Robust Statistics
Robustness -- 'eXperimental', 'eXtraneous', or 'eXtraordinary' Functionality for Robust Statistics. ...
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  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

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