regarding the simulated moments in stoch_simul

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.

regarding the simulated moments in stoch_simul

Postby shubh » Wed Sep 03, 2014 7:06 am

For the variables in exp() in the model block, are the simulated moments for those variable in exp() measured for their log values or their log-deviation ??
shubh
 
Posts: 26
Joined: Tue Jul 29, 2014 5:54 pm

Re: regarding the simulated moments in stoch_simul

Postby jpfeifer » Wed Sep 03, 2014 9:24 am

All moments in Dynare are always for the actual values of the variables. If the variable is a log-level (due to the exp-transformation) the mean will be the mean of the log-level. For second moments: they are centered moments. The centering takes the mean/steady state out. At first order, the second moments from log-levels and log-deviations from steady state are thus identical. Only at higher order, there would be a difference due to the mean not being identical to the steady state.
------------
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: regarding the simulated moments in stoch_simul

Postby shubh » Wed Sep 03, 2014 10:19 am

so, if the order is 2.
then say the model block declares variable u as exp(u).
Then its empirical standard deviation is underroot(1/n(summation(ui - ubar)^2))
where ui are the logs of simulated ui, and ubar is the empirical mean of log u.

So we can say that the standard deviation of log u is a deviation from its mean in the simulated data ? Am i right ?
shubh
 
Posts: 26
Joined: Tue Jul 29, 2014 5:54 pm

Re: regarding the simulated moments in stoch_simul

Postby jpfeifer » Wed Sep 03, 2014 8:09 pm

Yes, and as everything is in logs, it has the interpretation as the standard deviation of the percentage deviation from the sample mean.
------------
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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests