sparsevb: Spike-and-Slab Variational Bayes for Linear and Logistic Regression

Implements variational Bayesian algorithms to perform scalable variable selection for sparse, high-dimensional linear and logistic regression models. Features include a novel prioritized updating scheme, which uses a preliminary estimator of the variational means during initialization to generate an updating order prioritizing large, more relevant, coefficients. Sparsity is induced via spike-and-slab priors with either Laplace or Gaussian slabs. By default, the heavier-tailed Laplace density is used. Formal derivations of the algorithms and asymptotic consistency results may be found in Kolyan Ray and Botond Szabo (JASA 2020) and Kolyan Ray, Botond Szabo, and Gabriel Clara (NeurIPS 2020).

Package details

AuthorGabriel Clara [aut, cre], Botond Szabo [aut], Kolyan Ray [aut]
MaintainerGabriel Clara <gabriel.j.clara@gmail.com>
LicenseGPL (>= 3)
Version0.1.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("sparsevb")

Try the sparsevb package in your browser

Any scripts or data that you put into this service are public.

sparsevb documentation built on April 3, 2025, 7:40 p.m.