Page 1 of 1

Extended Path does not generate new series of shocks

PostPosted: Mon Oct 07, 2013 5:08 pm
by Simon
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

Re: Extended Path does not generate new series of shocks

PostPosted: Mon Oct 07, 2013 6:30 pm
by jpfeifer
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)

Re: Extended Path does not generate new series of shocks

PostPosted: Tue Oct 08, 2013 12:11 pm
by Simon
thank you! This was of great help!
Simon