Help with paper replication in dynare

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Help with paper replication in dynare

Postby Luciano » Fri Aug 29, 2014 8:33 am

Dear all,

I am trying to replicate the results of the paper " The effects of monetary policy news and surprises " by Milani and Treadwell (2012) JMCB

I have written the codes for this paper which are attached below.

However, when I compare my IRFs with those found in the original paper I get different results for the impact effect of a surprise monetary policy shock, i.e. instead of declining on impact, output gap increases. Any thoughts?

I also attach the paper

I would appreciate any help on this matter

Thanks

L.
Attachments
milani&Treadwell(2012).pdf
(195.01 KiB) Downloaded 125 times
Codes Milani.txt
(2.18 KiB) Downloaded 148 times
Luciano
 
Posts: 8
Joined: Mon Nov 11, 2013 11:40 am

Re: Help with paper replication in dynare

Postby ludog » Wed Sep 17, 2014 5:05 pm

Hi Luciano,

There are 2 mistakes in the first equation if I compare your code with the equation (1) of the published Milani et Treadwell (2012) (equation 2.1 of your attached file):
First:
Code: Select all
tilda = sigma*(1-phi)/(1+phi);

It should be "-sigma..." or "-tilda" in the equation.

Second, "epsilon" and "theta" seem to be reversed (or x(-1) and x(+1) in equation 1).

I hope it will help and I let you check if there are some other mistakes...

Cheers,
L.
ludog
 
Posts: 17
Joined: Wed Nov 18, 2009 12:03 pm

Re: Help with paper replication in dynare

Postby Luciano » Thu Sep 18, 2014 3:05 pm

Dear ludog,

Thanks! However, after implementing your suggestions it is still not replicating the paper correctly...

Thanks for your help!

L.
Luciano
 
Posts: 8
Joined: Mon Nov 11, 2013 11:40 am

Re: Help with paper replication in dynare

Postby ludog » Thu Sep 18, 2014 4:26 pm

I did not check everything but there is at least one similar mistake in your second equation (your delta is for pi(+1) not pi(-1)).
You should check equation by equation, I believe that it is part of learning :-)

Cheers,
Ludo
ludog
 
Posts: 17
Joined: Wed Nov 18, 2009 12:03 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests

cron