Perturbation Methods I: Basic Results

Size: px
Start display at page:

Download "Perturbation Methods I: Basic Results"

Transcription

1 Perturbation Methods I: Basic Results (Lectures on Solution Methods for Economists V) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 19, University of Pennsylvania 2 Boston College

2 Introduction

3 Introduction Remember that we want to solve a functional equations of the form: H (d) = 0 for an unknown decision rule d. Perturbation solves the problem by specifying: n d n (x, θ) = θ i (x x 0 ) i i=0 We use implicit-function theorems to find coefficients θ i s. Inherently local approximation. Often good global properties. 1

4 Motivation Many complicated mathematical problems have: 1. either a particular case 2. or a related problem. that is easy to solve. Often, we can use the solution of the simpler problem as a building block of the general solution. Very successful in physics. Sometimes perturbation is known as asymptotic methods. 2

5 A simple example Imagine we want to compute 26 by hand. We do not remember how to do it. But, we note that 26 = = = = 5.1 Exact solution: 26 = More in general: x = y 2 (1 + ε) = y (1 + ε) y (1 + θ) Accuracy depends on how big ε is. 3

6 Applications in economics Judd and Guu (1993) showed how to apply it to economic problems. Recently, perturbation methods have been gaining much popularity. In particular, second- and third-order approximations are easy to compute and notably improve accuracy. Perturbation theory is the generalization of the well-known linearization strategy. Hence, we can use much of what we already know about linearization. 4

7 Regular versus singular perturbations Regular perturbation: a small change in the problem induces a small change in the solution. Singular perturbation: a small change in the problem induces a large change in the solution. Example: excess demand function. Most problems in economics involve regular perturbations. Sometimes, however, we can have singularities. Example: introducing a new asset in an incomplete market model. 5

8 References General: 1. A First Look at Perturbation Theory by James G. Simmonds and James E. Mann Jr. 2. Advanced Mathematical Methods for Scientists and Engineers: Asymptotic Methods and Perturbation Theory by Carl M. Bender, Steven A. Orszag. Economics: 1. Perturbation Methods for General Dynamic Stochastic Models by Hehui Jin and Kenneth Judd. 2. Perturbation Methods with Nonlinear Changes of Variables by Kenneth Judd. 3. A gentle introduction: Solving Dynamic General Equilibrium Models Using a Second-Order Approximation to the Policy Function by Martín Uribe and Stephanie Schmitt-Grohe. 6

9 An Economics Application

10 Stochastic neoclassical growth model max E 0 t=0 β t log c t s.t. c t + k t+1 = e zt kt α, t > 0 z t = ρz t 1 + σε t, ε t N (0, 1) Note: full depreciation. Equilibrium conditions: 1 1 = βe t αe zt+1 k α 1 t+1 c t c t+1 c t + k t+1 = e zt k α t z t = ρz t 1 + σε t 7

11 Solution and steady state Exact solution (found by guess and verify ): c t = (1 αβ) e zt k α t k t+1 = αβe zt k α t Steady state is also easy to find: k = (αβ) 1 1 α c = (αβ) α 1 α (αβ) 1 1 α z = 0 Steady state in more general models. 8

12 The goal We are searching for decision rules: { c t = c (k t, z t ) d = k t+1 = k (k t, z t ) Then, we have: 1 c (k t, z t ) = βe αe ρzt+σεt+1 k (k t, z t ) α 1 t c (k (k t, z t ), ρz t + σε t+1 ) c (k t, z t ) + k (k t, z t ) = e zt kt α This is a system of functional equations. 9

13 A perturbation solution Rewrite the problem in terms of perturbation parameter λ. Different possibilities for λ. For this case, I pick: z t = ρz t 1 + λσε t, ε t N (0, 1) 1. When λ = 1, stochastic case. 2. When λ = 0, deterministic case (with z 0 = 0 and then e zt = 1). Now we are searching for the decision rules: c t = c (k t, z t ; λ) k t+1 = k (k t, z t ; λ) 10

14 Taylor s theorem We will build a local approximation around (k, 0; 0). Given equilibrium conditions: ( ) 1 E t c (k t, z t ; λ) β αe ρzt+λσεt+1 k (k t, z t ; λ) α 1 = 0 c (k (k t, z t ; λ), ρz t + λσε t+1 ; λ) c (k t, z t ; λ) + k (k t, z t ; λ) e zt kt α = 0 We will take derivatives with respect to k t, z t, and λ and evaluate them around (k, 0; 0). Why? Apply Taylor s theorem and a version of the implicit-function theorem. 11

15 Asymptotic expansion I c t = c (k t, z t ; 1) k,0,0 = c (k, 0; 0) +c k (k, 0; 0) (k t k) + c z (k, 0; 0) z t + c λ (k, 0; 0) c kk (k, 0; 0) (k t k) c kz (k, 0; 0) (k t k) z t c kλ (k, 0; 0) (k t k) c zk (k, 0; 0) z t (k t k) c zz (k, 0; 0) z 2 t c zλ (k, 0; 0) z t c λk (k, 0; 0) (k t k) c λz (k, 0; 0) λz t c λ2 (k, 0; 0)

16 Asymptotic expansion II k t+1 = k (k t, z t ; 1) k,0,0 = k (k, 0; 0) +k k (k, 0; 0) (k t k) + k z (k, 0; 0) z t + k λ (k, 0; 0) k kk (k, 0; 0) (k t k) k kz (k, 0; 0) (k t k) z t k kλ (k, 0; 0) (k t k) k zk (k, 0; 0) z t (k t k) k zz (k, 0; 0) z 2 t k zλ (k, 0; 0) z t k λk (k, 0; 0) (k t k) k λz (k, 0; 0) z t k λ2 (k, 0; 0)

17 Comment on notation From now on, to save on notation, we will write [ 1 F (k t, z t ; λ) = E c(k β αeρzt +λσε t+1 k(kt,z t;λ) α 1 t t,z t;λ) c(k(k t,z t;λ),ρz t+λσε t+1;σ) c (k t, z t ; λ) + k (k t, z t ; λ) e zt kt α ] = [ 0 0 ] Note that: F (k t, z t ; λ) = H (c t, c t+1, k t, k t+1, z t ; λ) = H (c (k t, z t ; λ), c (k (k t, z t ; λ), z t+1 ; λ), k t, k (k t, z t ; λ), z t ; λ) I will use H i to represent the partial derivative of H with respect to the i component and drop the evaluation at the steady state of the functions when we do not need it. 14

18 First-order approximation We take derivatives of F (k t, z t ; λ) around k, 0, and 0. With respect to k t : F k (k, 0; 0) = 0 With respect to z t : F z (k, 0; 0) = 0 With respect to λ: F λ (k, 0; 0) = 0 15

19 Solving the system I Remember that: F (k t, z t ; λ) = H (c (k t, z t ; λ), c (k (k t, z t ; λ), z t+1 ; λ), k t, k (k t, z t ; λ), z t ; λ) = 0 Because F (k t, z t ; λ) must be equal to zero for any possible values of k t, z t, and λ, the derivatives of any order of F must also be zero. Then: F k (k, 0; 0) = H 1 c k + H 2 c k k k + H 3 + H 4 k k = 0 F z (k, 0; 0) = H 1 c z + H 2 (c k k z + c z ρ) + H 4 k z + H 5 = 0 F λ (k, 0; 0) = H 1 c λ + H 2 (c k k λ + c λ ) + H 4 k λ + H 6 = 0 16

20 Solving the system II Note that: F k (k, 0; 0) = H 1 c k + H 2 c k k k + H 3 + H 4 k k = 0 F z (k, 0; 0) = H 1 c z + H 2 (c k k z + c z ρ) + H 4 k z + H 5 = 0 is a quadratic system of four equations on four unknowns: c k, c z, k k, and k z. Procedures to solve quadratic systems: 1. Blanchard and Kahn (1980). 2. Uhlig (1999). 3. Sims (2000). 4. Klein (2000). All of them equivalent. Why quadratic? Stable and unstable manifold. 17

21 Solving the system III Also, note that: F λ (k, 0; 0) = H 1 c λ + H 2 (c k k λ + c λ ) + H 4 k λ + H 6 = 0 is a linear and homogeneous system in c λ and k λ. Hence: c λ = k λ = 0 This means the system is certainty equivalent. Interpretation no precautionary behavior. Difference between risk-aversion and precautionary behavior. Leland (1968), Kimball (1990). Risk-aversion depends on the second derivative (concave utility). Precautionary behavior depends on the third derivative (convex marginal utility). 18

22 Comparison with linearization After Kydland and Prescott (1982) a popular method to solve economic models has been the use of a LQ approximation of the objective function of the agents. Close relative: linearization of equilibrium conditions. When properly implemented linearization, LQ, and first-order perturbation are equivalent. Advantages of linearization: 1. Theorems. 2. Higher order terms. 19

23 Second-order approximation We take second-order derivatives of F (k t, z t ; λ) around k, 0, and 0: F kk (k, 0; 0) = 0 F kz (k, 0; 0) = 0 F kλ (k, 0; 0) = 0 F zz (k, 0; 0) = 0 F zλ (k, 0; 0) = 0 F λλ (k, 0; 0) = 0 We substitute the coefficients that we already know. A linear system of 12 equations on 12 unknowns (remember Young s theorem!). Why linear? Cross-terms on kλ and zλ are zero. More general result: all the terms in odd derivatives of λ are zero. 20

24 Correction for risk We have the term 1 2 c λ2 (k, 0; 0). Captures precautionary behavior. We do not have certainty equivalence any more! Important advantage of second order approximation. Changes ergodic distribution of states. 21

25 Higher-order terms We can continue the iteration for as long as we want. Great advantage of procedure: it is recursive! Often, a few iterations will be enough. The level of accuracy depends on the goal of the exercise: 1. Welfare analysis: Kim and Kim (2001). 2. Empirical strategies: Fernández-Villaverde, Rubio-Ramírez, and Santos (2006). 22

26 A Numerical Example

27 A numerical example Steady State: Parameter β α ρ σ Value c = k = First-order components: Second-order components: c k (k, 0; 0) = k k (k, 0; 0) = 0.33 c z (k, 0; 0) = k z (k, 0; 0) = c kk (k, 0; 0) = k kk (k, 0; 0) = c kz (k, 0; 0) = k kz (k, 0; 0) = 0.33 c zz (k, 0; 0) = k zz (k, 0; 0) = c λ 2 (k, 0; 0) = 0 k λ 2 (k, 0; 0) = 0 c λ (k, 0; 0) = k λ (k, 0; 0) = c kλ (k, 0; 0) = k kλ (k, 0; 0) = c zλ (k, 0; 0) = k zλ (k, 0; 0) = 0. 23

28 Comparison c t = e zt k 0.33 t and: c t (k t k) z t (k t k) (k t k) z t zt k t+1 = e zt k 0.33 t k t (k t k) z t (k t k) (k t k) z t zt

29 Capital Next Period Capital Next Period Comparison of exact and first-order solution Exact First-order Capital Current Period Comparison of exact and second-order solution Exact Second-order Capital Current Period 25

30 Computer In practice you do all this approximations with a computer: 1. First-, second-, and third- order: Dynare. 2. Higher order: Mathematica, Dynare++. Burden: analytical derivatives. Why are numerical derivatives a bad idea? Alternatives: automatic differentiation? 26

31 Local properties of the solution I Perturbation is a local method. It approximates the solution around the deterministic steady state of the problem. It is valid within a radius of convergence. 27

32 Local properties of the solution II What is the radius of convergence of a power series around x? An r R + that x, x z < r, the power series of x will converge. such A Remarkable Result from Complex Analysis The radius of convergence is always equal to the distance from the center to the nearest point where the decision rule has a (non-removable) singularity. If no such point exists then the radius of convergence is infinite. Singularity here refers to poles, fractional powers, and other branch powers or discontinuities of the functional or its derivatives. 28

33 Local properties of the solution III Holomorphic functions are analytic: 1. A function is holomorphic at a point x if it is differentiable at every point within some open disk centered at x. 2. A function is analytic at x if in some open disk centered at x it can be expanded as a convergent power series: f (z) = θ n (z x) n Distance is in the complex plane. n=0 Often, we can check numerically that perturbations have good non-local behavior. However: problem with boundaries. 29

34 Non-local accuracy test Proposed by Judd (1992) and Judd and Guu (1997). Given the Euler equation: 1 c i (k t, z t ) = E t ( αe z t+1 k i (k t, z t ) α 1 ) c i (k i (k t, z t ), z t+1 ) we can define: ( αe EE i (k t, z t ) 1 c i z t+1 k i (k t, z t ) α 1 ) (k t, z t ) E t c i (k i (k t, z t ), z t+1 ) Units of reporting. Interpretation. 30

35 Figure 8: Euler Equation Errors at z = 0, τ = 2 / σ = Perturbation 1: Log-Linear -4 Perturbation 1: Linear Log10 Euler Equation Error Perturbation 2: Quadratic -8 Perturbation Capital 31

36 Figure 9: Euler Equation Errors at z = 0, τ = 2 / σ = Perturbation 1: Linear -4 Value Function Iteration -5 Log10 Euler Equation Error Finite Elements -9 Chebyshev Polynomials Capital 32

An Introduction to Perturbation Methods in Macroeconomics. Jesús Fernández-Villaverde University of Pennsylvania

An Introduction to Perturbation Methods in Macroeconomics. Jesús Fernández-Villaverde University of Pennsylvania An Introduction to Perturbation Methods in Macroeconomics Jesús Fernández-Villaverde University of Pennsylvania 1 Introduction Numerous problems in macroeconomics involve functional equations of the form:

More information

Solution Methods. Jesús Fernández-Villaverde. University of Pennsylvania. March 16, 2016

Solution Methods. Jesús Fernández-Villaverde. University of Pennsylvania. March 16, 2016 Solution Methods Jesús Fernández-Villaverde University of Pennsylvania March 16, 2016 Jesús Fernández-Villaverde (PENN) Solution Methods March 16, 2016 1 / 36 Functional equations A large class of problems

More information

Perturbation Methods

Perturbation Methods Perturbation Methods Jesús Fernández-Villaverde University of Pennsylvania May 28, 2015 Jesús Fernández-Villaverde (PENN) Perturbation Methods May 28, 2015 1 / 91 Introduction Introduction Remember that

More information

A Model with Collateral Constraints

A Model with Collateral Constraints A Model with Collateral Constraints Jesús Fernández-Villaverde University of Pennsylvania December 2, 2012 Jesús Fernández-Villaverde (PENN) Collateral Constraints December 2, 2012 1 / 47 Motivation Kiyotaki

More information

Value Function Iteration

Value Function Iteration Value Function Iteration (Lectures on Solution Methods for Economists II) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 26, 2018 1 University of Pennsylvania 2 Boston College Theoretical Background

More information

Linearization. (Lectures on Solution Methods for Economists V: Appendix) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 21, 2018

Linearization. (Lectures on Solution Methods for Economists V: Appendix) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 21, 2018 Linearization (Lectures on Solution Methods for Economists V: Appendix) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 21, 2018 1 University of Pennsylvania 2 Boston College Basic RBC Benchmark

More information

Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations

Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations Sungbae An Singapore Management University Bank Indonesia/BIS Workshop: STRUCTURAL DYNAMIC MACROECONOMIC MODELS IN ASIA-PACIFIC

More information

Comparing Solution Methods for. Dynamic Equilibrium Economies

Comparing Solution Methods for. Dynamic Equilibrium Economies Comparing Solution Methods for Dynamic Equilibrium Economies S. Borağan Aruoba University of Pennsylvania Jesús Fernández-Villaverde University of Pennsylvania Juan F. Rubio-Ramírez Federal Reserve Bank

More information

Perturbation Methods with Nonlinear Changes of Variables K L. J H I S, CA April, 2002

Perturbation Methods with Nonlinear Changes of Variables K L. J H I S, CA April, 2002 Perturbation Methods with Nonlinear Changes of Variables K L. J H I S, CA 94305 @.. April, 2002 A. The perturbation method is commonly used to approximate solutions to dynamic economic models. Two types

More information

Solving DSGE Models with a Nonlinear Moving Average

Solving DSGE Models with a Nonlinear Moving Average SFB 649 Discussion Paper 211-87 Solving DSGE Models with a Nonlinear Moving Average Hong Lan* Alexander Meyer-Gohde* * Humboldt-Universität zu Berlin, Germany SFB 6 4 9 E C O N O M I C R I S K B E R L

More information

Perturbation Methods II: General Case

Perturbation Methods II: General Case Perturbation Methods II: General Case (Lectures on Solution Methods for Economists VI) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 21, 2018 1 University of Pennsylvania 2 Boston College The

More information

High-dimensional Problems in Finance and Economics. Thomas M. Mertens

High-dimensional Problems in Finance and Economics. Thomas M. Mertens High-dimensional Problems in Finance and Economics Thomas M. Mertens NYU Stern Risk Economics Lab April 17, 2012 1 / 78 Motivation Many problems in finance and economics are high dimensional. Dynamic Optimization:

More information

Solving DSGE Models with a Nonlinear Moving Average

Solving DSGE Models with a Nonlinear Moving Average Solving DSGE Models with a Nonlinear Moving Average Hong Lan Alexander Meyer-Gohde This Version: July, Abstract We propose a nonlinear infinite moving average as an alternative to the standard state space

More information

Projection Methods. (Lectures on Solution Methods for Economists IV) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 7, 2018

Projection Methods. (Lectures on Solution Methods for Economists IV) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 7, 2018 Projection Methods (Lectures on Solution Methods for Economists IV) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 7, 2018 1 University of Pennsylvania 2 Boston College Introduction Remember that

More information

Suggested Solutions to Homework #6 Econ 511b (Part I), Spring 2004

Suggested Solutions to Homework #6 Econ 511b (Part I), Spring 2004 Suggested Solutions to Homework #6 Econ 511b (Part I), Spring 2004 1. (a) Find the planner s optimal decision rule in the stochastic one-sector growth model without valued leisure by linearizing the Euler

More information

NBER WORKING PAPER SERIES SOLUTION AND ESTIMATION METHODS FOR DSGE MODELS. Jesús Fernández-Villaverde Juan F. Rubio Ramírez Frank Schorfheide

NBER WORKING PAPER SERIES SOLUTION AND ESTIMATION METHODS FOR DSGE MODELS. Jesús Fernández-Villaverde Juan F. Rubio Ramírez Frank Schorfheide NBER WORKING PAPER SERIES SOLUTION AND ESTIMATION METHODS FOR DSGE MODELS Jesús Fernández-Villaverde Juan F. Rubio Ramírez Frank Schorfheide Working Paper 21862 http://www.nber.org/papers/w21862 NATIONAL

More information

Solving Nonlinear Rational Expectations Models by Approximating the Stochastic Equilibrium System

Solving Nonlinear Rational Expectations Models by Approximating the Stochastic Equilibrium System Solving Nonlinear Rational Expectations Models by Approximating the Stochastic Equilibrium System Michael P. Evers September 20, 2012 Revised version coming soon! Abstract Dynamic stochastic rational expectations

More information

Risky Linear Approximations

Risky Linear Approximations Risky Linear Approximations Alexander Meyer-Gohde This Version: June 13, 2014 Abstract I construct risk-corrected approximations around the stochastic steady state and ergodic mean that are linear in the

More information

Introduction to Numerical Methods

Introduction to Numerical Methods Introduction to Numerical Methods Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan "D", "S", & "GE" Dynamic Stochastic General Equilibrium What is missing in the abbreviation? DSGE

More information

Perturbation and Projection Methods for Solving DSGE Models

Perturbation and Projection Methods for Solving DSGE Models Perturbation and Projection Methods for Solving DSGE Models Lawrence J. Christiano Discussion of projections taken from Christiano Fisher, Algorithms for Solving Dynamic Models with Occasionally Binding

More information

Deterministic Models

Deterministic Models Deterministic Models Perfect foreight, nonlinearities and occasionally binding constraints Sébastien Villemot CEPREMAP June 10, 2014 Sébastien Villemot (CEPREMAP) Deterministic Models June 10, 2014 1 /

More information

Lecture 7: Linear-Quadratic Dynamic Programming Real Business Cycle Models

Lecture 7: Linear-Quadratic Dynamic Programming Real Business Cycle Models Lecture 7: Linear-Quadratic Dynamic Programming Real Business Cycle Models Shinichi Nishiyama Graduate School of Economics Kyoto University January 10, 2019 Abstract In this lecture, we solve and simulate

More information

Nonlinear and Stable Perturbation-Based Approximations

Nonlinear and Stable Perturbation-Based Approximations Nonlinear and Stable Perturbation-Based Approximations Wouter J. Den Haan and Joris De Wind April 26, 2012 Abstract Users of regular higher-order perturbation approximations can face two problems: policy

More information

FEDERAL RESERVE BANK of ATLANTA

FEDERAL RESERVE BANK of ATLANTA FEDERAL RESERVE BANK of ATLANTA On the Solution of the Growth Model with Investment-Specific Technological Change Jesús Fernández-Villaverde and Juan Francisco Rubio-Ramírez Working Paper 2004-39 December

More information

Matlab Programming and Quantitative Economic Theory

Matlab Programming and Quantitative Economic Theory Matlab Programming and Quantitative Economic Theory Patrick Bunk and Hong Lan SFB C7 Humboldt University of Berlin June 4, 2010 Patrick Bunk and Hong Lan (SFB C7 Humboldt Matlab University Programming

More information

Stochastic simulations with DYNARE. A practical guide.

Stochastic simulations with DYNARE. A practical guide. Stochastic simulations with DYNARE. A practical guide. Fabrice Collard (GREMAQ, University of Toulouse) Adapted for Dynare 4.1 by Michel Juillard and Sébastien Villemot (CEPREMAP) First draft: February

More information

Lecture 4: Analysis of Optimal Trajectories, Transition Dynamics in Growth Model

Lecture 4: Analysis of Optimal Trajectories, Transition Dynamics in Growth Model Lecture 4: Analysis of Optimal Trajectories, Transition Dynamics in Growth Model ECO 503: Macroeconomic Theory I Benjamin Moll Princeton University Fall 2014 1 / 30 Plan of Lecture 1 Linearization around

More information

Dynare. Wouter J. Den Haan London School of Economics. c by Wouter J. Den Haan

Dynare. Wouter J. Den Haan London School of Economics. c by Wouter J. Den Haan Dynare Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan Introduction What is the objective of perturbation? Peculiarities of Dynare & some examples Incorporating Dynare in other Matlab

More information

Taking Perturbation to the Accuracy Frontier: A Hybrid of Local and Global Solutions

Taking Perturbation to the Accuracy Frontier: A Hybrid of Local and Global Solutions Dynare Working Papers Series http://www.dynare.org/wp/ Taking Perturbation to the Accuracy Frontier: A Hybrid of Local and Global Solutions Lilia Maliar Serguei Maliar Sébastien Villemot Working Paper

More information

Why Nonlinear/Non-Gaussian DSGE Models?

Why Nonlinear/Non-Gaussian DSGE Models? Why Nonlinear/Non-Gaussian DSGE Models? Jesús Fernández-Villaverde University of Pennsylvania July 10, 2011 Jesús Fernández-Villaverde (PENN) Nonlinear/Non-Gaussian DSGE July 10, 2011 1 / 38 Motivation

More information

Risk Matters: Breaking Certainty Equivalence

Risk Matters: Breaking Certainty Equivalence Risk Matters: Breaking Certainty Equivalence Juan Carlos Parra-Alvarez (a,c), Hamza Polattimur (b), and Olaf Posch (b,c) (a) Aarhus University, (b) Universität Hamburg, (c) CREATES February 2017 Abstract

More information

An approximate consumption function

An approximate consumption function An approximate consumption function Mario Padula Very Preliminary and Very Incomplete 8 December 2005 Abstract This notes proposes an approximation to the consumption function in the buffer-stock model.

More information

Linear-Quadratic Optimal Control: Full-State Feedback

Linear-Quadratic Optimal Control: Full-State Feedback Chapter 4 Linear-Quadratic Optimal Control: Full-State Feedback 1 Linear quadratic optimization is a basic method for designing controllers for linear (and often nonlinear) dynamical systems and is actually

More information

Perturbation Methods for Markov-Switching DSGE Models

Perturbation Methods for Markov-Switching DSGE Models Perturbation Methods for Markov-Switching DSGE Models Andrew Foerster, Juan Rubio-Ramirez, Daniel F. Waggoner, and Tao Zha February 2013; Revised November 2015 RWP 13-01 PERTURBATION METHODS FOR MARKOV-SWITCHING

More information

A simple macro dynamic model with endogenous saving rate: the representative agent model

A simple macro dynamic model with endogenous saving rate: the representative agent model A simple macro dynamic model with endogenous saving rate: the representative agent model Virginia Sánchez-Marcos Macroeconomics, MIE-UNICAN Macroeconomics (MIE-UNICAN) A simple macro dynamic model with

More information

Approximation around the risky steady state

Approximation around the risky steady state Approximation around the risky steady state Centre for International Macroeconomic Studies Conference University of Surrey Michel Juillard, Bank of France September 14, 2012 The views expressed herein

More information

Perturbation and Projection Methods for Solving DSGE Models

Perturbation and Projection Methods for Solving DSGE Models Perturbation and Projection Methods for Solving DSGE Models Lawrence J. Christiano Discussion of projections taken from Christiano Fisher, Algorithms for Solving Dynamic Models with Occasionally Binding

More information

Asset pricing in DSGE models comparison of different approximation methods

Asset pricing in DSGE models comparison of different approximation methods Asset pricing in DSGE models comparison of different approximation methods 1 Introduction Jan Acedański 1 Abstract. There are many numerical methods suitable for approximating solutions of DSGE models.

More information

1 Bewley Economies with Aggregate Uncertainty

1 Bewley Economies with Aggregate Uncertainty 1 Bewley Economies with Aggregate Uncertainty Sofarwehaveassumedawayaggregatefluctuations (i.e., business cycles) in our description of the incomplete-markets economies with uninsurable idiosyncratic risk

More information

Computing DSGE Models with Recursive Preferences

Computing DSGE Models with Recursive Preferences Computing DSGE Models with Recursive Preferences Dario Caldara IIES Jesús Fernández-Villaverde University of Pennsylvania, NBER, CEPR, and FEDEA Juan F. Rubio-Ramírez Duke University, Federal Reserve Bank

More information

Applications for solving DSGE models. October 25th, 2011

Applications for solving DSGE models. October 25th, 2011 MATLAB Workshop Applications for solving DSGE models Freddy Rojas Cama Marola Castillo Quinto Preliminary October 25th, 2011 A model to solve The model The model A model is set up in order to draw conclusions

More information

Estimating Macroeconomic Models: A Likelihood Approach

Estimating Macroeconomic Models: A Likelihood Approach Estimating Macroeconomic Models: A Likelihood Approach Jesús Fernández-Villaverde University of Pennsylvania, NBER, and CEPR Juan Rubio-Ramírez Federal Reserve Bank of Atlanta Estimating Dynamic Macroeconomic

More information

Computational Complexity

Computational Complexity Computational Complexity (Lectures on Solution Methods for Economists II: Appendix) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 18, 2018 1 University of Pennsylvania 2 Boston College Computational

More information

A Modern Equilibrium Model. Jesús Fernández-Villaverde University of Pennsylvania

A Modern Equilibrium Model. Jesús Fernández-Villaverde University of Pennsylvania A Modern Equilibrium Model Jesús Fernández-Villaverde University of Pennsylvania 1 Household Problem Preferences: max E X β t t=0 c 1 σ t 1 σ ψ l1+γ t 1+γ Budget constraint: c t + k t+1 = w t l t + r t

More information

Lecture 1. Evolution of Market Concentration

Lecture 1. Evolution of Market Concentration Lecture 1 Evolution of Market Concentration Take a look at : Doraszelski and Pakes, A Framework for Applied Dynamic Analysis in IO, Handbook of I.O. Chapter. (see link at syllabus). Matt Shum s notes are

More information

Real Business Cycle Model (RBC)

Real Business Cycle Model (RBC) Real Business Cycle Model (RBC) Seyed Ali Madanizadeh November 2013 RBC Model Lucas 1980: One of the functions of theoretical economics is to provide fully articulated, artificial economic systems that

More information

Solving Deterministic Models

Solving Deterministic Models Solving Deterministic Models Shanghai Dynare Workshop Sébastien Villemot CEPREMAP October 27, 2013 Sébastien Villemot (CEPREMAP) Solving Deterministic Models October 27, 2013 1 / 42 Introduction Deterministic

More information

Projection. Wouter J. Den Haan London School of Economics. c by Wouter J. Den Haan

Projection. Wouter J. Den Haan London School of Economics. c by Wouter J. Den Haan Projection Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan Model [ ] ct ν = E t βct+1 ν αz t+1kt+1 α 1 c t + k t+1 = z t k α t ln(z t+1 ) = ρ ln (z t ) + ε t+1 ε t+1 N(0, σ 2 ) k

More information

Projection Methods. Felix Kubler 1. October 10, DBF, University of Zurich and Swiss Finance Institute

Projection Methods. Felix Kubler 1. October 10, DBF, University of Zurich and Swiss Finance Institute Projection Methods Felix Kubler 1 1 DBF, University of Zurich and Swiss Finance Institute October 10, 2017 Felix Kubler Comp.Econ. Gerzensee, Ch5 October 10, 2017 1 / 55 Motivation In many dynamic economic

More information

Economic Growth: Lecture 13, Stochastic Growth

Economic Growth: Lecture 13, Stochastic Growth 14.452 Economic Growth: Lecture 13, Stochastic Growth Daron Acemoglu MIT December 10, 2013. Daron Acemoglu (MIT) Economic Growth Lecture 13 December 10, 2013. 1 / 52 Stochastic Growth Models Stochastic

More information

Topic 5: The Difference Equation

Topic 5: The Difference Equation Topic 5: The Difference Equation Yulei Luo Economics, HKU October 30, 2017 Luo, Y. (Economics, HKU) ME October 30, 2017 1 / 42 Discrete-time, Differences, and Difference Equations When time is taken to

More information

HOMEWORK #1 This homework assignment is due at 5PM on Friday, November 3 in Marnix Amand s mailbox.

HOMEWORK #1 This homework assignment is due at 5PM on Friday, November 3 in Marnix Amand s mailbox. Econ 50a (second half) Yale University Fall 2006 Prof. Tony Smith HOMEWORK # This homework assignment is due at 5PM on Friday, November 3 in Marnix Amand s mailbox.. Consider a growth model with capital

More information

Linearized Euler Equation Methods

Linearized Euler Equation Methods Linearized Euler Equation Methods Quantitative Macroeconomics [Econ 5725] Raül Santaeulàlia-Llopis Washington University in St. Louis Spring 206 Raül Santaeulàlia-Llopis (Wash.U.) Linearized Euler Equation

More information

A comparison of numerical methods for the. Solution of continuous-time DSGE models. Juan Carlos Parra Alvarez

A comparison of numerical methods for the. Solution of continuous-time DSGE models. Juan Carlos Parra Alvarez A comparison of numerical methods for the solution of continuous-time DSGE models Juan Carlos Parra Alvarez Department of Economics and Business, and CREATES Aarhus University, Denmark November 14, 2012

More information

First order approximation of stochastic models

First order approximation of stochastic models First order approximation of stochastic models Shanghai Dynare Workshop Sébastien Villemot CEPREMAP October 27, 2013 Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October

More information

Discussion Multiple Equilibria in Open Economy Models with Collateral Constraints: Overborrowing Revisited

Discussion Multiple Equilibria in Open Economy Models with Collateral Constraints: Overborrowing Revisited Discussion Multiple Equilibria in Open Economy Models with Collateral Constraints: Overborrowing Revisited by Stephanie Schmitt-Grohé and Martín Uribe Eduardo Dávila NYU Stern NBER IFM Spring 2016 1 /

More information

Advanced Econometrics III, Lecture 5, Dynamic General Equilibrium Models Example 1: A simple RBC model... 2

Advanced Econometrics III, Lecture 5, Dynamic General Equilibrium Models Example 1: A simple RBC model... 2 Advanced Econometrics III, Lecture 5, 2017 1 Contents 1 Dynamic General Equilibrium Models 2 1.1 Example 1: A simple RBC model.................... 2 1.2 Approximation Method Based on Linearization.............

More information

DSGE (3): BASIC NEOCLASSICAL MODELS (2): APPROACHES OF SOLUTIONS

DSGE (3): BASIC NEOCLASSICAL MODELS (2): APPROACHES OF SOLUTIONS DSGE (3): Stochastic neoclassical growth models (2): how to solve? 27 DSGE (3): BASIC NEOCLASSICAL MODELS (2): APPROACHES OF SOLUTIONS. Recap of basic neoclassical growth models and log-linearisation 2.

More information

NBER WORKING PAPER SERIES PERTURBATION METHODS FOR MARKOV-SWITCHING DSGE MODELS. Andrew Foerster Juan Rubio-Ramírez Daniel F.

NBER WORKING PAPER SERIES PERTURBATION METHODS FOR MARKOV-SWITCHING DSGE MODELS. Andrew Foerster Juan Rubio-Ramírez Daniel F. NBER WORKING PAPER SERIES PERTURBATION METHODS FOR MARKOV-SWITCHING DSGE MODELS Andrew Foerster Juan Rubio-Ramírez Daniel F. Waggoner Tao Zha Working Paper 20390 http://www.nber.org/papers/w20390 NATIONAL

More information

Section 5.2 Series Solution Near Ordinary Point

Section 5.2 Series Solution Near Ordinary Point DE Section 5.2 Series Solution Near Ordinary Point Page 1 of 5 Section 5.2 Series Solution Near Ordinary Point We are interested in second order homogeneous linear differential equations with variable

More information

Practical Dynamic Programming: An Introduction. Associated programs dpexample.m: deterministic dpexample2.m: stochastic

Practical Dynamic Programming: An Introduction. Associated programs dpexample.m: deterministic dpexample2.m: stochastic Practical Dynamic Programming: An Introduction Associated programs dpexample.m: deterministic dpexample2.m: stochastic Outline 1. Specific problem: stochastic model of accumulation from a DP perspective

More information

A Method for Solving and Estimating Heterogenous Agent Macro Models (by Thomas Winberry)

A Method for Solving and Estimating Heterogenous Agent Macro Models (by Thomas Winberry) A Method for Solving and Estimating Heterogenous Agent Macro Models (by Thomas Winberry) Miguel Angel Cabello Macro Reading Group October, 2018 Miguel Cabello Perturbation and HA Models 1 / 95 Outline

More information

The Market Resources Method for Solving Dynamic Optimization Problems *

The Market Resources Method for Solving Dynamic Optimization Problems * Federal Reserve Bank of Dallas Globalization and Monetary Policy Institute Working Paper No. 274 http://www.dallasfed.org/assets/documents/institute/wpapers/2016/0274.pdf The Market Resources Method for

More information

Eco504, Part II Spring 2010 C. Sims PITFALLS OF LINEAR APPROXIMATION OF STOCHASTIC MODELS

Eco504, Part II Spring 2010 C. Sims PITFALLS OF LINEAR APPROXIMATION OF STOCHASTIC MODELS Eco504, Part II Spring 2010 C. Sims PITFALLS OF LINEAR APPROXIMATION OF STOCHASTIC MODELS 1. A LIST OF PITFALLS Linearized models are of course valid only locally. In stochastic economic models, this usually

More information

Solving Models with Heterogeneous Agents: Reiter Hybrid Method

Solving Models with Heterogeneous Agents: Reiter Hybrid Method Solving Models with Heterogeneous Agents: Reiter Hybrid Method Wouter J. Den Haan London School of Economics c Wouter J. Den Haan Background Macroeconomic models with heterogeneous agents: idiosyncratic

More information

Working Paper Series. on approximating Dsge models. expansions. No 1264 / november by Giovanni Lombardo

Working Paper Series. on approximating Dsge models. expansions. No 1264 / november by Giovanni Lombardo Working Paper Series No 1264 / november 21 on approximating Dsge models by series expansions by Giovanni Lombardo WORKING PAPER SERIES NO 1264 / NOVEMBER 21 ON APPROXIMATING DSGE MODELS BY SERIES EXPANSIONS

More information

Foundation of (virtually) all DSGE models (e.g., RBC model) is Solow growth model

Foundation of (virtually) all DSGE models (e.g., RBC model) is Solow growth model THE BASELINE RBC MODEL: THEORY AND COMPUTATION FEBRUARY, 202 STYLIZED MACRO FACTS Foundation of (virtually all DSGE models (e.g., RBC model is Solow growth model So want/need/desire business-cycle models

More information

Macroeconomics Theory II

Macroeconomics Theory II Macroeconomics Theory II Francesco Franco FEUNL February 2016 Francesco Franco (FEUNL) Macroeconomics Theory II February 2016 1 / 18 Road Map Research question: we want to understand businesses cycles.

More information

Session 2 Working with Dynare

Session 2 Working with Dynare Session 2 Working with Dynare Seminar: Macroeconomics and International Economics Philipp Wegmüller UniBern Spring 2015 Philipp Wegmüller (UniBern) Session 2 Working with Dynare Spring 2015 1 / 20 Dynare

More information

... Solving Dynamic General Equilibrium Models Using Log Linear Approximation

... Solving Dynamic General Equilibrium Models Using Log Linear Approximation ... Solving Dynamic General Equilibrium Models Using Log Linear Approximation 1 Log-linearization strategy Example #1: A Simple RBC Model. Define a Model Solution Motivate the Need to Somehow Approximate

More information

1 The Basic RBC Model

1 The Basic RBC Model IHS 2016, Macroeconomics III Michael Reiter Ch. 1: Notes on RBC Model 1 1 The Basic RBC Model 1.1 Description of Model Variables y z k L c I w r output level of technology (exogenous) capital at end of

More information

ECOM 009 Macroeconomics B. Lecture 2

ECOM 009 Macroeconomics B. Lecture 2 ECOM 009 Macroeconomics B Lecture 2 Giulio Fella c Giulio Fella, 2014 ECOM 009 Macroeconomics B - Lecture 2 40/197 Aim of consumption theory Consumption theory aims at explaining consumption/saving decisions

More information

Comparing Accuracy of Second Order Approximation and Dynamic Programming

Comparing Accuracy of Second Order Approximation and Dynamic Programming Comparing Accuracy of Second Order Approximation and Dynamic Programming Stephanie Becker, Lars Grüne and Willi Semmler June 6, revised version January 7 Abstract The accuracy of the solution of dynamic

More information

Monetary Economics: Solutions Problem Set 1

Monetary Economics: Solutions Problem Set 1 Monetary Economics: Solutions Problem Set 1 December 14, 2006 Exercise 1 A Households Households maximise their intertemporal utility function by optimally choosing consumption, savings, and the mix of

More information

Solving DSGE models with perturbation methods and a change of variables

Solving DSGE models with perturbation methods and a change of variables Journal of Economic Dynamics & Control 3 (26) 259 2531 www.elsevier.com/locate/jedc Solving DSGE models with perturbation methods and a change of variables Jesu s Fernández-Villaverde a,, Juan F. Rubio-Ramı

More information

Parameterized Expectations Algorithm

Parameterized Expectations Algorithm Parameterized Expectations Algorithm Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan Overview Two PEA algorithms Explaining stochastic simulations PEA Advantages and disadvantages

More information

1 Numerical Methods to Solve the Income-Fluctuation Problem

1 Numerical Methods to Solve the Income-Fluctuation Problem 1 Numerical Methods to Solve the Income-Fluctuation Problem 1.1 Tauchen s method to approximate a continuous income process In many of the problems we studied in the previous chapter, we postulated that

More information

1. Using the model and notations covered in class, the expected returns are:

1. Using the model and notations covered in class, the expected returns are: Econ 510a second half Yale University Fall 2006 Prof. Tony Smith HOMEWORK #5 This homework assignment is due at 5PM on Friday, December 8 in Marnix Amand s mailbox. Solution 1. a In the Mehra-Prescott

More information

Indivisible Labor and the Business Cycle

Indivisible Labor and the Business Cycle Indivisible Labor and the Business Cycle By Gary Hansen Zhe Li SUFE Fall 2010 Zhe Li (SUFE) Advanced Macroeconomics III Fall 2010 1 / 14 Motivation Kydland and Prescott (1982) Equilibrium theory of the

More information

HOMEWORK #3 This homework assignment is due at NOON on Friday, November 17 in Marnix Amand s mailbox.

HOMEWORK #3 This homework assignment is due at NOON on Friday, November 17 in Marnix Amand s mailbox. Econ 50a second half) Yale University Fall 2006 Prof. Tony Smith HOMEWORK #3 This homework assignment is due at NOON on Friday, November 7 in Marnix Amand s mailbox.. This problem introduces wealth inequality

More information

MA Advanced Macroeconomics: 7. The Real Business Cycle Model

MA Advanced Macroeconomics: 7. The Real Business Cycle Model MA Advanced Macroeconomics: 7. The Real Business Cycle Model Karl Whelan School of Economics, UCD Spring 2016 Karl Whelan (UCD) Real Business Cycles Spring 2016 1 / 38 Working Through A DSGE Model We have

More information

Solving Heterogeneous Agent Models with Dynare

Solving Heterogeneous Agent Models with Dynare Solving Heterogeneous Agent Models with Dynare Wouter J. Den Haan University of Amsterdam March 12, 2009 Individual agent Subject to employment, i.e., labor supply shocks: e i,t = ρ e e i,t 1 + ε i,t ε

More information

Decentralised economies I

Decentralised economies I Decentralised economies I Martin Ellison 1 Motivation In the first two lectures on dynamic programming and the stochastic growth model, we solved the maximisation problem of the representative agent. More

More information

Solving Models with Heterogeneous Agents Xpa algorithm

Solving Models with Heterogeneous Agents Xpa algorithm Solving Models with Heterogeneous Agents Xpa algorithm Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan Individual agent Subject to employment shocks ε i,t {0, 1} or ε i,t {u, e} Incomplete

More information

Lecture VI. Linearization Methods

Lecture VI. Linearization Methods Lecture VI Linearization Methods Gianluca Violante New York University Quantitative Macroeconomics G. Violante, Perturbation Methods p. 1 /40 Local Approximations DSGE models are characterized by a set

More information

WORKING PAPER SERIES A THEORY OF PRUNING NO 1696 / JULY Giovanni Lombardo and Harald Uhlig

WORKING PAPER SERIES A THEORY OF PRUNING NO 1696 / JULY Giovanni Lombardo and Harald Uhlig WORKING PAPER SERIES NO 1696 / JULY 2014 A THEORY OF PRUNING Giovanni Lombardo and Harald Uhlig In 2014 all ECB publications feature a motif taken from the 20 banknote. NOTE: This Working Paper should

More information

Modeling Macroeconomic Risk

Modeling Macroeconomic Risk Modeling Macroeconomic Risk David Backus, Håkon Tretvoll, and Stanley Zin Wash U & St Louis Fed September 21, 2011 This version: September 20, 2011 Backus, Tretvoll, & Zin (NYU) Macroeconomic Risk 1 /

More information

Suggested Solutions to Homework #3 Econ 511b (Part I), Spring 2004

Suggested Solutions to Homework #3 Econ 511b (Part I), Spring 2004 Suggested Solutions to Homework #3 Econ 5b (Part I), Spring 2004. Consider an exchange economy with two (types of) consumers. Type-A consumers comprise fraction λ of the economy s population and type-b

More information

What are we going to do?

What are we going to do? RBC Model Analyzes to what extent growth and business cycles can be generated within the same framework Uses stochastic neoclassical growth model (Brock-Mirman model) as a workhorse, which is augmented

More information

Graduate Macroeconomics - Econ 551

Graduate Macroeconomics - Econ 551 Graduate Macroeconomics - Econ 551 Tack Yun Indiana University Seoul National University Spring Semester January 2013 T. Yun (SNU) Macroeconomics 1/07/2013 1 / 32 Business Cycle Models for Emerging-Market

More information

Risk and Ambiguity in Models of Business Cycles

Risk and Ambiguity in Models of Business Cycles Risk and Ambiguity in Models of Business Cycles Dave Backus, Axelle Ferriere, and Stan Zin North American Meetings of the Econometric Society June 20, 2014 This version: August 2, 2014 The Great Recession

More information

Second-order approximation of dynamic models without the use of tensors

Second-order approximation of dynamic models without the use of tensors Second-order approximation of dynamic models without the use of tensors Paul Klein a, a University of Western Ontario First draft: May 17, 2005 This version: January 24, 2006 Abstract Several approaches

More information

Lecture 2 The Centralized Economy

Lecture 2 The Centralized Economy Lecture 2 The Centralized Economy Economics 5118 Macroeconomic Theory Kam Yu Winter 2013 Outline 1 Introduction 2 The Basic DGE Closed Economy 3 Golden Rule Solution 4 Optimal Solution The Euler Equation

More information

Optimal Simple And Implementable Monetary and Fiscal Rules

Optimal Simple And Implementable Monetary and Fiscal Rules Optimal Simple And Implementable Monetary and Fiscal Rules Stephanie Schmitt-Grohé Martín Uribe Duke University September 2007 1 Welfare-Based Policy Evaluation: Related Literature (ex: Rotemberg and Woodford,

More information

Economic Growth: Lecture 8, Overlapping Generations

Economic Growth: Lecture 8, Overlapping Generations 14.452 Economic Growth: Lecture 8, Overlapping Generations Daron Acemoglu MIT November 20, 2018 Daron Acemoglu (MIT) Economic Growth Lecture 8 November 20, 2018 1 / 46 Growth with Overlapping Generations

More information

THE ZERO LOWER BOUND: FREQUENCY, DURATION,

THE ZERO LOWER BOUND: FREQUENCY, DURATION, THE ZERO LOWER BOUND: FREQUENCY, DURATION, AND NUMERICAL CONVERGENCE Alexander W. Richter Auburn University Nathaniel A. Throckmorton DePauw University INTRODUCTION Popular monetary policy rule due to

More information

SOLVING LINEAR RATIONAL EXPECTATIONS MODELS. Three ways to solve a linear model

SOLVING LINEAR RATIONAL EXPECTATIONS MODELS. Three ways to solve a linear model SOLVING LINEAR RATIONAL EXPECTATIONS MODELS KRISTOFFER P. NIMARK Three ways to solve a linear model Solving a model using full information rational expectations as the equilibrium concept involves integrating

More information

Ambiguous Business Cycles: Online Appendix

Ambiguous Business Cycles: Online Appendix Ambiguous Business Cycles: Online Appendix By Cosmin Ilut and Martin Schneider This paper studies a New Keynesian business cycle model with agents who are averse to ambiguity (Knightian uncertainty). Shocks

More information

Uncertainty Per Krusell & D. Krueger Lecture Notes Chapter 6

Uncertainty Per Krusell & D. Krueger Lecture Notes Chapter 6 1 Uncertainty Per Krusell & D. Krueger Lecture Notes Chapter 6 1 A Two-Period Example Suppose the economy lasts only two periods, t =0, 1. The uncertainty arises in the income (wage) of period 1. Not that

More information

0.1 Tauchen s method to approximate a continuous income process

0.1 Tauchen s method to approximate a continuous income process University of Minnesota 8107 Macroeconomic Theory, Spring 2008, Mini2 Fabrizio Perri Notes on numerical methods for income fluctuations problems 0.1 Tauchen s method to approximate a continuous income

More information