Dear Stephane,
Please see below:
petros_varth wrote:Is it sufficient to simulate the model for, say 100 periods, and take the path of the endogenous variable to find a conditional mean.
StephaneAdjemian wrote:The moments will be conditional to the initial condition (the steady state by default). Obviously these moments will depend on the number of periods and because the model is stationary will converge to the unconditional moments as the number of periods tends to plus infinity.
Yes, this is fine. I use the command hist_val so the path of the endogenous variables will be conditional on the initial condition given by hist_val. Yes?
Then, the path will converge to its steady-state, given by initval..end; if i increase the number of periods. Yes?
petros_varth wrote:Or i should use simul_replic? If yes, can you give me a hint on how i can convert the file with the results in binary form to a .mat?
StephaneAdjemian wrote:By increasing simul_replic you will decrease the variance of your estimate for the conditional moments. I don't understand the last question, which file do you want to convert?
So, if i want to improve my conditional moments i should increase simul_replic?
In Dynare manual refers the following:
simul_replic = INTEGER
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’.If i understand well, this means that Dynare produces "simul_replic" number of paths/series of the endogenous variables which each series contains the path of the endogenous variables from 0 to "periods". Yes?
So, if i use simul_replic a file is created with the series of the endogenous variables in binary form with the name ‘FILENAME_simul’, can you give me a hint how i can convert these data to a .mat?
Thanks a lot.
P.