BMR (Bayesian Macroeconometrics in R) is an R interface to BMLib, a templated C++ library for estimating Bayesian Vector Autoregression (BVAR) and Dynamic Stochastic General Equilibrium (DSGE) models.
Author: Keith O'Hara
License: BMR is licensed under the GNU General Public License (GPL) version 2, or (at your option) any later version.
Package requirements: R (v3.40, or above) and Rcpp, RcppArmadillo, ggplot2, and grid (this comes pre-packaged with R).
The source code is available on GitHub. You need to install BMR from source.
curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2 sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /
install.packages("devtools") library(devtools) install_github("kthohr/BMR")
The vignette (linked above) is intended to be a comprehensive guide to the routines (and what goes on under the hood, so to speak) and should be consulted first before submitting any questions to me about the package. I am more than happy to receive bug reports (and comments in general) about BMR, use the contact tab above to do so, but I am not willing to provide technical support for the package. (Technical support in the sense of 'how do I get my model into the required format', or 'what prior should I use'.)
After installing BMR, the user can check if everything is working as intended by typing:
This should load BMR and place a dataframe called 'USMacroData' into the workspace.
Replication files can be found in the