Discussion Paper 101

A Toolkit for Analyzing Nonlinear Dynamic Stochastic Models Easily

Harald Uhlig

Published June 1, 1995

Abstract
Often, researchers wish to analyze nonlinear dynamic discrete-time stochastic models. This paper provides a toolkit for solving such models easily, building on log-linearizing the necessary equations characterizing the equilibrium and solving for the recursive equilibrium law of motion with the method of undetermined coefficients. The innovation here is to demonstrate that log-linearizing the nonlinear equations can usually be done without the need for explicit differentiation, to extend the method of undetermined coefficients to models with more endogenous state variables than expectational equations, to provide a general solution and to provide frequency-domain techniques to calculate the second order properties of the model in its HP-filtered version without resorting to simulations. Since the method is an Euler-equation based approach rather than an approach based on solving a social planners problem, models with externalities or distortionary taxation do not pose additional problems. MATLAB programs to carry out the calculations in this paper are made available. This paper should be useful for researchers and Ph.D. students alike.


Download Paper (pdf)

Matlab Files (zip)

An updated NEW VERSION 2, MARCH 1997