A Toolbox for the Study of Linear Difference Rational Expectations Models

Oviedo, P. Marcelo

Economica Vol. LI no. 1/2 (December 2005)

By simplifying the computational tasks and by providing step-by-step explanations of the procedures required to study a linear dynamic rational expectations (LDRE) model, this paper and the accompanying "LDRE Toolbox" of Matalb functions guide a researcher with almost no experience in computational work to resolve and study his own model. After coding the model following specific guidelines, a single function call is all that is needed to log-linearize the model; simulate it under exogenous sequences of shocks; compute sample and population moment conditions; and obtain impulse-response functions. Three classical models in the Real-Business-Cycles literature are solved and studied throughout to give detailed examples of the steps involved in solving and studying LDRE models using the LDRE Toolbox. Namely, the economies in Brock and Mirman (Optimal Growth and Uncertainty: the Discounted Case, Journal of Economic Theory, 4(3): 479-513; 1972); King, Plosser, and Rebelo (Production, Growth and Business Cycles I: The Basic Neoclassical Model, Journal of Monetary Economics, 21: 195-232; 1988); and Mendoza (Real Business Cycles in a Small Open Economy, American Economic Review, 81(4): 797-818; 1991).

JEL Classification: C60

Keywords: Numerical methods, business cycles, linear difference, log linearization