Learn R Programming

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

BAS (version 0.3)

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 (to appear 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.3

License

GPL (>= 2)

Maintainer

Merlise Clyde

Last Published

May 29th, 2009

Functions in BAS (0.3)

cv.summary.bma

Summaries for Out of Sample Prediction
EB.global

Finds the global Empirical Bayes estimates for BMA
coef.bma

Coefficients of a Bayesian Model Average object
protein

Protein Activity Data
BAS-package

Bayesian Model Averaging using Bayesian Adaptive Sampling
bas.lm

Bayesian Adaptive Sampling Without Replacement for Variable Selection in Linear Models
Hald

Hald Data
uniform

Uniform Prior Distribution for Models
eplogprob

eplogprob - Compute approximate marginal inclusion probabilities from pvalues
predict.bma

Prediction Method for an object of class BMA
Bernoulli

Independent Bernoulli Prior Distribution for Models
plot.coef.bma

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

Coerce a BMA list object into a matrix
plot.bma

Plot Diagnostics for an blm Object
bin2int

Convert binary model representation into an integer
update.bma

Update BMA object using a new prior
summary.bma

Summaries of Bayesian Model Averaging objects
fitted.bma

Fitted values for a BMA objects
beta.binomial

Beta-Binomial Prior Distribution for Models
image.bma

Images of models used in Bayesian model averaging