Learn R Programming

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

BayesVarSel (version 1.6.2)

Bayes Factors, Model Choice and Variable Selection in Linear Models

Description

Conceived to calculate Bayes factors in linear models and then to provide a formal Bayesian answer to testing and variable selection problems. From a theoretical side, the emphasis in the package is placed on the prior distributions and BayesVarSel allows using a wide range of them: Jeffreys (1961); Zellner and Siow(1980); Zellner and Siow(1984); Zellner (1986); Fernandez et al. (2001); Liang et al. (2008) and Bayarri et al. (2012). The interaction with the package is through a friendly interface that syntactically mimics the well-known lm() command of R. The resulting objects can be easily explored providing the user very valuable information (like marginal, joint and conditional inclusion probabilities of potential variables; the highest posterior probability model, HPM; the median probability model, MPM) about the structure of the true -data generating- model. Additionally, "BayesVarSel" incorporates abilities to handle problems with a large number of potential explanatory variables through parallel and heuristic versions of the main commands, Garcia-Donato and Martinez-Beneito (2013).

Copy Link

Version

Install

install.packages('BayesVarSel')

Monthly Downloads

509

Version

1.6.2

License

GPL-2

Maintainer

Anabel Forte

Last Published

March 2nd, 2016

Functions in BayesVarSel (1.6.2)

Bvs

Bayesian Variable Selection for linear regression models
Hald

Hald data
BayesFactor

Bayes factors and posterior probabilities for linear regression models
PBvs

Bayesian Variable Selection for linear regression models using parallel computing.
GibbsBvs

Bayesian Variable Selection for linear regression models using Gibbs sampling.
Ozone35

Ozone35 dataset