Impulse response in 2nd order approx in more detail plz

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.

Impulse response in 2nd order approx in more detail plz

Postby kayak21 » Thu Nov 17, 2011 12:52 am

Dear Dynare,

For a first-order approx, IRF is straightforward: you feed shock like [1,0,0,0,0,0,...0] then track down the responses of each variable.

For second order, the user guide says, "The technique is instead to pull future shocks from their distribution and see how they impact your system, and
repeat this procedure a multitude of times in order to draw out an average response."

Okay, but still I don't get the picture. How does Dynare implement this specifically?

Does it mean that I feed a series of random shocks into the model? But then it becomes a just simulated series, not IRF. Does it feed a shock series like [Big shock, normal random shock, normal random shock, ..., normal random shock]? Also, due to the cross terms, just one series would not give a nice hump-shaped impulse responses: it would not converge to zero level.

This sounds like a stupid question but I am planning to implement the dynare's method to my own code but I don't understand the specific details of how Dynare does this. Any comment will be appreciated. Thanks.

-a newbie-
kayak21
 
Posts: 4
Joined: Tue Jul 27, 2010 6:36 pm

Re: Impulse response in 2nd order approx in more detail plz

Postby kayak21 » Thu Nov 17, 2011 5:42 pm

I just found a lecture note. It gives me a hint.

We need two series. One with ordinary shocks, which is a kind of simulated series. And we need another series with a Big shock at a given point of time. So it will be like

[e1+shock,e2,e3,e4...] these 'e_i's are random shock. And the impulse response is the difference between two series of the corresponding variable.

And we did this many times and average out the difference as impulse response. Am I right? Someone please tell me!
kayak21
 
Posts: 4
Joined: Tue Jul 27, 2010 6:36 pm

Re: Impulse response in 2nd order approx in more detail plz

Postby SébastienVillemot » Fri Nov 18, 2011 10:46 am

Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: Impulse response in 2nd order approx in more detail plz

Postby kayak21 » Fri Nov 18, 2011 10:34 pm

Thanks. That solved the problem.
kayak21
 
Posts: 4
Joined: Tue Jul 27, 2010 6:36 pm

Re: Impulse response in 2nd order approx in more detail plz

Postby jojokre » Wed Mar 23, 2016 9:26 pm

I have a follow up question on the previous one: Why doesn't Dynare construnct the IR from the policy functions directly? This would also solve the problem that "The simulations conducted for generating IRFs ... were explosive" and that one has to reduce the shock size or use pruning. Or do I not understand this correctly?
Thanks for your help!
jojokre
 
Posts: 14
Joined: Thu Jan 15, 2015 1:49 pm

Re: Impulse response in 2nd order approx in more detail plz

Postby jpfeifer » Thu Mar 24, 2016 8:57 am

How would you do this?
Also note that we are talking about Generalized IRFs, because we integrate out the state-dependence. As shown in Andreasen et al (2013), you could compute these analytically, but we do not yet support this.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 14 guests