BayesVarSel: Bayes Factors, Model Choice and Variable Selection in Linear Models
Version 1.7.1

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 this package is placed on the prior distributions and it allows 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, this package 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).

Getting started

Package details

AuthorGonzalo Garcia-Donato and Anabel Forte
Date of publication2017-09-19 17:30:07 UTC
MaintainerAnabel Forte <[email protected]>
LicenseGPL-2
Version1.7.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("BayesVarSel")

Try the BayesVarSel package in your browser

Any scripts or data that you put into this service are public.

BayesVarSel documentation built on Sept. 20, 2017, 1:03 a.m.