/lp_var_simul

Simulation study of Local Projections, VARs, and related estimators

Primary LanguageMATLABMIT LicenseMIT

Simulation study of Local Projections, VARs, and related estimators

Matlab code for large-scale simulation studies of impulse response estimators, including Local Projections (LPs), Vector Autoregressions (VARs), and several variants of these

Reference: Li, Dake, Mikkel Plagborg-Møller, and Christian K. Wolf (2022), "Local Projections vs. VARs: Lessons From Thousands of DGPs" (:page_facing_up:paper, 📊supplement)

Tested in: Matlab R2020a on Windows 10 PC (64-bit)

Contents

Documents: Paper, supplement, and documentation

Analytical_Illustration: Plots for simple analytical illustration

Estimation_Routines: General-purpose impulse response estimation functions

DFM: Simulation study based on encompassing Dynamic Factor Model (DFM)

Acknowledgements

We rely on penalized LP code by Regis Barnichon & Christian Brownless, as well as VAR model averaging code by Bruce Hansen. We have slightly modified both of these sets of codes to improve their run-time without affecting their numerical output. We also use Dynamic Factor Model code and data by Eben Lazarus, Daniel Lewis, Jim Stock & Mark Watson.

Plagborg-Møller acknowledges that this material is based upon work supported by the National Science Foundation under Grant #1851665.