Page 1 of 1

Incorrect impulse curves - replication of a paper

PostPosted: Tue May 02, 2017 9:17 pm
by ahoruzhenko
Good afternoon,

I am trying to replicate the paper Aoki Benigno Kiyotaki (2016) Monetary and Financial Policies in Emerging
Markets
. My code works properly, but the impulse curves do not coincide with those in the paper (screen attached). Above this, the impulse curves for one of the shocks are not curves but rather short straight lines (attached).

What could be the problem? I checked many times that all equations are OK.

Thank you in advance for your precious help.

Re: Incorrect impulse curves - replication of a paper

PostPosted: Tue May 02, 2017 9:28 pm
by ahoruzhenko

Re: Incorrect impulse curves - replication of a paper

PostPosted: Wed May 03, 2017 7:39 am
by jpfeifer
Your IRFs are explosive. Either use order=1 or pruning.

Re: Incorrect impulse curves - replication of a paper

PostPosted: Thu May 04, 2017 7:43 pm
by ahoruzhenko
Thank you a lot.
If someone has a similar problem, it works when the order of approximation is set to 1 and all variables are replaced with exp(x) instead of x to linearize the model (do not forget to log the steady-state values).

Re: Incorrect impulse curves - replication of a paper

PostPosted: Fri May 05, 2017 6:05 am
by jpfeifer
You don't need the exp()-part, only
Code: Select all
order=1

or
Code: Select all
pruning

If you don't use higher order with pruning, the exp()-substitution inducing a loglinearization instead of linearization may actually help to prevent explosive simulations.