moments of second-order approximation

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.

moments of second-order approximation

Postby jojokre » Thu Jun 11, 2015 12:23 pm

When I run a first-order approx. with Dynare using stoch_simul(order=1,nograph) I get the theoretical moments printed out by Dynare and they are stored in oo_.mean.

When I run a second-order approx. with Dynare using stoch_simul(order=2,nograph) I get the "Approximated theoretical moments" printed out and they are then stored in oo_.mean (I think). I guess they are "approximated", because uncertainty equivalence does not hold any more and the deviation from the uncertainty equivalence can only be approximated?

Now, in my model, I have the problem that I get the message that "irfs cannot be displayed" because they are explosive and that I should use pruning or do some other things to my model. I can get rid of this problem by just reducing the size of the shocks. But doesn't that have an effect on the the approximated theoretical moments? If I make the shocks very very small the deviations from certainty equivalence should be very very small (or am I understanding something wrong?). Another "fix" which makes Dynare run without complaining about explosiveness, is that I set irf=0, i.e., stoch_simul(order=2,nograph,irf=0). But then, something happens to the approximated theoretical moments. In particular, I have a two-symmetric-countries model and then suddenly I get completely different approximated theoretical moments for the two countries for all variables. So something is messed up/changes when I use the irf-option in a second-order approx. I cannot find and answer to that in the manual. Are the policy functions still correct?
jojokre
 
Posts: 14
Joined: Thu Jan 15, 2015 1:49 pm

Re: moments of second-order approximation

Postby jpfeifer » Fri Jun 12, 2015 8:03 am

The "approximated" refers to the fact that a first-order solution already delivers a second-order accurate approximation of the second moments. Thus, theoretical second moments are based on the first order solution as documented in the manual.

Changing the shocks size will affect the solution at order=2. So this is not advocated. You should rather go for pruning.

Not requesting IRFs should not have an effect on the theoretical moments. If this is the case, please provide codes to replicate the issue.
------------
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 8 guests