Extended Path does not generate new series of shocks

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.

Extended Path does not generate new series of shocks

Postby Simon » Mon Oct 07, 2013 5:08 pm

Dear all,

i need to run several simulations using extended path, and I want to use a new series of exogenous shocks for every simulation. Sadly, dynare uses the very same time series for exogenous variables every time i run the simulation. I tried to clean the entire workspace after every run, but this does not help.

How could I convince dynare to draw new shocks for a new run of extended path? Every help is much appreciated.

Many greetings from Berlin,
Simon
Simon
 
Posts: 12
Joined: Wed Dec 22, 2010 12:58 am

Re: Extended Path does not generate new series of shocks

Postby jpfeifer » Mon Oct 07, 2013 6:30 pm

That is because Dynare sets a seed everytime you run it in order to make the results replicable across runs and machines. To get rid of this, use the
Code: Select all
set_dynare_seed

command (see the manual)
------------
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

Re: Extended Path does not generate new series of shocks

Postby Simon » Tue Oct 08, 2013 12:11 pm

thank you! This was of great help!
Simon
Simon
 
Posts: 12
Joined: Wed Dec 22, 2010 12:58 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests