Dynare ++ error higher order appr

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.

Dynare ++ error higher order appr

Postby pguerron » Fri Oct 01, 2010 2:14 pm

Hi,

It seems there is a bug in the latest version of Dynare ++. When computing the 2nd order approximation, the solution for the 1st order expansion changes relative to the one obtained when computing the linear solution. Regardless of this error, the dynare ++ solution (with the --nocentralize option) is not exactly the same as the one from dynare. Although in my example the error is in the second and third decimal, these errors can easily accumulate in simulations.

Pablo A. Guerron
pguerron
 
Posts: 6
Joined: Fri Oct 01, 2010 2:06 pm

Re: Dynare ++ error higher order appr

Postby SébastienVillemot » Mon Oct 11, 2010 12:23 pm

If you mean that the constant term is changing when going from 1st order to 2nd order, this is normal: it is the effect of future volatility on the level of the policy function. In particular, note that Dynare and Dynare++ don’t provide the Taylor expansion of the true solution: they instead provided the exact solution of an approximation of the model, which is quite different.

If you mean something else, it may be a bug: please post your MOD file so that we can replicate the problem and fix it.

Best,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests