Changing seed for calculating impulse responses

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.

Changing seed for calculating impulse responses

Postby bruzzle » Sun Jul 10, 2011 4:00 pm

Hi,

I am working on Smets-Wouters (2007,AER) paper. Everytime I run the code, I get exactly the same magnitudes for deviations from the steady state. I understand that impulse response functions are solutions to the model rather than simulation. But the magnitudes of the steady state deviations are calculated for a random shock with the given standard deviation. Since the shock is random it must be generated from some random number generator. Getting the same deviations made me think that there must be some seed for those random shocks that are generated. But I can't find where the shocks for impulse responses are generated in the given .m files. I have tried set_dynare_seed but it works only for data simulation but not the impulse responses.

So is there a way to make sure the shocks generated for the IRFs are truly random in Dynare?

The .mod file is attached.

Thank you,
Attachments
smets_wouters_20041254_data.rar
(341.86 KiB) Downloaded 262 times
bruzzle
 
Posts: 13
Joined: Fri Apr 30, 2010 11:52 am

Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 4 guests