check command in deterministic setup

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.

check command in deterministic setup

Postby mlo666 » Thu Jan 21, 2016 3:18 pm

Hi,

when simulating a deterministic shock using check command I sometimes get an error, but when the check command is commented-out, Dynare still computes the impulse responses. They "look" normal in the sense that they seem to converge to the steady state (the procedure makes them converge to the initial values). The only thing is that when I compute deviations from the steady state, in the periods before the final value, they are on the order of magnitude 1e-8 away from zero. I am using Dynare 4.3.0 (troubles with check are not reported as one of the known bugs int his version).

The question is whether (1) the command check makes any sense at all for deterministic simulation, which takes into account nonlinearities, and (2) if this is a rounding thing.

Thanks in advance.
mlo666
 
Posts: 3
Joined: Mon Aug 17, 2015 4:16 pm

Re: check command in deterministic setup

Postby jpfeifer » Sun Jan 24, 2016 7:14 pm

The check command tells you something about the local stability properties around the steady state. For a linearized model, it is all you need to know. For the a nonlinear model, it is neither necessary nor sufficient. Nevertheless, you should check your convergence properties. Numerical inaccuracies of 1e-8 as you report are nothing to worry about, unless they signify a bigger issue. Often, you can simply test the behavior of your model by varying the simulation length via the periods statement. Try increasing it and check whether the convergence to the resting point continues.
------------
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: check command in deterministic setup

Postby mlo666 » Mon Jan 25, 2016 10:10 am

Thank you very much!!! I checked the properties by varying the simulation length (200, 400, 600, 800, 1000 periods) and the results are the same (i.e., impulse responses lie on top of each other, with only tiny differences between 200 and 400 periods, but practically none for longer simulations).
mlo666
 
Posts: 3
Joined: Mon Aug 17, 2015 4:16 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 15 guests