Learn R Programming

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

BAS (version 0.90)

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.90

License

GPL (>= 2)

Maintainer

Merlise Clyde

Last Published

July 24th, 2010

Functions in BAS (0.90)

EB.global

Finds the global Empirical Bayes estimates for BMA
Bernoulli

Independent Bernoulli Prior Distribution for Models
summary.bma

Summaries of Bayesian Model Averaging objects
plot.coef.bma

Plots the posterior distributions of coefficients derived from Bayesian model averaging
bayesglm.fit

Fitting Generalized Linear Models Bayesian marginal likelihood evaluation
plot.bma

Plot Diagnostics for an blm Object
hypergeometric2F1

Gaussian hypergeometric2F1 function
eplogprob

eplogprob - Compute approximate marginal inclusion probabilities from pvalues
bin2int

Convert binary model representation into an integer
fitted.bma

Fitted values for a BMA objects
g.prior

Families of G-Prior Distribution for Coefficients in BMA Models
beta.binomial

Beta-Binomial Prior Distribution for Models
uniform

Uniform Prior Distribution for Models
list2matrix.bma

Coerce a BMA list object into a matrix
update.bma

Update BMA object using a new prior
BAS-package

Bayesian Model Averaging using Bayesian Adaptive Sampling
Hald

Hald Data
IC.prior

Families of Prior Distribution for Coefficients in BMA Models
image.bma

Images of models used in Bayesian model averaging
bas.lm

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

Protein Activity Data
predict.bma

Prediction Method for an object of class BMA
coef.bma

Coefficients of a Bayesian Model Average object
cv.summary.bma

Summaries for Out of Sample Prediction