These are the scripts to reproduce Gasteiger (2014,JMCB): "Heterogeneous Expectations, Optimal Monetary Policy, and the Merit of Policy Inertia"

script_ebrf1_R2.m produces the results in Section 3.3 ("Main Results") reported in Figure 1, Panel 1(a) and Panel 1(b).

script_oir_R2_theta09.m and script_oir_R2_theta0110.m produce the results in Section 4.1 ("Implementation via Implicit Instrument Rule") reported in Figure 2, Panel 2(a), Panel 2(b), and Panel 2(c).

script_ebrf2_R2_theta09.m and script_ebrf2_R2_theta0110.m produce the results in Section 4.2 ("Implementation via Expectations-Based Reaction Function II") reported in Figure 3, Panel 3(a), Panel 3(b), and Panel 3(c).

For further information, contact the author via www.urleiwand.com