Log-linearisation Tutorial

Size: px
Start display at page:

Download "Log-linearisation Tutorial"

Transcription

1 Log-linearisation Tutorial Weijie Chen Department of Political and Economic Studies University of Helsinki Updated on 5 May 2012

2 Abstract To solve DSGE models, first we have to collect all expectational difference equations, such as F.O.C.s, constraints, aggregate conditions, then loglinearise them around the steady-state. It sounds easy, but it sometimes requires ingenuity and proficiency. This note is written for illustrating loglinearisation and presenting several methods, which method you are suppose to use is on your discretion.

3 1 Introduction Log-linearisation, basically it means take the natural logarithm, then linearise it. Nothing mysterious, but the challenges mainly come from a technical consideration: how can we log-linearise an equation easily? Easily is a relative expression, if we are about to tackle a problem, at least we are supposed to pick the right weapon. To perform log-linearisation, we often work with log-deviation, it is defined as x t = ln t ln (1) where x t is log-deviation, is the stead-state of t. To see why we need to work with log-deviation, we can manipulate equation above, x t = ln ( ) ( t = ln 1 + ) ( t 1 = ln 1 + t ) ( = ln 1 + ) t Now we need to employ the first-order Taylor expansion, f(x t ) f(x) + f (x)(x t x) (2) where x is steady-state of x t. Take derivative of ln (1 + ( t )/) w.r.t. t, ( ) ln 1 + t = 1 t t = 1 t Then use (2), we get ( x t = ln 1 + ) t 1 ( t ) (3) 1

4 And the right-hand side of (3) is the percentage deviation from steady state, this is the reason we prefer to work with log-deviation. Sometimes we choose replace t with d t, the differential of t, which will be clear in later examples. And we can also rearrange (3), x t 1 ( t ) = t 1 t ( x t + 1) (4) Then use this expression to substitute into all variables. 2 Universal method Entitling this method as universal is not because it can be employed dealing with any problem, but it reveals the most fundamental idea of loglinearisation: take natural logarithm then linearise it. We shall use a Cobb- Douglas production function as the demonstrating example Y t = K α (A t L t ) 1 α Take natural logarithm on both sides, ln Y t = α ln K t + (1 α) ln A t + (1 α) ln L t (5) 2

5 Then we need to use Taylor expansion to the first degree around steadystate, for every terms ln Y t = ln Y + 1 Y (Y t Y ) ln K t = ln K + 1 K (K t K) ln A t = ln A + 1 A (A t A) ln L t = ln L + 1 L (L t L) Substitute back to (5), ln Y + 1 [ Y (Y t Y ) = α ln K + 1 ] K (K t K) [ + (1 α) ln L + 1 L (L t L) [ + (1 α) ] ln A + 1 ] A (A t A) Expand the equation above ln Y + 1 Y (Y t Y ) = α ln K + α K t K α + (1 α) ln A + (1 α)a t A (1 α) + (1 α) ln L + (1 α) L t L (1 α) (6) We eliminate the steady-state condition out of equation, according to (5) ln Y = α ln K + (1 α) ln A + (1 α) ln L Then we simplified (6) a bit, 1 Y (Y t Y ) = α K t K α + (1 α)a t A (1 α) + (1 α) L t L (1 α) 3

6 Finally, since Y, K, A and L are only constants (parameters), we get a perfect linear function Y t Y = αk t K + (1 α)a t A + (1 α)l t (1 α) L However, as you can see from steps above, the process is quite tedious, and the result is not log-deviation form. If the function forms are complicated, it would be sensible to turn for other methods. The rest of methods we are about to see are actually derived from this fundamental one, but they are largely simplified. 3 Total differential method In this section, you will understand why we use d to replace t. We use Galí and Monacelli (2005) as our example, to show you how to loglinearise the function you see in a real paper. From Galí and Monacelli (2005), we use equation pair (6) to illustrate the total differential method, reproduce them here C H,t = (1 α) ( PH,t P t ) η C t, C F,t = α ( PF,t P t ) η C t (7) They are optimal consumption allocation to domestic goods and foreign goods. Take logarithm upon both sides for the first equation, ln C H,t = ln (1 α) η ln P H,t + η ln P t + ln C t Then take total differential of each term on its steady-state value 1 dc H,t = η 1 dp H,t + η 1 C H P H P dp t + 1 C dc t 4

7 where C H, P H and P without subscripts t are steady-state value. Then rewrite them into log-deviation form c H,t = η( p H,t p t ) + c t (8) The same procedure for another equation, take logarithm on both sides ln C F,t = ln α η ln P F,t + η ln P t + ln C t Take total differential on steady-state, Then log-deviation form, 1 C F dc F,t = η 1 P F dp F,t + η 1 P dp t + 1 C dc t c F,t = η( p F,t p t ) + c t (9) This time, the linearisation goes considerably quick, and result is in logdeviation form. The Taylor expansion to the first degree is to linearise a nonlinear function, so it functions the same as total differential approximation. And obviously taking total differential is easier than Taylor expansion to the first degree, this is why we prefer not to use Taylor expansion directly. 4 Uhlig s method In this section, we will see another interesting method proposed by Uhlig (1999), which does not even require to take derivatives. This method is just a further derivation of (1), ln t = ln + x t 5

