MATLAB code associated with our new book Bayesian Econometric Methods (Second Edition) can be found at the book website. MATLAB and R code for Statistical Modeling and Computation is available here.

Start here

If you use code from this page, please cite the most relevant default reference(s) below. These papers form a coherent toolkit for scalable Bayesian time series and state space methods.

Research overviews: Large Bayesian VARs | High-dimensional state space models | Trend inflation models.

If you want to download the code associated with a particular paper, it will be easier to locate it at my research page. Below I organize the code by topics.

Please contact me if you find any errors.

Vector Autoregressions and VARMAs

See here for more information about my recent projects on large Bayesian VARs.

Stochastic Volatility and GARCH Models

Marginal Likelihood and Deviance Information Criterion

Models for Inflation

See here for more information about my research on trend inflation models.

Models for Output Gap

Other Models

Other Sources

A number of econometricians have provided code associated with their books or papers: