JME Paper Replication and Examples
===================================

Replication code for "Macroeconomic Policy Games" by Martin Bodenstein,
Luca Guerrieri, and Joe LaBriola, Journal of Monetary Economics, 2019.

Instructions and further documentation: http://www.lguerrieri.com/Nash_ramsey_website/


SUBFOLDERS
----------

BBCDL_model_excl2ndorder/
    BBCDL_figure1and2.m   reproduces figures 1 and 2    (runtime: a few seconds)
    BBCDL_figure4.m       reproduces figure 4           (runtime: a few seconds)
    BBCDL_table1.m        reproduces table 1            (runtime: can be hours)

BBCDL_model_2ndorder/
    BBCDL_figure3.m       reproduces figure 3

GK_model/
    GKfigure1.m           reproduces figure 5
    GKfigure2.m           reproduces figure 6

GK_model_with_altruism/
    GKfigure3.m           reproduces figure 7

LQ_BBCDL_model/
    call_LQBBCDL.m        verifies that the linear-quadratic version of the
                          BB/CDL model matches the solution produced by the toolbox


SETUP
-----
Each subfolder contains a copy of setpathdynare6_5.m. This is a version with 
relative paths that do not need to be updated if the directory structure is kept
as from the original download. 
 
To use the toolbox in other folders

    run <toolbox_root>/setup_toolbox

This command edits setpathdynare6_5 in this directory with paths to the relevant folders of the toolbox without 
relative references to the position of the toolbox. Accordingly, the resulting 
setpathdynare6_5 can be copied to other folders to setup the path structure to use Dynare 6.5 and the toolbox.