8 Take exponential on both sides, t = e ln + xt = e ln e xt = e xt Then the idea is clear, we replace every variable with its according transformed term e xt, where is the steady-state value. We have several expansion rules to follow: e xt 1 + x t e xt+aỹt 1 + x t + aỹ t x t ỹ t 0 E t [ae xt ] E t [a x t ] + a You get the right-hand side expression by simply taking the Taylor expansion to the first degree. But you don t need to use Taylor expansion every time, using these rules will save your lots of troubles. One important remark is that Uhlig s method is immune to Jensen s inequality ln E t > E t ln A specific example of this inequality, we have seen in our advanced microeconomic textbook-risk aversion. Since here natural logarithm is strictly concave thus the inequality always holds. Then our problem is that we can t simply take logarithm to a function with expectation operator. One clever way to circumvent the problem is to use Uhlig s method. The example here is still from Galí and Monacelli (2005), the equation 6

9 (10), stochastic Euler equation, [ (Ct+1 hc t ) σ ] P t 1 = βr t E t (C t hc t 1 ) σ P t+1 For sake of easy handling, we replace ξ t = (C t hc t 1 ) σ, 1 = βr t E t [ ξt+1 ξ t P t P t+1 ] (10) Follow method in Uhlig (1999), Use stationary condition 1 = βre rt E t [ ξe ξt+1 ξe ξ t 1 = βr ξ ξ P P ] P e pt P e p t+1 to simplify and collecting exponential terms together, 1 = E t [ e r t+ ξ t+1 + p t ξ t p t+1 ] Taylor expansion to the first degree on the right-hand side or simply use expansion rules, r t + E t ξt+1 + p t ξ t E t p t+1 (11) It is already linearised at this step, but we need to find out what is ξ t+1 and ξ t, we have previously defined ξ t = (C t hc t 1 ) σ, take logarithm on both sides, ln ξ t = σ ln(c t hc t 1 ) 7

10 then take total differential at steady-state value, Substitute back to (11), 1 ξ dξ 1 t = σ C(1 h) [ dc t h dc t+1 ] [ 1 ξ t σ C dc t C(1 h) C hc dc ] t+1 C ξ t σ 1 1 h ( c t h c t+1 ) [ ] σ 0 r t E t 1 h ( c t+1 h c t ) + σ 1 h ( c t h c t+1 ) E t [ p t+1 p t ] Define p t+1 p t = π t+1 the inflation rate, then multiply both sides by (1 h)/σ E t ( c t+1 h c t ) + 1 h σ E t[ π t+1 r t ] c t h c t 1 (12) 5 Substitution method Strictly speaking, this is not a method, it simply omits the first step of Uhlig s replacement, then directly come to (4). There is only one step needs attention, we will see in next example: t + a = (1 b) Y t L t Z t Taking natural logarithm on both sides, ln ( t + a) = ln (1 b) + ln Y t ln L t ln Z t (13) Use steady-state condition, ln ( + a) = ln (1 b) + ln Y ln L ln Z (14) 8

11 Subtract (14) away from (13), ln ( t + a) ln ( + a) = ln Y t ln Y ln L t + ln L ln Z t + ln Z They all become log-deviation form t + a = ỹ t l t z t (15) We need to find out what x t is, then replace t + a. Here comes the step needs attention, we use (3) x t t (16) Then t + a becomes t + a t + a ( + a) + a = t + a (17) Since the numerator of right-hand sides of (16) and (17) are equal, we can make use of equality and set, Substitute back to (15), t + a( + a) = x t t + a = x t + a x t + a = ỹ t l t z t This function actually can be easily linearised by total differential method, you can try by yourself, only needs two steps, everything will be done. 9

12 6 Taylor Approximation 6.1 Single variable case We can dig further to see whether we can find some tricks to largely simplified the universal method. We will work on a general case first, a nonlinear difference equation t+1 = f( t ) (18) where f is any nonlinear functional form you can imagine. First-order Taylor expansion of right-hand side around the steady-state is t+1 f() + f ()( t ) (19) If we set (18) to its steady-steady condition, = f() Then (19) becomes t+1 + f ()( t ) Dividing by, t f () t The left-hand side can be replaced by (4), 1 + x t+1 = 1 + f () x t x t+1 = f () x t (20) 10

13 Follow this formula, we simply take derivative at the steady-state, everything will be done. Try an example, Use formula (20), k t+1 = (1 δ)k t + sk α t k t+1 = [sαk α 1 + (1 δ)] k t It is now linearised, since the term in the square brackets are simply parameters. 6.2 Multivariable case Taylor polynomial has a vector version as well as scalar version, actually most of functions you encounter will be multivariable rather what we had seen in last section. Again, let s start at the general case 1, t+1 = f( t, Y t ) (21) where f is still any nonlinear function you can imagine. The vector version (bivariate) of first-order Taylor polynomial around the steady-state is t+1 f(, Y ) + f (, Y )( t ) + f Y (, Y )(Y t Y ) (22) As you can guess, the bivariate Taylor expansion closely relates to total derivative/differential of bivariate function. Again set steady-state condition of (21): = f(, Y ), (22) becomes, t+1 + f (, Y )( t ) + f Y (, Y )(Y t Y ) 1 We use bivariate examples here for sake of simplicity. 11

14 Dividing by, t f (, Y ) ( t ) + f Y (, Y ) (Y t Y ) 1 + x t f (, Y ) x t + f Y (, Y ) Y (Y t Y ) Y x t+1 f (, Y ) x t + f Y (, Y ) Y ỹt (23) (23) is the formula we are seeking for. Try an example again, k t+1 = (1 δ)k t + sz t k α t Then calculate partial derivatives, f z (z, k) = sk α f k (z, k) = αszk α 1 + (1 δ) Use formula (23), k t+1 = [αszk α 1 + (1 δ)] k t + sk α z k z t Open the brackets, k t+1 αszk α 1 kt + (1 δ) k t + sk α 1 z z t There are still many situations we haven t covered in this note, you can find some published papers and try to log-linearise those key functions by yourself then compare the results from those provided by authors. The End. 12

15 References [1] McCandless, G. (2008): The ABCs of RBCs: An Introduction to Dynamic Macroeconomic Models, Harvard University Press [2] Uhlig, H. (1999): A Toolkit for Analyzing Nonlinear Dynamic Stochastic Models Easily, Computational Methods for the Study of Dynamic Economies, Oxford University Press, Oxford,

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

Graduate Macro Theory II: Notes on Solving Linearized Rational Expectations Models

Graduate 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 information

CES functions and Dixit-Stiglitz Formulation

CES functions and Dixit-Stiglitz Formulation CES functions and Dixit-Stiglitz Formulation Weijie Chen Department of Political and Economic Studies University of Helsinki September, 9 4 8 3 7 Labour 6 5 4 5 Labour 5 Capital 3 4 6 8 Capital Any suggestion

More information

Introduction to Real Business Cycles: The Solow Model and Dynamic Optimization

Introduction 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 information

Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework

Solving 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 information

Assumption 5. The technology is represented by a production function, F : R 3 + R +, F (K t, N t, A t )

Assumption 5. The technology is represented by a production function, F : R 3 + R +, F (K t, N t, A t ) 6. Economic growth Let us recall the main facts on growth examined in the first chapter and add some additional ones. (1) Real output (per-worker) roughly grows at a constant rate (i.e. labor productivity

More information

On automatic derivation of first order conditions in dynamic stochastic optimisation problems

On automatic derivation of first order conditions in dynamic stochastic optimisation problems MPRA Munich Personal RePEc Archive On automatic derivation of first order conditions in dynamic stochastic optimisation problems Grzegorz Klima and Kaja Retkiewicz-Wijtiwiak Department for Strategic Analyses,

More information

G Recitation 9: Log-linearization. Contents. 1 What is log-linearization? Some basic results 2. 2 Application: the baseline RBC model 4

G Recitation 9: Log-linearization. Contents. 1 What is log-linearization? Some basic results 2. 2 Application: the baseline RBC model 4 Contents 1 What is log-linearization? Some basic results 2 2 Application: the baseline RBC model 4 1 1 What is log-linearization? Some basic results Log-linearization is a first-order Taylor expansion,

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

Lecture 6: Discrete-Time Dynamic Optimization

Lecture 6: Discrete-Time Dynamic Optimization Lecture 6: Discrete-Time Dynamic Optimization Yulei Luo Economics, HKU November 13, 2017 Luo, Y. (Economics, HKU) ECON0703: ME November 13, 2017 1 / 43 The Nature of Optimal Control In static optimization,

More information

Getting to page 31 in Galí (2008)

Getting to page 31 in Galí (2008) Getting to page 31 in Galí 2008) H J Department of Economics University of Copenhagen December 4 2012 Abstract This note shows in detail how to compute the solutions for output inflation and the nominal

More information

Dynamical Systems. August 13, 2013

Dynamical Systems. August 13, 2013 Dynamical Systems Joshua Wilde, revised by Isabel Tecu, Takeshi Suzuki and María José Boccardi August 13, 2013 Dynamical Systems are systems, described by one or more equations, that evolve over time.

More information

( )! ±" and g( x)! ±" ], or ( )! 0 ] as x! c, x! c, x! c, or x! ±". If f!(x) g!(x) "!,

( )! ± and g( x)! ± ], or ( )! 0 ] as x! c, x! c, x! c, or x! ±. If f!(x) g!(x) !, IV. MORE CALCULUS There are some miscellaneous calculus topics to cover today. Though limits have come up a couple of times, I assumed prior knowledge, or at least that the idea makes sense. Limits are

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

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

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations Weijie Chen Department of Political and Economic Studies University of Helsinki 16 Aug, 2011 Contents 1 First Order Differential Equations 3 1.1 Constant Coeffient Case.....................

More information

Introduction to Recursive Methods

Introduction to Recursive Methods Chapter 1 Introduction to Recursive Methods These notes are targeted to advanced Master and Ph.D. students in economics. They can be of some use to researchers in macroeconomic theory. The material contained

More information

Dynamic stochastic general equilibrium models. December 4, 2007

Dynamic stochastic general equilibrium models. December 4, 2007 Dynamic stochastic general equilibrium models December 4, 2007 Dynamic stochastic general equilibrium models Random shocks to generate trajectories that look like the observed national accounts. Rational

More information

Macroeconomics Theory II

Macroeconomics Theory II Macroeconomics Theory II Francesco Franco Nova SBE March 9, 216 Francesco Franco Macroeconomics Theory II 1/29 The Open Economy Two main paradigms Small Open Economy: the economy trades with the ROW but

More information

Dynamic Macroeconomics: Problem Set 4

Dynamic Macroeconomics: Problem Set 4 Dynamic Macroeconomics: Problem Set 4 Universität Siegen Dynamic Macroeconomics 1 / 28 1 Computing growth rates 2 Golden rule saving rate 3 Simulation of the Solow Model 4 Growth accounting Dynamic Macroeconomics

More information

Dynamic Optimization Using Lagrange Multipliers

Dynamic Optimization Using Lagrange Multipliers Dynamic Optimization Using Lagrange Multipliers Barbara Annicchiarico barbara.annicchiarico@uniroma2.it Università degli Studi di Roma "Tor Vergata" Presentation #2 Deterministic Infinite-Horizon Ramsey

More information

Lecture notes on modern growth theory

Lecture notes on modern growth theory Lecture notes on modern growth theory Part 2 Mario Tirelli Very preliminary material Not to be circulated without the permission of the author October 25, 2017 Contents 1. Introduction 1 2. Optimal economic

More information

Queen s University. Department of Economics. Instructor: Kevin Andrew

Queen s University. Department of Economics. Instructor: Kevin Andrew Figure 1: 1b) GDP Queen s University Department of Economics Instructor: Kevin Andrew Econ 320: Math Assignment Solutions 1. (10 Marks) On the course website is provided an Excel file containing quarterly

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

14.05: Section Handout #1 Solow Model

14.05: Section Handout #1 Solow Model 14.05: Section Handout #1 Solow Model TA: Jose Tessada September 16, 2005 Today we will review the basic elements of the Solow model. Be prepared to ask any questions you may have about the derivation

More information

ECON 582: Dynamic Programming (Chapter 6, Acemoglu) Instructor: Dmytro Hryshko

ECON 582: Dynamic Programming (Chapter 6, Acemoglu) Instructor: Dmytro Hryshko ECON 582: Dynamic Programming (Chapter 6, Acemoglu) Instructor: Dmytro Hryshko Indirect Utility Recall: static consumer theory; J goods, p j is the price of good j (j = 1; : : : ; J), c j is consumption

More information

Least Squares Regression

Least Squares Regression Least Squares Regression Chemical Engineering 2450 - Numerical Methods Given N data points x i, y i, i 1 N, and a function that we wish to fit to these data points, fx, we define S as the sum of the squared

More information

min f(x). (2.1) Objectives consisting of a smooth convex term plus a nonconvex regularization term;

min f(x). (2.1) Objectives consisting of a smooth convex term plus a nonconvex regularization term; Chapter 2 Gradient Methods The gradient method forms the foundation of all of the schemes studied in this book. We will provide several complementary perspectives on this algorithm that highlight the many

More information

The New Keynesian Model: Introduction

The New Keynesian Model: Introduction The New Keynesian Model: Introduction Vivaldo M. Mendes ISCTE Lisbon University Institute 13 November 2017 (Vivaldo M. Mendes) The New Keynesian Model: Introduction 13 November 2013 1 / 39 Summary 1 What

More information

The Growth Model in Continuous Time (Ramsey Model)

The Growth Model in Continuous Time (Ramsey Model) The Growth Model in Continuous Time (Ramsey Model) Prof. Lutz Hendricks Econ720 September 27, 2017 1 / 32 The Growth Model in Continuous Time We add optimizing households to the Solow model. We first study

More information

The Real Business Cycle Model

The Real Business Cycle Model The Real Business Cycle Model Macroeconomics II 2 The real business cycle model. Introduction This model explains the comovements in the fluctuations of aggregate economic variables around their trend.

More information

PANEL DISCUSSION: THE ROLE OF POTENTIAL OUTPUT IN POLICYMAKING

PANEL DISCUSSION: THE ROLE OF POTENTIAL OUTPUT IN POLICYMAKING PANEL DISCUSSION: THE ROLE OF POTENTIAL OUTPUT IN POLICYMAKING James Bullard* Federal Reserve Bank of St. Louis 33rd Annual Economic Policy Conference St. Louis, MO October 17, 2008 Views expressed are

More information

Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials

Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials Introduction: In applications, it often turns out that one cannot solve the differential equations or antiderivatives that show up in the real

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

Basic Procedures for Common Problems

Basic Procedures for Common Problems Basic Procedures for Common Problems ECHE 550, Fall 2002 Steady State Multivariable Modeling and Control 1 Determine what variables are available to manipulate (inputs, u) and what variables are available

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

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 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

ECON2285: Mathematical Economics

ECON2285: Mathematical Economics ECON2285: Mathematical Economics Yulei Luo Economics, HKU September 17, 2018 Luo, Y. (Economics, HKU) ME September 17, 2018 1 / 46 Static Optimization and Extreme Values In this topic, we will study goal

More information

Lecture 5: The neoclassical growth model

Lecture 5: The neoclassical growth model THE UNIVERSITY OF SOUTHAMPTON Paul Klein Office: Murray Building, 3005 Email: p.klein@soton.ac.uk URL: http://paulklein.se Economics 3010 Topics in Macroeconomics 3 Autumn 2010 Lecture 5: The neoclassical

More information

DSGE-Models. Calibration and Introduction to Dynare. Institute of Econometrics and Economic Statistics

DSGE-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 information

Hansen s basic RBC model

Hansen s basic RBC model ansen s basic RBC model George McCandless UCEMA Spring ansen s RBC model ansen s RBC model First RBC model was Kydland and Prescott (98) "Time to build and aggregate uctuations," Econometrica Complicated

More information

( ) ( ). ( ) " d#. ( ) " cos (%) " d%

( ) ( ). ( )  d#. ( )  cos (%)  d% Math 22 Fall 2008 Solutions to Homework #6 Problems from Pages 404-407 (Section 76) 6 We will use the technique of Separation of Variables to solve the differential equation: dy d" = ey # sin 2 (") y #

More information

CHAPTER 1. Review of Algebra

CHAPTER 1. Review of Algebra CHAPTER 1 Review of Algebra Much of the material in this chapter is revision from GCSE maths (although some of the exercises are harder). Some of it particularly the work on logarithms may be new if you

More information

Lecture V. Numerical Optimization

Lecture V. Numerical Optimization Lecture V Numerical Optimization Gianluca Violante New York University Quantitative Macroeconomics G. Violante, Numerical Optimization p. 1 /19 Isomorphism I We describe minimization problems: to maximize

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

ADVANCED MACROECONOMIC TECHNIQUES NOTE 1c

ADVANCED MACROECONOMIC TECHNIQUES NOTE 1c 316-406 ADVANCED MACROECONOMIC TECHNIQUES NOTE 1c Chris Edmond hcpedmond@unimelb.edu.aui Linearizing a difference equation We will frequently want to linearize a difference equation of the form x t+1 =

More information

Monetary Economics Notes

Monetary Economics Notes Monetary Economics Notes Nicola Viegi 2 University of Pretoria - School of Economics Contents New Keynesian Models. Readings...............................2 Basic New Keynesian Model...................

More information

Initial value problems for ordinary differential equations

Initial value problems for ordinary differential equations AMSC/CMSC 660 Scientific Computing I Fall 2008 UNIT 5: Numerical Solution of Ordinary Differential Equations Part 1 Dianne P. O Leary c 2008 The Plan Initial value problems (ivps) for ordinary differential

More information

Final Examination with Answers: Economics 210A

Final Examination with Answers: Economics 210A Final Examination with Answers: Economics 210A December, 2016, Ted Bergstrom, UCSB I asked students to try to answer any 7 of the 8 questions. I intended the exam to have some relatively easy parts and

More information

The Solow Model. Prof. Lutz Hendricks. January 26, Econ520

The Solow Model. Prof. Lutz Hendricks. January 26, Econ520 The Solow Model Prof. Lutz Hendricks Econ520 January 26, 2017 1 / 28 Issues The production model measures the proximate causes of income gaps. Now we start to look at deep causes. The Solow model answers

More information

University of Warwick, EC9A0 Maths for Economists Lecture Notes 10: Dynamic Programming

University of Warwick, EC9A0 Maths for Economists Lecture Notes 10: Dynamic Programming University of Warwick, EC9A0 Maths for Economists 1 of 63 University of Warwick, EC9A0 Maths for Economists Lecture Notes 10: Dynamic Programming Peter J. Hammond Autumn 2013, revised 2014 University of

More information

f( x) f( y). Functions which are not one-to-one are often called many-to-one. Take the domain and the range to both be all the real numbers:

f( x) f( y). Functions which are not one-to-one are often called many-to-one. Take the domain and the range to both be all the real numbers: I. UNIVARIATE CALCULUS Given two sets X and Y, a function is a rule that associates each member of X with exactly one member of Y. That is, some x goes in, and some y comes out. These notations are used

More information

Lecture 15. Dynamic Stochastic General Equilibrium Model. Randall Romero Aguilar, PhD I Semestre 2017 Last updated: July 3, 2017

Lecture 15. Dynamic Stochastic General Equilibrium Model. Randall Romero Aguilar, PhD I Semestre 2017 Last updated: July 3, 2017 Lecture 15 Dynamic Stochastic General Equilibrium Model Randall Romero Aguilar, PhD I Semestre 2017 Last updated: July 3, 2017 Universidad de Costa Rica EC3201 - Teoría Macroeconómica 2 Table of contents

More information

Dynastic Altruism, Population Growth, and Economic Prosperity

Dynastic Altruism, Population Growth, and Economic Prosperity Auburn University Department of Economics Working Paper Series Dynastic Altruism, Population Growth, and Economic Prosperity Bharat Diwakar and Gilad Sorek Auburn University AUWP 2016 03 This paper can

More information

Monetary Policy and Exchange Rate Volatility in a Small Open Economy. Jordi Galí and Tommaso Monacelli. March 2005

Monetary Policy and Exchange Rate Volatility in a Small Open Economy. Jordi Galí and Tommaso Monacelli. March 2005 Monetary Policy and Exchange Rate Volatility in a Small Open Economy by Jordi Galí and Tommaso Monacelli March 2005 Motivation The new Keynesian model for the closed economy - equilibrium dynamics: simple

More information

εx 2 + x 1 = 0. (2) Suppose we try a regular perturbation expansion on it. Setting ε = 0 gives x 1 = 0,

εx 2 + x 1 = 0. (2) Suppose we try a regular perturbation expansion on it. Setting ε = 0 gives x 1 = 0, 4 Rescaling In this section we ll look at one of the reasons that our ε = 0 system might not have enough solutions, and introduce a tool that is fundamental to all perturbation systems. We ll start with

More information

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit V Solution of

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit V Solution of Scientific Computing with Case Studies SIAM Press, 2009 http://www.cs.umd.edu/users/oleary/sccswebpage Lecture Notes for Unit V Solution of Differential Equations Part 1 Dianne P. O Leary c 2008 1 The

More information

Economics 101. Lecture 2 - The Walrasian Model and Consumer Choice

Economics 101. Lecture 2 - The Walrasian Model and Consumer Choice Economics 101 Lecture 2 - The Walrasian Model and Consumer Choice 1 Uncle Léon The canonical model of exchange in economics is sometimes referred to as the Walrasian Model, after the early economist Léon

More information

Second Order ODEs. CSCC51H- Numerical Approx, Int and ODEs p.130/177

Second Order ODEs. CSCC51H- Numerical Approx, Int and ODEs p.130/177 Second Order ODEs Often physical or biological systems are best described by second or higher-order ODEs. That is, second or higher order derivatives appear in the mathematical model of the system. For

More information

Endogenous Growth Theory

Endogenous Growth Theory Endogenous Growth Theory Lecture Notes for the winter term 2010/2011 Ingrid Ott Tim Deeken October 21st, 2010 CHAIR IN ECONOMIC POLICY KIT University of the State of Baden-Wuerttemberg and National Laboratory

More information

Power series and Taylor series

Power series and Taylor series Power series and Taylor series D. DeTurck University of Pennsylvania March 29, 2018 D. DeTurck Math 104 002 2018A: Series 1 / 42 Series First... a review of what we have done so far: 1 We examined series

More information

Multi Variable Calculus

Multi Variable Calculus Multi Variable Calculus Joshua Wilde, revised by Isabel Tecu, Takeshi Suzuki and María José Boccardi August 3, 03 Functions from R n to R m So far we have looked at functions that map one number to another

More information

Lecture 5 Dynamics of the Growth Model. Noah Williams

Lecture 5 Dynamics of the Growth Model. Noah Williams Lecture 5 Dynamics of the Growth Model Noah Williams University of Wisconsin - Madison Economics 702/312 Spring 2016 An Example Now work out a parametric example, using standard functional forms. Cobb-Douglas

More information

Graduate Macroeconomics 2 Problem set Solutions

Graduate Macroeconomics 2 Problem set Solutions Graduate Macroeconomics 2 Problem set 10. - Solutions Question 1 1. AUTARKY Autarky implies that the agents do not have access to credit or insurance markets. This implies that you cannot trade across

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

Lecture 13: Simple Linear Regression in Matrix Format

Lecture 13: Simple Linear Regression in Matrix Format See updates and corrections at http://www.stat.cmu.edu/~cshalizi/mreg/ Lecture 13: Simple Linear Regression in Matrix Format 36-401, Section B, Fall 2015 13 October 2015 Contents 1 Least Squares in Matrix

More information

Some Review Problems for Exam 2: Solutions

Some Review Problems for Exam 2: Solutions Math 5366 Fall 017 Some Review Problems for Exam : Solutions 1 Find the coefficient of x 15 in each of the following: 1 (a) (1 x) 6 Solution: 1 (1 x) = ( ) k + 5 x k 6 k ( ) ( ) 0 0 so the coefficient

More information

CHAPTER 12 Numerical Solution of Differential Equations

CHAPTER 12 Numerical Solution of Differential Equations CHAPTER 12 Numerical Solution of Differential Equations We have considered numerical solution procedures for two kinds of equations: In chapter 10 the unknown was a real number; in chapter 6 the unknown

More information

Pre-Calculus Notes from Week 6

Pre-Calculus Notes from Week 6 1-105 Pre-Calculus Notes from Week 6 Logarithmic Functions: Let a > 0, a 1 be a given base (as in, base of an exponential function), and let x be any positive number. By our properties of exponential functions,

More information

problem. max Both k (0) and h (0) are given at time 0. (a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming

problem. max Both k (0) and h (0) are given at time 0. (a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming 1. Endogenous Growth with Human Capital Consider the following endogenous growth model with both physical capital (k (t)) and human capital (h (t)) in continuous time. The representative household solves

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

Lecture 3: Huggett s 1993 model. 1 Solving the savings problem for an individual consumer

Lecture 3: Huggett s 1993 model. 1 Solving the savings problem for an individual consumer UNIVERSITY OF WESTERN ONTARIO LONDON ONTARIO Paul Klein Office: SSC 4044 Extension: 85484 Email: pklein2@uwo.ca URL: http://paulklein.ca/newsite/teaching/619.php Economics 9619 Computational methods in

More information

Review questions for Math 111 final. Please SHOW your WORK to receive full credit Final Test is based on 150 points

Review questions for Math 111 final. Please SHOW your WORK to receive full credit Final Test is based on 150 points Please SHOW your WORK to receive full credit Final Test is based on 150 points 1. True or False questions (17 pts) a. Common Logarithmic functions cross the y axis at (0,1) b. A square matrix has as many

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

Introduction Derivation General formula Example 1 List of series Convergence Applications Test SERIES 4 INU0114/514 (MATHS 1)

Introduction Derivation General formula Example 1 List of series Convergence Applications Test SERIES 4 INU0114/514 (MATHS 1) MACLAURIN SERIES SERIES 4 INU0114/514 (MATHS 1) Dr Adrian Jannetta MIMA CMath FRAS Maclaurin Series 1/ 19 Adrian Jannetta Background In this presentation you will be introduced to the concept of a power

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

1.1 Basic Algebra. 1.2 Equations and Inequalities. 1.3 Systems of Equations

1.1 Basic Algebra. 1.2 Equations and Inequalities. 1.3 Systems of Equations 1. Algebra 1.1 Basic Algebra 1.2 Equations and Inequalities 1.3 Systems of Equations 1.1 Basic Algebra 1.1.1 Algebraic Operations 1.1.2 Factoring and Expanding Polynomials 1.1.3 Introduction to Exponentials

More information

Chapter 11 The Stochastic Growth Model and Aggregate Fluctuations

Chapter 11 The Stochastic Growth Model and Aggregate Fluctuations George Alogoskoufis, Dynamic Macroeconomics, 2016 Chapter 11 The Stochastic Growth Model and Aggregate Fluctuations In previous chapters we studied the long run evolution of output and consumption, real

More information

QUADRATIC EQUATIONS M.K. HOME TUITION. Mathematics Revision Guides Level: GCSE Higher Tier

QUADRATIC EQUATIONS M.K. HOME TUITION. Mathematics Revision Guides Level: GCSE Higher Tier Mathematics Revision Guides Quadratic Equations Page 1 of 8 M.K. HOME TUITION Mathematics Revision Guides Level: GCSE Higher Tier QUADRATIC EQUATIONS Version: 3.1 Date: 6-10-014 Mathematics Revision Guides

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

Section 14.1 Vector Functions and Space Curves

Section 14.1 Vector Functions and Space Curves Section 14.1 Vector Functions and Space Curves Functions whose range does not consists of numbers A bulk of elementary mathematics involves the study of functions - rules that assign to a given input a

More information

Solutions to MAT 117 Test #3

Solutions to MAT 117 Test #3 Solutions to MAT 7 Test #3 Because there are two versions of the test, solutions will only be given for Form C. Differences from the Form D version will be given. (The values for Form C appear above those

More information

Table of contents. d 2 y dx 2, As the equation is linear, these quantities can only be involved in the following manner:

Table of contents. d 2 y dx 2, As the equation is linear, these quantities can only be involved in the following manner: M ath 0 1 E S 1 W inter 0 1 0 Last Updated: January, 01 0 Solving Second Order Linear ODEs Disclaimer: This lecture note tries to provide an alternative approach to the material in Sections 4. 4. 7 and

More information

One important way that you can classify differential equations is as linear or nonlinear.

One important way that you can classify differential equations is as linear or nonlinear. In This Chapter Chapter 1 Looking Closely at Linear First Order Differential Equations Knowing what a first order linear differential equation looks like Finding solutions to first order differential equations

More information

Linear Second Order ODEs

Linear Second Order ODEs Chapter 3 Linear Second Order ODEs In this chapter we study ODEs of the form (3.1) y + p(t)y + q(t)y = f(t), where p, q, and f are given functions. Since there are two derivatives, we might expect that

More information

Chapter 9 Solow. O. Afonso, P. B. Vasconcelos. Computational Economics: a concise introduction

Chapter 9 Solow. O. Afonso, P. B. Vasconcelos. Computational Economics: a concise introduction Chapter 9 Solow O. Afonso, P. B. Vasconcelos Computational Economics: a concise introduction O. Afonso, P. B. Vasconcelos Computational Economics 1 / 27 Overview 1 Introduction 2 Economic model 3 Computational

More information

Simple Consumption / Savings Problems (based on Ljungqvist & Sargent, Ch 16, 17) Jonathan Heathcote. updated, March The household s problem X

Simple Consumption / Savings Problems (based on Ljungqvist & Sargent, Ch 16, 17) Jonathan Heathcote. updated, March The household s problem X Simple Consumption / Savings Problems (based on Ljungqvist & Sargent, Ch 16, 17) subject to for all t Jonathan Heathcote updated, March 2006 1. The household s problem max E β t u (c t ) t=0 c t + a t+1

More information

Chapter 4 Differentiation

Chapter 4 Differentiation Chapter 4 Differentiation 08 Section 4. The derivative of a function Practice Problems (a) (b) (c) 3 8 3 ( ) 4 3 5 4 ( ) 5 3 3 0 0 49 ( ) 50 Using a calculator, the values of the cube function, correct

More information

In economics, the amount of a good x demanded is a function of the price of that good. In other words,

In economics, the amount of a good x demanded is a function of the price of that good. In other words, I. UNIVARIATE CALCULUS Given two sets X and Y, a function is a rule that associates each member of X with eactly one member of Y. That is, some goes in, and some y comes out. These notations are used to

More information

UNIVERSITY OF VIENNA

UNIVERSITY OF VIENNA WORKING PAPERS Cycles and chaos in the one-sector growth model with elastic labor supply Gerhard Sorger May 2015 Working Paper No: 1505 DEPARTMENT OF ECONOMICS UNIVERSITY OF VIENNA All our working papers

More information

MAC Module 8 Exponential and Logarithmic Functions I. Rev.S08

MAC Module 8 Exponential and Logarithmic Functions I. Rev.S08 MAC 1105 Module 8 Exponential and Logarithmic Functions I Learning Objectives Upon completing this module, you should be able to: 1. Distinguish between linear and exponential growth. 2. Model data with

More information

Numerical Solution of Differential

Numerical Solution of Differential Chapter 14 Numerical Solution of Differential Equations We have considered numerical solution procedures for two kinds of equations: In chapter 10 the unknown was a real number; in chapter 6 the unknown

More information

MAC Module 8. Exponential and Logarithmic Functions I. Learning Objectives. - Exponential Functions - Logarithmic Functions

MAC Module 8. Exponential and Logarithmic Functions I. Learning Objectives. - Exponential Functions - Logarithmic Functions MAC 1105 Module 8 Exponential and Logarithmic Functions I Learning Objectives Upon completing this module, you should be able to: 1. Distinguish between linear and exponential growth. 2. Model data with

More information

Solving Exponential and Logarithmic Equations

Solving Exponential and Logarithmic Equations Solving Exponential and Logarithmic Equations We will now use the properties of logarithms along with the fact that exponential and logarithmic functions are inverses of each other to solve problems involving

More information

22 Approximations - the method of least squares (1)

22 Approximations - the method of least squares (1) 22 Approximations - the method of least squares () Suppose that for some y, the equation Ax = y has no solutions It may happpen that this is an important problem and we can t just forget about it If we

More information

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2.

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2. Midterm 1 Review Comments about the midterm The midterm will consist of five questions and will test on material from the first seven lectures the material given below. No calculus either single variable

More information

Dynamic (Stochastic) General Equilibrium and Growth

Dynamic (Stochastic) General Equilibrium and Growth Dynamic (Stochastic) General Equilibrium and Growth Martin Ellison Nuffi eld College Michaelmas Term 2018 Martin Ellison (Nuffi eld) D(S)GE and Growth Michaelmas Term 2018 1 / 43 Macroeconomics is Dynamic

More information

Chapter 11. Taylor Series. Josef Leydold Mathematical Methods WS 2018/19 11 Taylor Series 1 / 27

Chapter 11. Taylor Series. Josef Leydold Mathematical Methods WS 2018/19 11 Taylor Series 1 / 27 Chapter 11 Taylor Series Josef Leydold Mathematical Methods WS 2018/19 11 Taylor Series 1 / 27 First-Order Approximation We want to approximate function f by some simple function. Best possible approximation

More information

CHAPTER FIVE. Solutions for Section 5.1. Skill Refresher. Exercises

CHAPTER FIVE. Solutions for Section 5.1. Skill Refresher. Exercises CHAPTER FIVE 5.1 SOLUTIONS 265 Solutions for Section 5.1 Skill Refresher S1. Since 1,000,000 = 10 6, we have x = 6. S2. Since 0.01 = 10 2, we have t = 2. S3. Since e 3 = ( e 3) 1/2 = e 3/2, we have z =

More information