Material corresponding to ‘Risk Shocks’, by Christiano, Motto and Rostagno, 2014, American Economic Review, 104(1): 27-65
Code for replicating the material in the manuscript prepared by Ben Johannsen.
Instructions for using the code to reproduce the tables and figures are provided in the cmr-ref.pdf manual, located in the doc subdirectory.
In each case, running the code for a particular figure or table requires executing the Dynare file, cmr.mod, out of the relevant directory.
To run the code, you must be use Dynare version 4.3.2 and you must type addpath ../ at the MATLAB command prompt.
The code has been tested on MATLAB version 188.8.131.523 (R2012b).
Background information on the standard debt contract in the model:
A rigorous discussion of the standard debt contract can be found in many places, including the 1999 Handbook Chapter of Bernanke, Gertler and Gilchrist.