Learn R Programming

⚠️There's a newer version (1.2.6) of this package.Take me there.

BoomSpikeSlab (version 1.2.3)

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

3,761

Version

1.2.3

License

LGPL-2.1 | file LICENSE

Maintainer

Steven Scott

Last Published

May 1st, 2020

Functions in BoomSpikeSlab (1.2.3)

logit.zellner.prior

Zellner Prior for Logistic Regression
independent.student.spike.slab.prior

Spike and Slab Prior for Regressions with Student T Errors
lm.spike

Spike and slab regression
model.matrix

GetPredictorMatrix
independent.spike.slab.prior

A spike and slab prior assuming a priori independence.
nested.regression

Nested Regression
mlm.spike.slab.prior

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

Spike and slab multinomial logistic regression
model.matrix.glm.spike

Construct Design Matrices
predict.lm.spike

Predictions using spike-and-slab regression.
poisson.zellner.prior

Zellner Prior for Poisson Regression
plot.BayesNnet

Plot a Bayesian Neural Network
plot.logit.spike

shrinkage.regression

Shrinking Regression Coefficients
plot.logit.spike.fit.summary

Plot Logit or Probit Fit Summary
nnet

Bayesian Feed Forward Neural Networks
logit.spike

Spike and slab logistic regression
partial.dependence.plot

Plot a Bayesian Neural Network
qreg.spike

Quantile Regression
plot.coefficients

Plot Coefficients.
residuals.lm.spike

Extract lm.spike Residuals
plot.marginal.inclusion.probabilities

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

summary.lm.spike

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

Suggest Burn-in
print.summary.lm.spike

Print method for spikeslab objects.
plot.lm.spike

Plot the results of a spike and slab regression.
plot.poisson.spike

summary.logit.spike

Numerical summaries of the results from a spike and slab logistic regression.
spike.slab.glm.prior

Zellner Prior for Glm's.
PlotModelSize

Plot a distribution of model size
plot.qreg.spike

Plot the results of a spike and slab regression.
spike.slab.prior.base

Base class for spike and slab priors
plot.lm.spike.residuals

Residual plot for lm.spike
poisson.spike

Spike and slab Poisson regression
SummarizeSpikeSlabCoefficients

Numerical summaries of coefficients from a spike and slab regression.
spike.slab.prior

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

Spike and slab probit regression
student.spike.slab.prior

Spike and Slab Prior for Student-T Regression
spliunes

Spline Basis Expansions