Skip to content

jiaEcon/BVAR_

 
 

Repository files navigation

BVAR_

Empirical macro toolbox

by F. Ferroni and F. Canova

This repository contains MATLAB functions, routines and documentation to estimate VARs, factor models and local projections with classical or Bayesian methods. The toolbox allows a researcher to conduct inference under various prior assumptions on the parameters, to produce point and density forecasts, to compute spillovers/connectedness across units of a network and to trace out the causal effect of shocks using a number of identification schemes. The toolbox is equipped to handle missing observations, mixed frequencies and time series with large cross-section information (e.g. panels of VAR, factor models and FAVAR). It also contains a number of routines to extract cyclical information and to date business cycles. We describe the methodology employed and implementation of the functions with a number of practical examples.

The matlab 2020 release has a built in function called 'bvar' which causes a crash with previous versions of the toolbox. In current version, we create the function 'bvar_.m' and substitute 'bvar.m' with 'bvar_.m' in all the examples of the tutorial. Codes are backwarad compatible so that for matlab releases earlier than 2020 'bvar.m' still works.

Link to the youtube tutorial: https://www.youtube.com/channel/UCDepPX4wbdkIqfg438J0h_g

About

Empirical macro toolbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 99.7%
  • Other 0.3%