Forward-looking models¶
In the app: Help → Help contents, Forward-looking models.
When equations contain expected future values (x[+1]), today's outcome depends on tomorrow's, so periods cannot be solved one at a time. Two approaches:
Perfect foresight (deterministic simulation) assumes agents know the whole future path of the exogenous variables. All periods are stacked into one system and solved jointly by Newton's method with a sparse Jacobian; values beyond the end of the span come from a terminal condition (the last value, the data, or the steady state). It keeps every non-linearity, so it suits large, anticipated policy changes.
Linear rational expectations: linearise the model around its steady state, giving A0 E[x(t+1)] + A1 x(t) + A2 x(t-1) + B e(t) = 0, and find the unique stable solution x(t) = P x(t-1) + Q e(t) by the QZ (generalised Schur) decomposition. Blanchard and Kahn's condition: there must be exactly as many stable roots as predetermined variables. Too few, and no stable solution exists; too many, and the solution is not unique (indeterminacy, e.g. a Taylor rule responding less than one for one to inflation). The solution gives impulse responses (Model > Analysis > Impulse responses: one shock, its size and the horizon; in code, irf.paths["y <- e"] is the response of y to the shock e by horizon), stochastic simulations, and a state-space form for the Kalman filter, to estimate unobserved variables such as the output gap from observed data.
Models written for Dynare can be read from their .mod files: variables, parameters, the model block (timing x(+1), model-local variables), steady-state guesses and shock standard deviations. Each equation is paired with a variable to solve for, and the model solves as any other. Model > Export model writes a model in pymetrix's, Dynare's, IRIS's or EViews's syntax, with notes on what does not carry across.
Once a model is estimated, Model > Analysis > Shock decomposition splits the smoothed history of each variable into the contributions of the shocks and of the starting point; Data contributions splits it by observed series instead.
See also¶
References¶
- Blanchard, O. J. and Kahn, C. M. (1980). The solution of linear difference models under rational expectations. Econometrica 48(5), 1305-1311. doi:10.2307/1912186
- Klein, P. (2000). Using the generalized Schur form to solve a multivariate linear rational expectations model. Journal of Economic Dynamics and Control 24(10), 1405-1423. doi:10.1016/s0165-1889(99)00045-7
- Uhlig, H. (1999). A toolkit for analysing nonlinear dynamic stochastic models easily. In Marimon, R. and Scott, A. (eds.), Computational Methods for the Study of Dynamic Economies, 30-61. Oxford University Press. doi:10.1093/0199248273.003.0003
- Juillard, M. (1996). Dynare: a program for the resolution and simulation of dynamic models with forward variables through the use of a relaxation algorithm. CEPREMAP. (search)
- Galí, J. (2015). Monetary Policy, Inflation, and the Business Cycle, 2nd ed. (search)