Learn R Programming

BoomSpikeSlab (version 1.2.6)

MCMC for Spike and Slab Regression

Description

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 for an explanation of the Gaussian case.

Copy Link

Version

Install

install.packages('BoomSpikeSlab')

Monthly Downloads

6,645

Version

1.2.6

License

LGPL-2.1 | file LICENSE

Maintainer

Steven Scott

Last Published

December 17th, 2023

Functions in BoomSpikeSlab (1.2.6)

independent.student.spike.slab.prior

Spike and Slab Prior for Regressions with Student T Errors
plot.coefficients

Plot Coefficients.
plot.BayesNnet

Plot a Bayesian Neural Network
plot.logit.spike.fit.summary

Plot Logit or Probit Fit Summary
partial.dependence.plot

Plot a Bayesian Neural Network
nnet

Bayesian Feed Forward Neural Networks
model.matrix

GetPredictorMatrix
plot.logit.spike.residuals

Residual plot for logit.spike objects.
plot.lm.spike

Plot the results of a spike and slab regression.
logit.spike

Spike and slab logistic regression
plot.lm.spike.fit

Predicted vs actual plot for lm.spike.
predict.lm.spike

Predictions using spike-and-slab regression.
plot.poisson.spike

Plot a poisson.spike object
plot.marginal.inclusion.probabilities

Plot marginal inclusion probabilities.
plot.lm.spike.residuals

Residual plot for lm.spike
plot.logit.spike

Plot a logit.spike object
PlotModelSize

Plot a distribution of model size
print.summary.lm.spike

Print method for spikeslab objects.
spike.slab.glm.prior

Zellner Prior for Glm's.
probit.spike

Spike and slab probit regression
poisson.spike

Spike and slab Poisson regression
poisson.zellner.prior

Zellner Prior for Poisson Regression
spike.slab.prior

Create a spike and slab prior for use with lm.spike.
student.spike.slab.prior

Spike and Slab Prior for Student-T Regression
qreg.spike

Quantile Regression
residuals.lm.spike

Extract lm.spike Residuals
shrinkage.regression

Shrinking Regression Coefficients
summary.logit.spike

Numerical summaries of the results from a spike and slab logistic regression.
plot.qreg.spike

Plot the results of a spike and slab regression.
suggest.burn

Suggest Burn-in
spike.slab.prior.base

Base class for spike and slab priors
SummarizeSpikeSlabCoefficients

Numerical summaries of coefficients from a spike and slab regression.
summary.lm.spike

Numerical summaries of the results from a spike and slab regression.
spliunes

Spline Basis Expansions
mlm.spike.slab.prior

Create a spike and slab prior for use with mlm.spike.
independent.spike.slab.prior

A spike and slab prior assuming a priori independence.
logit.zellner.prior

Zellner Prior for Logistic Regression
lm.spike

Spike and slab regression
mlm.spike

Spike and slab multinomial logistic regression
nested.regression

Nested Regression
model.matrix.glm.spike

Construct Design Matrices