Skip to content

BoomSpikeSlab

1.2.7Package record

MCMC for Spike and Slab Regression

2packages depend
35.3Kdownloads / year
73.9%test coverage
13/13flavors OK

Overview

About

Spike and slab regression with a variety of residual error distributions corresponding to Gaussian, Student T, probit, logit, SVM, and a few others. Spike and slab regression is Bayesian regression with prior distributions containing a point mass at zero. The posterior updates the amount of mass on this point, leading to a posterior distribution that is actually sparse, in the sense that if you sample from it many coefficients are actually zeros. Sampling from this posterior distribution is an elegant way to handle Bayesian variable selection and model averaging. See DOI:10.1504/IJMMNO.2014.059942 for an explanation of the Gaussian case.

Install

Health

CRAN checks
13OK
Slowest check: 5.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-30
  • NOTE12 OK, 1 NOTE2026-07-29
  • OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.2.7
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
41
Examples that run
86%25 run in a plain check (2 of them under a condition) · 4 hold no code
Exported functions with examples
70%
Documented parameters
81%
Return-value docs
75%
Help pages citing references
39%

Downloads

35.3K
CRAN downloads in the past year
Rank #1,942 · ~97/day · ~2.9K/mo
Daily download trend is not available in this view yet.
4K30 days
9.7K90 days
35.3K1 year
Compare downloads with other packages →
Also on2.1K r2u54 autocran9.7K conda_forge622 c2d4u

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing BoomSpikeSlab adds 1 package (1 with compiled code, 2.5 MB of source tarballs). Heaviest: Boom 2.5 MB.

Depends (2)
R >= 4.5.0Boom
Imports (0)
none
LinkingTo (1)
Suggests (4)
Enhances (0)
none
Reverse dependencies
2direct
6indirect
Depends 1 · Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 0.4.1 (2014)
Listed in earlier versions (1)
Scott
no longer listed · 1.2.7
Releases (18)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.7Latest
    record
    2025-09-04 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2.6
    record
    2023-12-17 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.5
    record
    2022-05-26 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.2.4
    record
    2021-04-06 · diff ↗ ·
    added 1 export
    PlotLmSpikeFit
  • 1.2.3
    record
    2020-05-01 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2.2
    record
    2020-03-31 · diff ↗
  • 1.2.1
    record
    2019-09-04 · diff ↗ ·
    added 4 exports
    BsplineBasis, IsplineBasis, knots, MsplineBasis
  • 1.1.1
    record
    2019-06-07 · diff ↗ ·
    added 1 export
    ConditionalZellnerPrior
  • 1.1.0
    record
    2019-05-18 · diff ↗ ·
    added 12 exports
    BayesNnet, HiddenLayer, OdaOptions, PartialDependencePlot, PlotBayesNnetPredictions, PlotBayesNnetResiduals, PlotNetworkStructure, SpikeSlabGlmPriorDirect, SpikeSlabPriorDirect, SsvsOptions, SuggestBurn, predict.BayesNnet
Show 15 earlier eventsHide 15 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.0
    record
    2018-04-30 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.9.0
    record
    2017-05-28 · diff ↗ ·
    added 3 exports
    CoefficientGroup, NestedRegression, ShrinkageRegression
  • R
    R 3.4.0 released · 2017-04-21
  • 0.8.0
    record
    2017-04-08 · diff ↗ ·
    added 5 exports
    plot.logit.spike, plot.qreg.spike, plot.poisson.spike, predict.qreg.spike, qreg.spike
  • 0.7.0
    record
    2016-08-18 · diff ↗ ·
    removed 1 export
    print.summary.lm.spike
    added 6 exports
    PlotProbitSpikeResiduals, predict.logit.spike, predict.probit.spike, probit.spike, summary.logit.spike, summary.probit.spike
  • 0.6.0
    record
    2016-05-21 · diff ↗ ·
    added 4 exports
    PlotLmSpikeCoefficients, PlotLmSpikeResiduals, model.matrix.glm.spike, residuals.lm.spike
  • R
    R 3.3.0 released · 2016-05-03
  • 0.5.3
    record
    2016-03-15 · diff ↗ ·
    added 6 exports
    GetPredictorMatrix, LogitZellnerPrior, PoissonZellnerPrior, SpikeSlabGlmPrior, StudentIndependentSpikeSlabPrior, StudentSpikeSlabPrior
  • R
    R 3.2.0 released · 2015-04-16
  • 0.5.2
    record
    2014-12-04 · diff ↗
  • 0.5.1
    record
    2014-12-03 · diff ↗ ·
    added 5 exports
    poisson.spike, PlotLogitSpikeFitSummary, PlotLogitSpikeResiduals, PlotMarginalInclusionProbabilities, predict.poisson.spike
  • 0.4.1
    record
    2014-06-24
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-06-24
Total releases
18 / 12 yrs
License
LGPL-2.1 | file LICENSE OSI
Minimum R
≥ 4.5.0
Download size
129 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BoomSpikeSlab")
Scott, S. L. (2025). BoomSpikeSlab: MCMC for Spike and Slab Regression (Version 1.2.7) [Computer software]. https://doi.org/10.32614/CRAN.package.BoomSpikeSlab

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for BoomSpikeSlab version 1.2.7 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy