The precision of simulated series with simul_replic

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.

The precision of simulated series with simul_replic

Postby petros_varth » Thu Mar 06, 2014 4:01 pm

Hi All,

I use stoch_simul to simulate series from my model, the economy fluctuates around its steady-state because of standard TFP shocks.

Particularly, the code is:

Code: Select all

stoch_simul(noprint,order=2,pruning,drop=0,periods=200,simul_replic=1000);



My question is the following:

Does the precision of the simulated series produced by the model increases as i increase the number of "simul_replic"?

If yes, in my model the weighted sum of period utility function (say for 200 hundred periods) is:

with simul_replic= 2000 ---> -767.6821

with simul_replic= 5000 ---> -755.7785

with simul_replic=10000 ---> -748.4416

with simul_replic= 20000 ---> -753.9464

with simul_replic= 30000 ---> -770.3927

Does the above look like converging?
Should i increase the number of simul_replic even more?
How i can use the same TFP shocks in each run?

Best,

P.

PS: The IRFs imply that the model makes sense.
petros_varth
 
Posts: 45
Joined: Wed Sep 30, 2009 5:35 pm

Re: The precision of simulated series with simul_replic

Postby jpfeifer » Thu Mar 06, 2014 7:28 pm

From the manual for simul_replic:
Number of series to simulate when empirical moments are requested (i.e. periods
> 0). Note that if this option is greater than 1, the additional series will not be used
for computing the empirical moments but will simply be saved in binary form to
the file ‘FILENAME_simul’. Default: 1.

Thus, for more precision, increase periods or use the get_simul_replicatons.m from my homepage to access the different replications of 200 periods and compute the moments yourself (https://sites.google.com/site/pfeiferecon/dynare)
------------
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: The precision of simulated series with simul_replic

Postby petros_varth » Fri Mar 07, 2014 9:28 am

Dear jpfeifer,

Many thanks for your reply. I will try this and post back.

P.
petros_varth
 
Posts: 45
Joined: Wed Sep 30, 2009 5:35 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 6 guests