Learn R Programming

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

BMS (version 0.3.4)

Bayesian Model Averaging Library

Description

Bayesian model averaging for linear models with a wide choice of (customizable) priors. Built-in priors include coefficient priors (fixed, flexible and hyper-g priors), 5 kinds of model priors, moreover model sampling by enumeration or various MCMC approaches. Post-processing functions allow for inferring posterior inclusion and model probabilities, various moments, coefficient and predictive densities. Plotting functions available for posterior model size, MCMC convergence, predictive and coefficient densities, best models representation, BMA comparison.

Copy Link

Version

Install

install.packages('BMS')

Monthly Downloads

900

Version

0.3.4

License

Artistic-2.0

Maintainer

Stefan Zeugner

Last Published

November 24th, 2015

Functions in BMS (0.3.4)

is.bma

Tests for a 'bma' Object
lps.bma

Log Predictive Score
bin2hex

Converting Binary Code to and from Hexadecimal Code
print.bma

Printing bma Objects
coef.bma

Posterior Inclusion Probabilities and Coefficients from a 'bma' Object
topmodels.bma

Model Binaries and their Posterior model Probabilities
bma-class

Class "bma"
plotComp

Compare Two or More bma Objects
density.bma

Coefficient Marginal Posterior Densities
variable.names.zlm

Variable names and design matrix
predict.bma

Predict Method for bma Objects
datafls

FLS (2001) growth data
as.zlm

Extract a Model from a bma Object
zlm-class

Class "zlm"
image.bma

Plot Signs of Best Models
quantile.pred.density

Extract Quantiles from 'density' Objects
gprior-class

Class "gprior"
plot.bma

Plot Posterior Model Size and Model Probabilities
plotModelsize

Plot Model Size Distribution
variable.names.bma

Variable names and design matrix
BMS-package

Bayesian Model Sampling 0.3.4
post.var

Posterior Variance and Deviance
zlm

Bayesian Linear Model with Zellner's g
BMS-internal

Internal BMS objects
bms

Bayesian Model Sampling and Averaging
fullmodel.ssq

OLS Statistics for the Full Model Including All Potential Covariates
plot.pred.density

Predictive Densities for bma Objects
c.bma

Concatenate bma objects
gdensity

Posterior Density of the Shrinkage Factor
f21hyper

Gaussian Hypergeometric Function F(a,b,c,z)
plotConv

Plot Convergence of BMA Sampler
predict.zlm

Predict Method for zlm Linear Model
print.topmod

Printing topmod Objects
beta.draws.bma

Coefficients of the Best Models
mprior-class

Class "mprior"
pred.density

Predictive Densities for bma Objects
pmp.bma

Posterior Model Probabilities
topmod

Topmodel Object
pmpmodel

Posterior Model Probability for any Model
summary.bma

Summary Statistics for a 'bma' Object
topmod-class

Class "topmod"
[.bma

Extract Parts of a topmod Object
summary.zlm

Summarizing Linear Models under Zellner's g