How are moments of simulated variables computed

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.

How are moments of simulated variables computed

Postby beanbag » Thu Jul 29, 2010 8:10 pm

Hello

How does dynare compute the moments of the simulated variables ?
For your info: I'm running "stoch_simul(periods = 1000,IRF = 200,nograph)" on a fully calibrated model, no estimation or other commands whatsoever.

if I store the IRF values of variable "Consumption" in matrix "C" and I give in the matlab command "std(C)" I get a value that is a lot smaller than the value displayed in the dynare output under "MOMENTS OF SIMULATED VARIABLES ST. DEV"

What is the difference in computation ?
I have got a gut feeling that maybe some observations might be dropped once a certain treshold of proximity towards steady state is breached, that would explain the smaller values of my own calculations. I could be completely wrong though.

Any insights are sincerely appreciated.



Kind regards
beanbag
 
Posts: 4
Joined: Mon Mar 22, 2010 11:09 pm

Re: How are moments of simulated variables computed

Postby MichelJuillard » Wed Aug 04, 2010 1:31 pm

IRF s are the response to a single shock at the start of the simulation.

The variance and standard deviation reported for theoretical of simulated moments take into account repeated shocks to each of the exogenous variables.

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Re: How are moments of simulated variables computed

Postby beanbag » Fri Aug 06, 2010 4:14 am

Thank you for your response. That makes sense.
beanbag
 
Posts: 4
Joined: Mon Mar 22, 2010 11:09 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests