An Introduction to Perturbation Methods in Macroeconomics. Jesús Fernández-Villaverde University of Pennsylvania
|
|
- Camron Hopkins
- 5 years ago
- Views:
Transcription
1 An Introduction to Perturbation Methods in Macroeconomics Jesús Fernández-Villaverde University of Pennsylvania 1
2 Introduction Numerous problems in macroeconomics involve functional equations of the form: H (d) =0 Examples: Value Function, Euler Equations. Regular equations are particular examples of functional equations. How do we solve functional equations? 2
3 Two Main Approaches 1. Projection Methods: d n (x, θ) = nx i=0 θ i Ψ i (x) We pick a basis {Ψ i (x)} i=0 and project H ( ) against that basis. 2. Perturbation Methods: d n (x, θ) = nx i=0 θ i (x x 0 ) i We use implicit-function theorems to find coefficients θ i. 3
4 Intuition of Perturbation Methods Most complicated problems have particular cases that are easy to solve. Often, we can use the solution to the particular case as a building block of the general solution. Very successful in physics. Judd and Guu (1993) showed how to apply it to economic problems. 4
5 ASimpleExample Imaginewewanttofind the (possible more than one) roots of: such that x<0. x 3 4.1x +0.2 =0 This a tricky, cubic equation. How do we do it? 5
6 Main Idea Transform the problem rewriting it in terms of a small perturbation parameter. Solve the new problem for a particular choice of the perturbation parameter. Use the previous solution to approximate the solution of original the problem. 6
7 Step 1: Transform the Problem Write the problem into a perturbation problem indexed by a small parameter ε. This step is usually ambiguous since there are different ways to do so. A natural, and convenient, choice for our case is to rewrite the equation as: where ε 0.1. x 3 (4 + ε) x +2ε =0 7
8 Step 2: Solve the New Problem Index the solutions as a function of the perturbation parameter x = g (ε): g (ε) 3 (4 + ε) g (ε)+2ε =0 andassumeeachofthissolutionissmooth(thiscanbeshowntobe the case for our particular example). Note that ε = 0 is easy to solve: x 3 4x =0 that has roots g (0) = 2, 0, 2. g (0) = 2. Since we require x < 0, we take 8
9 Step 3: Build the Approximated Solution By Taylor s Theorem: x = g (ε) ε=0 = g (0) + X n=1 g n (0) n! ε n Substitute the solution into the problem and recover the coefficients g (0) and gn (0) n! for n =1,... in an iterative way. Let s do it! 9
10 Zeroth -Order Approximation We just take ε =0. Before we found that g (0) = 2. Is this a good approximation? x 3 4.1x +0.2 = =0.4 It depends! 10
11 First -Order Approximation Take the derivative of g (ε) 3 (4 + ε) g (ε)+2ε =0withrespectto ε: 3g (ε) 2 g 0 (ε) g (ε) (4 + ε) g 0 (ε)+2=0 Set ε =0 3g (0) 2 g 0 (0) g (0) 4g 0 (0) + 2 = 0 Butwejustfoundthatg (0) = 2, so: that implies g 0 (0) = g 0 (0) + 4 = 0
12 First -Order Approximation By Taylor: x = g (ε) ε=0 ' g (0) + g1 (0) 1! ε 1 or x ' ε For our case ε 0.1 x = = 2.05 Is this a good approximation? x 3 4.1x +0.2 = =
13 Second -Order Approximation Takethederivativeof3g (ε) 2 g 0 (ε) g (ε) (4 + ε) g 0 (ε)+2 = 0 with respect to ε: 6g (ε) ³ g 0 (ε) 2 +3g (ε) 2 g 00 (ε) g 0 (ε) g 0 (ε) (4 + ε) g 00 (ε) =0 (1) Set ε =0 6g (0) ³ g 0 (0) 2 +3g (0) 2 g 00 (0) 2g 0 (0) 4g 00 (0) = 0 Since g (0) = 2 andg 0 (0) = 1 2, we get: 8g 00 (0) 2=0 that implies g 00 (0) =
14 Second -Order Approximation By Taylor:x = g (ε) ε=0 ' g (0) + g1 (0) 1! ε 1 + g2 (0) 2! ε 2 or x ' ε ε2 For our case ε 0.1 x = = Is this a good approximation? x 3 4.1x +0.2 = = e
15 Some Remarks The exact solution (up to machine precession of 14 decimal places) is x = A second-order approximation delivers: x = Relative error: Yes, this was a rigged, but suggestive, example. 15
16 A Couple of Points to Remember 1. We transformed the original problem into a perturbation problem in such a way that the zeroth-order approximation has an analytical solution. 2. Solving for the first iteration involves a nonlinear (although trivial in our case) equation. All further iterations only require to solve a linear equation in one unknown. 16
17 An Application in Macroeconomics: Basic RBC max E 0 X t=0 β {log c t } c t + k t+1 = e z t kt α +(1 δ) k t, t>0 z t = ρz t 1 + σε t, ε t N (0, 1) Equilibrium Conditions 1 1 ³ = βe t 1+αe z t+1 k c t c t+1 α 1 δ t+1 c t + k t+1 = e z t k α t +(1 δ) k t z t = ρz t 1 + σε t 17
18 Computing the RBC The previous problem does not have a known paper and pencil solution. Oneparticularcasethemodelhasaclosedformsolution:δ =1. Why? Because,theincomeandthesubstitutioneffect from a productivity shock cancel each other. Not very realistic but we are trying to learn here. 18
19 Solution By Guess and Verify c t =(1 αβ) e z t k α t k t+1 = αβe z t k α t How can you check? Plug the solution in the equilibrium conditions. 19
20 Another Way to Solve the Problem Now let us suppose that you missed the lecture where Guess and Verify was explained. You need to compute the RBC. What you are searching for? A policy functions for consumption: c t = c (k t,z t ) and another one for capital: k t+1 = k (k t,z t ) 20
21 Equilibrium Conditions We substitute in the equilibrium conditions the budget constraint and the law of motion for technology. Then, we have the equilibrium conditions: 1 c (k t,z t ) = βe αe ρz t+σε 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 z t kt α The Euler equation is the equivalent of x 3 4.1x +0.2 =0inour simple example, and c (k t,z t )andk (k t,z t ) are the equivalents of x. 21
22 A Perturbation Approach You want to transform the problem. Which perturbation parameter? standard deviation σ. Why σ? Set σ =0 deterministic model, z t =0ande z t =1. 22
23 Taylor s Theorem We search for policy function c t = c (k t,z t ; σ) andk t+1 = k (k t,z t ; σ). Equilibrium conditions: Ã 1 E t c (k t,z t ; σ) β αeρz t+σε t+1k (k t,z t ; σ) α 1! c (k (k t,z t ; σ), ρz t + σε t+1 ; σ) = 0 c (k t,z t ; σ)+k (k t,z t ; σ) e z t kt α = 0 We will take derivatives with respect to k t,z t, and σ. 23
24 Asymptotic Expansion c t = c (k t,z t ; σ) k,0,0 c t = 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) zt c zσ (k, 0; 0) z t σ c σk (k, 0; 0) σ (k t k)+ 1 2 c σz (k, 0; 0) σz t c σ 2 (k, 0; 0) σ
25 Asymptotic Expansion k t+1 = k (k t,z t ; σ) k,0,0 k t+1 = k (k, 0; 0) +k k (k, 0; 0) k t + 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) zt k zσ (k, 0; 0) z t σ k σk (k, 0; 0) σ (k t k)+ 1 2 k σz (k, 0; 0) σz t k σ 2 (k, 0; 0) σ
26 Comment on Notation From now on, to save on notation, I will just write F (k t,z t ; σ) =E t 1 c(k t,z t ;σ) β αeρz t +σε t+1k(k t,z t ;σ) α 1 c(k(k t,z t ;σ),ρz t +σε t+1 ;σ) c (k t,z t ; σ)+k (k t,z t ; σ) e z tk α t = " 0 0 # Note that: F (k t,z t ; σ) =H (c (k t,z t ; σ),c(k (k t,z t ; σ),z t+1 ; σ),k(k t,z t ; σ),k 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. 26
27 Zeroth -Order Approximation First, we evaluate σ =0: F (k t, 0; 0) = 0 Steady state: or, 1 βαkα 1 c = c 1=αβk α 1 27
28 Steady State Then: c = c (k, 0; 0) = (αβ) α 1 α (αβ) 1 1 α k = k (k, 0; 0) = (αβ) 1 1 α Howgoodisthisapproximation? 28
29 First -Order Approximation We take derivatives of F (k t,z t ; σ) aroundk, 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 29
30 Solving the System Remember that: F (k t,z t ; σ) =H (c (k t,z t ; σ),c(k (k t,z t ; σ),z t+1 ; σ),k(k t,z t ; σ),k t,z t ; σ) Then: F k (k, 0; 0) = H 1 c k + H 2 c k k k + H 3 k k + H 4 =0 F z (k, 0; 0) = H 1 c z + H 2 (c k k z + c k ρ)+h 3 k z + H 5 =0 F σ (k, 0; 0) = H 1 c σ + H 2 (c k k σ + c σ )+H 3 k σ + H 6 =0 30
31 Solving the System I Note that: F k (k, 0; 0) = H 1 c k + H 2 c k k k + H 3 k k + H 4 =0 F z (k, 0; 0) = H 1 c z + H 2 (c k k z + c k ρ)+h 3 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: Uhlig (1999). Why quadratic? Stable and unstable manifold. 31
32 Solving the System II Note that: F σ (k, 0; 0) = H 1 c σ + H 2 (c k k σ + c σ )+H 3 k σ + H 6 =0 is a linear, and homogeneous system in c σ and k σ. Hence c σ = k σ =0 32
33 Comparison with Linearization After Kydland and Prescott (1982) a popular method to solve economic models has been the use of a LQ approximation. 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. 33
34 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 Remember Young s theorem! 34
35 Solving the System We substitute the coefficients that we already know. A linear system of 12 equations on 12 unknowns. Why linear? Cross-terms kσ and zσ are zero. Conjecture on all the terms with odd powers of σ. 35
36 Correction for Risk We have a term in σ 2. Captures precautionary behavior. We do not have certainty equivalence any more! Important advantage of second order approximation. 36
37 Higher Order Terms We can continue the iteration for as long as we want. Often, a few iterations will be enough. The level of accuracy depends on the goal of the exercise: Fernández- Villaverde, Rubio-Ramírez, and Santos (2005). 37
38 AComputer In practice you do all this approximations with a computer. Burden: analytical derivatives. Why are numerical derivatives a bad idea? More theoretical point: do the derivatives exist? (Santos, 1992). 38
39 Code This afternoon there will be some demonstrations by Juilliard and Levin. First and second order: Matlab and Dynare. Higher order: Mathematica, Fortran code by Jinn and Judd. 39
40 An Example Let me run a second order approximation. Our choices Calibrated Parameters Parameter β α ρ σ Value
41 Computation Steady State: c =(αβ) 1 α α (αβ) 1 α 1 = k =(αβ) 1 α 1 = First order components. c k (k, 0; 0) = k k (k, 0; 0) = c z (k, 0; 0) = k k (k, 0; 0) = 0.33 c σ (k, 0; 0) = 0 k k (k, 0; 0) = 0 41
42 Comparison c t =0.6733e z t k 0.33 t c t ' (k t k) z t and: k t+1 =0.3267e z t k 0.33 t k t+1 ' (k t k) +0.33z t 42
43 Second-Order Terms c kk (k, 0; 0) = k kk (k, 0; 0) = c kz (k, 0; 0) = k kz (k, 0; 0) = c kσ (k, 0; 0) = 0. k kσ (k, 0; 0) = 0 c zz (k, 0; 0) = k zz (k, 0; 0) = c zσ (k, 0; 0) = 0 k zσ (k, 0; 0) = 0 c σ 2 (k, 0; 0) = 0 k σ 2 (k, 0; 0) = 0 43
44 Zeroth-Order Approximation First-Order Approximation Second-Order Approximation
45 Non Local Accuracy test (Judd, 1992, and Judd and Guu, 1997) Given the Euler equation: we can define: 1 c i (k t,z t ) = E t αez t+1k i (k t,z t ) α 1 c i ³ k i (k t,z t ),z t+1 EE i (k t,z t ) 1 c i (k t,z t ) E t αez t+1k i (k t,z t ) α 1 c i ³ k i (k t,z t ),z t+1 44
46 Figure : Euler Equation Errors at z = 0, τ = 2 / σ = Linear Log-Linear FEM Chebyshev Perturbation 2 Perturbation 5 Value Function -5 Log10 Euler Equation Error Capital
47 Changes of Variables We approximated our solution in levels. You may have read about loglinearization. Note that: x t = xe log x t x = xe bx t We can substitute all variables x t by bx t. Why can loglinearization be a good idea? 45
48 Judd (2002) Why stop there? Why not in powers of the state variables? Judd (2002) has provided methods for changes of variables. We apply and extend ideas to the stochastic neoclassical growth model. 46
49 A General Transformation We look at solutions of the form: c µ c µ 0 = a ³ k ζ k ζ 0 + cz ϕ k 0γ k γ 0 = c ³ k ζ k ζ 0 + dz ϕ where ϕ 1. Note that: 1. If γ, ζ, µ and ϕ are 1 we get the linear representation. 2. As γ, ζ and µ tend to zero and ϕ is equal to 1 we get the loglinear approximation. 47
50 Theory The first order solution can be written as f (x) ' f (a)+(x a) f 0 (a) Expand g(y) =h (f (X (y))) around b = Y (a), where X (y) isthe inverse of Y (x). Then: g (y) =h (f (X (y))) = g (b)+g α (b)(y α (x) b α ) where g α = h A fi AXi α comes from the application of the chain rule. From this expression it is easy to see that if we have computed the values of f A i, then it is straightforward to find the value of g α. 48
51 Theory The first order solution can be written as f (x) ' f (a)+(x a) f 0 (a) Expand g(y) =h (f (X (y))) around b = Y (a), where X (y) isthe inverse of Y (x). Then: g (y) =h (f (X (y))) = g (b)+g α (b)(y α (x) b α ) where g α = h A fi AXi α comes from the application of the chain rule. From this expression it is easy to see that if we have computed the values of f A i, then it is straightforward to find the value of g α. 49
52 Figure : Euler Equation Errors at z = 0, τ = 2 / σ = Linear Optimal Change Log10 Euler Equation Error Capital
53 Figure : Euler Equation Errors at z = 0, τ = 2 / σ = Log10 Euler Equation Error Linear Log-Linear FEM Chebyshev Perturbation 2 Perturbation 5 Value Function Optimal Change Capital
54 En Savoir Plus I General Perturbation theory: Advanced Mathematical Methods for Scientists and Engineers: Asymptotic Methods and Perturbation Theory by Carl M. Bender, Steven A. Orszag. Perturbation in 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. 50
55 En Savoir Plus II 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. Solving quadratic equations: A Toolkit for Analysing Nonlinear Dynamic Stochastic Models Easily by Harald Uhlig. 51
Perturbation Methods I: Basic Results
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, 2018 1 University of Pennsylvania 2 Boston College Introduction
More informationSolution 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 informationPerturbation 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 informationLinearization. (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 informationA 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 informationComparing 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 informationLecture 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 informationDynare. 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 informationSuggested 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 informationPerturbation 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 informationLecture 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 informationBayesian 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 informationReal 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 informationValue 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 informationApproximation 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 informationIntroduction 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 informationSolving 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 informationSession 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 informationApplications 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 informationMacroeconomics 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 informationSolving 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 informationAsset 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 information1. 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 informationRisk 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 informationMatlab 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 informationEstimating 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 informationSolving 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 informationPerturbation techniques
3 Perturbation techniques This is page i Printer: Opaque this Wouter J. den Haan University of Amsterdam wdenhaan@uva.nl 3.1 Introduction In this set of notes we show how perturbation techniques can be
More informationWORKING 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 informationStochastic 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 informationPerturbation 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 informationRisky 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 informationPerturbation 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 informationPerturbation 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 informationTaking 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 informationFEDERAL 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 informationWhy 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 informationDeterministic 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 informationLecture notes on model solution techniques
Lecture notes on model solution techniques HKMMW Workshop Series Jun YU, MPhil Department of Economics Hong Kong University of Science and Technology April 6, 2018 Outline 1 Introduction 2 Perturbation
More informationHigh-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 informationFirst 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 informationProjection 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 informationNBER 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 informationDSGE (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 informationWorking 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 informationLinear-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 informationComparing 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 information1 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 informationSolving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework
Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework Dongpeng Liu Nanjing University Sept 2016 D. Liu (NJU) Solving D(S)GE 09/16 1 / 63 Introduction Targets of the
More informationLecture 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 informationDiscussion 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 informationA 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 informationSolving 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 informationLinearized 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 informationProjection 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 informationSolving 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 informationIntroduction to Real Business Cycles: The Solow Model and Dynamic Optimization
Introduction to Real Business Cycles: The Solow Model and Dynamic Optimization Vivaldo Mendes a ISCTE IUL Department of Economics 24 September 2017 (Vivaldo M. Mendes ) Macroeconomics (M8674) 24 September
More informationDSGE-Models. Calibration and Introduction to Dynare. Institute of Econometrics and Economic Statistics
DSGE-Models Calibration and Introduction to Dynare Dr. Andrea Beccarini Willi Mutschler, M.Sc. Institute of Econometrics and Economic Statistics willi.mutschler@uni-muenster.de Summer 2012 Willi Mutschler
More informationGraduate 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 informationWhen Inequality Matters for Macro and Macro Matters for Inequality
When Inequality Matters for Macro and Macro Matters for Inequality SeHyoun Ahn Princeton Benjamin Moll Princeton Greg Kaplan Chicago Tom Winberry Chicago Christian Wolf Princeton STLAR Conference, 21 April
More informationNBER 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 informationPractical 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 informationComputing 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 informationRisk 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 informationEstimation of moment-based models with latent variables
Estimation of moment-based models with latent variables work in progress Ra aella Giacomini and Giuseppe Ragusa UCL/Cemmap and UCI/Luiss UPenn, 5/4/2010 Giacomini and Ragusa (UCL/Cemmap and UCI/Luiss)Moments
More informationSolving Linear Rational Expectation Models
Solving Linear Rational Expectation Models Dr. Tai-kuang Ho Associate Professor. Department of Quantitative Finance, National Tsing Hua University, No. 101, Section 2, Kuang-Fu Road, Hsinchu, Taiwan 30013,
More informationEco504, 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 informationProjection. 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 informationHOMEWORK #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 informationTopic 2. Consumption/Saving and Productivity shocks
14.452. Topic 2. Consumption/Saving and Productivity shocks Olivier Blanchard April 2006 Nr. 1 1. What starting point? Want to start with a model with at least two ingredients: Shocks, so uncertainty.
More information1 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 informationSolving 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 informationEconomic 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 informationOpen Economy Macroeconomics: Theory, methods and applications
Open Economy Macroeconomics: Theory, methods and applications Lecture 4: The state space representation and the Kalman Filter Hernán D. Seoane UC3M January, 2016 Today s lecture State space representation
More informationA 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 informationGraduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models
Graduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models Eric Sims University of Notre Dame Spring 2011 This note describes very briefly how to conduct quantitative analysis on a linearized
More informationMonetary Economics: Problem Set #4 Solutions
Monetary Economics Problem Set #4 Monetary Economics: Problem Set #4 Solutions This problem set is marked out of 100 points. The weight given to each part is indicated below. Please contact me asap if
More informationDYNARE SUMMER SCHOOL
DYNARE SUMMER SCHOOL Introduction to Dynare and local approximation. Michel Juillard June 12, 2017 Summer School website http://www.dynare.org/summerschool/2017 DYNARE 1. computes the solution of deterministic
More information1 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 informationModeling 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 informationGraduate Macro Theory II: Notes on Solving Linearized Rational Expectations Models
Graduate Macro Theory II: Notes on Solving Linearized Rational Expectations Models Eric Sims University of Notre Dame Spring 2017 1 Introduction The solution of many discrete time dynamic economic models
More informationAmbiguous 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 informationLecture 4: Dynamic Programming
Lecture 4: Dynamic Programming Fatih Guvenen January 10, 2016 Fatih Guvenen Lecture 4: Dynamic Programming January 10, 2016 1 / 30 Goal Solve V (k, z) =max c,k 0 u(c)+ E(V (k 0, z 0 ) z) c + k 0 =(1 +
More informationMonetary 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 informationAn 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 informationTHE 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 informationMath 2142 Homework 5 Part 1 Solutions
Math 2142 Homework 5 Part 1 Solutions Problem 1. For the following homogeneous second order differential equations, give the general solution and the particular solution satisfying the given initial conditions.
More informationFiltering and Likelihood Inference
Filtering and Likelihood Inference Jesús Fernández-Villaverde University of Pennsylvania July 10, 2011 Jesús Fernández-Villaverde (PENN) Filtering and Likelihood July 10, 2011 1 / 79 Motivation Introduction
More informationPerturbation 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 informationTopic 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 informationLecture 1: Dynamic Programming
Lecture 1: Dynamic Programming Fatih Guvenen November 2, 2016 Fatih Guvenen Lecture 1: Dynamic Programming November 2, 2016 1 / 32 Goal Solve V (k, z) =max c,k 0 u(c)+ E(V (k 0, z 0 ) z) c + k 0 =(1 +
More informationDecentralised 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 informationSolving 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 informationSolutions for Homework #4
Econ 50a (second half) Prof: Tony Smith TA: Theodore Papageorgiou Fall 2004 Yale University Dept. of Economics Solutions for Homework #4 Question (a) A Recursive Competitive Equilibrium for the economy
More informationWhen Inequality Matters for Macro and Macro Matters for Inequality
When Inequality Matters for Macro and Macro Matters for Inequality SeHyoun Ahn Princeton Benjamin Moll Princeton Greg Kaplan Chicago Tom Winberry Chicago Christian Wolf Princeton New York Fed, 29 November
More informationNews-Shock Subroutine for Prof. Uhlig s Toolkit
News-Shock Subroutine for Prof. Uhlig s Toolkit KENGO NUTAHARA Graduate School of Economics, University of Tokyo, and the JSPS Research Fellow ee67003@mail.ecc.u-tokyo.ac.jp Revised: October 23, 2007 (Fisrt
More informationSecond-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... 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 informationEconomics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011
Department of Economics University of Maryland Economics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011 Objective As a stepping stone to learning how to work with and computationally
More informationMA 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