Learn R Programming

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

BAS (version 0.4)

Bayesian Model Averaging using Bayesian Adaptive Sampling

Description

Package for Bayesian Model Averaging in linear models using stochastic or deterministic sampling without replacement from posterior distributions. Prior distributions on coefficients are from Zellner's g-prior or mixtures of g-priors corresponding to the Zellner-Siow Cauchy Priors or the Liang et al hyper-g priors (JASA 2008). Other model selection criterian include AIC and BIC. Sampling probabilities may be updated based on the sampled models. Allows uniform or beta-binomial prior distributions on models.

Copy Link

Version

Install

install.packages('BAS')

Monthly Downloads

1,886

Version

0.4

License

GPL (>= 2)

Maintainer

Merlise Clyde

Last Published

December 28th, 2009

Functions in BAS (0.4)

Bernoulli

Independent Bernoulli Prior Distribution for Models
BAS-package

Bayesian Model Averaging using Bayesian Adaptive Sampling
fitted.bma

Fitted values for a BMA objects
coef.bma

Coefficients of a Bayesian Model Average object
Hald

Hald Data
update.bma

Update BMA object using a new prior
IC.prior

Families of Prior Distribution for Coefficients in BMA Models
protein

Protein Activity Data
beta.binomial

Beta-Binomial Prior Distribution for Models
bas.lm

Bayesian Adaptive Sampling Without Replacement for Variable Selection in Linear Models
image.bma

Images of models used in Bayesian model averaging
list2matrix.bma

Coerce a BMA list object into a matrix
plot.coef.bma

Plots the posterior distributions of coefficients derived from Bayesian model averaging
summary.bma

Summaries of Bayesian Model Averaging objects
predict.bma

Prediction Method for an object of class BMA
EB.global

Finds the global Empirical Bayes estimates for BMA
eplogprob

eplogprob - Compute approximate marginal inclusion probabilities from pvalues
g.prior

Families of G-Prior Distribution for Coefficients in BMA Models
bin2int

Convert binary model representation into an integer
uniform

Uniform Prior Distribution for Models
cv.summary.bma

Summaries for Out of Sample Prediction
plot.bma

Plot Diagnostics for an blm Object