Skip to main content
QUICK REVIEW

[Paper Review] Methods and Tools for Bayesian Variable Selection and Model Averaging in Univariate Linear Regression

Anabel Forte, Gonzalo García‐Donato|arXiv (Cornell University)|Dec 7, 2016
Statistical Methods and Bayesian InferenceMathematics33 references5 citations
TL;DR

This paper evaluates and compares four R packages—BMS, BayesVarSel, mombf, and BayesFactor—for Bayesian variable selection and model averaging in univariate linear regression. It demonstrates that while all packages yield highly similar results, differences in computational efficiency, prior flexibility, and features such as parallelization and convergence diagnostics make BayesVarSel optimal for small to moderate sample sizes and BMS preferable for large datasets.

ABSTRACT

In this paper we briefly review the main methodological aspects concerned with the application of the Bayesian approach to model choice and model averaging in the context of variable selection in regression models. This includes prior elicitation, summaries of the posterior distribution and computational strategies. We then examine and compare various publicly available { t R}-packages for its practical implementation summarizing and explaining the differences between packages and giving recommendations for applied users. We find that all packages reviewed lead to very similar results, but there are potentially important differences in flexibility and efficiency of the packages.

Motivation & Objective

  • To evaluate and compare the performance, flexibility, and usability of four publicly available R packages for Bayesian variable selection and model averaging in univariate linear regression.
  • To assess the impact of different prior distributions—particularly conventional priors like those of Jeffreys, Zellner, and Siow—on model selection and inference.
  • To provide practical recommendations for applied researchers based on computational efficiency, convergence speed, and available features such as fixed covariates, hierarchical modeling, and parallel computation.
  • To examine the numerical implementation strategies (e.g., MCMC, reversible jump, importance sampling) and their effects on CPU time and accuracy of posterior model probabilities and inclusion probabilities.
  • To evaluate documentation quality and user interface design across packages to guide applied users in tool selection.

Proposed method

  • The study reviews and implements Bayesian variable selection using marginal likelihoods and posterior model probabilities, with models indexed by binary vectors indicating variable inclusion.
  • It employs conventional priors—specifically the Zellner-Siow and Jeffreys-type priors—known for their objective, non-informative properties and optimal frequentist risk behavior.
  • The paper compares four R packages: BMS (Bayesian Model Sampling), BayesVarSel (Bayesian Variable Selection), mombf (Model choice via marginal likelihoods), and BayesFactor (Bayesian hypothesis testing), each using distinct computational strategies.
  • Computational performance is assessed via convergence speed and accuracy of posterior inclusion probabilities (PIPs) on benchmark datasets (e.g., Boston Housing and GDP growth), with results evaluated after a burn-in period.
  • The analysis includes numerical comparisons of PIPs across packages and evaluation of features such as fixed covariates, heredity principle enforcement (main effects before interactions), and convergence diagnostics.
  • The study uses both simulated and real data to test robustness and consistency of results across packages, with emphasis on reproducibility and practical usability.

Experimental results

Research questions

  • RQ1How do the four R packages (BMS, BayesVarSel, mombf, BayesFactor) compare in terms of computational efficiency and convergence speed for Bayesian variable selection in linear regression?
  • RQ2To what extent do differences in prior distributions (especially conventional priors) affect the posterior model probabilities and inclusion probabilities across packages?
  • RQ3Which package offers the best balance of flexibility, usability, and performance for users with small, moderate, or large sample sizes?
  • RQ4How do features such as fixed covariates, hierarchical modeling (heredity principle), and parallel computation influence the practical choice of package?
  • RQ5How reliable are the posterior inclusion probabilities (PIPs) across packages, and do they converge to similar values within a reasonable computation time?

Key findings

  • All four packages produce highly similar posterior inclusion probabilities (PIPs) after 30 minutes of computation, with differences at most in the second decimal place.
  • BayesVarSel is recommended for small to moderate sample sizes due to its computational efficiency and fast convergence, especially when $ n $ is small.
  • BMS is preferred for large datasets due to its scalability and efficient handling of high-dimensional model spaces, particularly when $ n $ is large.
  • BayesFactor is not recommended for general use due to its relatively slow performance and limited scalability, especially for larger $ p $ or $ n $.
  • mombf uses a slightly different prior than the conventional Zellner-Siow family, but achieves comparable PIP estimates quickly, albeit with slightly higher variability than BMS or BayesVarSel.
  • BMS provides superior convergence diagnostics and tools for monitoring MCMC convergence, while BayesVarSel and BMS support parallel computation, enhancing performance on multi-core systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.