theoretical moments differ from simulated ones

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.

theoretical moments differ from simulated ones

Postby marcin_j » Wed May 26, 2010 6:39 pm

Hi there, I'm just simulating a very basic rbc model. Everything seems to be in order but the moments obtained in simulations are completely different than the theoretical ones. Could anybody give me a hint why it may be so? mod file attached if needed. Thanks a lot!
Attachments
model3.mod
(1.36 KiB) Downloaded 97 times
marcin_j
 
Posts: 6
Joined: Sun Oct 18, 2009 11:26 am

Re: theoretical moments differ from simulated ones

Postby jpfeifer » Wed May 26, 2010 7:26 pm

Sorry, but I do not understand what are you doing in your mod-file. You do not compute theoretical moments as you always specified that periods is not 0 (see Dynare manual). If you are comparing the first and the second stoch_simul command in your file, you are comparing HP-filtered with unfiltered data. Moreover, Dynare does not standardize the standard deviations by the mean of the respective variable, so std(y)/mean(y) has not corresponding expression in 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: theoretical moments differ from simulated ones

Postby AssiaEzzeroug » Wed May 26, 2010 9:10 pm

Hi,

I think it may have something to do with the simulation order because to my knowledge, only in order 1 simulated moments- that are then computed from simulated data- should reproduce theoretical moments (computed from the theoretical expression) while If I well understood from your mod-file, you are trying to compare them in order 2.

Best
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests