Simulate a model using smoothed shocks (using simult_)

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.

Simulate a model using smoothed shocks (using simult_)

Postby leolee » Sun Nov 29, 2015 5:20 pm

Dear Dynare experts,

I usually use simult_ command to simulate my model using smoothed shocks as follows. The following is what I did to simulate Smet&Wouters 2007, Dynare code from this link:
https://sites.google.com/a/nyu.edu/jerome-williams/smets-and-wouters-aer-2007
Code: Select all
y0=oo_.dr.ys;
dr=oo_.dr;
iorder=1;
ex_=[oo_.SmoothedShocks.eta_a oo_.SmoothedShocks.eta_b oo_.SmoothedShocks.eta_g oo_.SmoothedShocks.eta_i oo_.SmoothedShocks.eta_r oo_.SmoothedShocks.eta_p oo_.SmoothedShocks.eta_w];
y_=simult_(y0,dr,ex_,iorder)

I expected this simult_ command would give the same result as Smoothed Variables which Dynare automatically saves in oo_.SmoothedVariables... But there were slight difference between them.

Does anyone know what makes the difference?

Best,
Leo
leolee
 
Posts: 30
Joined: Thu Mar 19, 2015 9:54 am

Re: Simulate a model using smoothed shocks (using simult_)

Postby jpfeifer » Sun Nov 29, 2015 5:37 pm

------------
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: Google [Bot] and 14 guests