The Perfect Foresight Algorithm
Please feel free to raise any comments or issues on the website’s Github repository. Pull requests are very much appreciated.
We cover deterministic simulations in DSGE models also known as perfect foresight simulations and how one can do this in Dynare.
- We will cover very briefly the intuition behind this method.
- We are going to illustrate several scenarios which you can analyze using a two-country New Keynesian DSGE model as an example.
- We will go through the Dynare specific commands that you need know.
- We will go under the hood and derive the Newton type algorithm that Dynare uses and discuss some numerical issues we need to deal with.
- To make sure that we really understand the algorithm and the way Dynare computes deterministic simulations, we are going to re-implement it manually in MATLAB and then see that the results are exactly the same.
- Recap Deterministic Simulations under Perfect Foresight
- Example Two-Country NK model with ZLB
- Temporary Monetary Policy Shock
- Pre-Announced Temporary Monetary Policy Shock
- Permanent Increase Inflation Target (Surprise)
- Pre-Announced Permanent Increase in future tax rates
- Dynare Specifics: Commands and Under the Hood
- General DSGE Framework under Perfect Foresight
- Two-Boundary Value Problem
- Newton Method
- The Perfect Foresight Algorithm
- Controlling Newton Algorithm in Dynare
- Initial Guess for Newton Algorithm
- Infinite Horizon Problems
- Re-Implementation of Perfect Foresight Algorithm in MATLAB
- Sébastien Villemot (2022) - Deterministic Models, Perfect foresight, nonlinearities and occasionally binding constraints