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

Size: px
Start display at page:

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

Transcription

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

2 Basic RBC Benchmark set up: max E 0 t=0 β t {log c t + ψ log (1 l t )} c t + k t+1 = k α t (e zt l t ) 1 α + (1 δ) k t, t > 0 z t = ρz t 1 + ε t, ε t N (0, σ) This is a dynamic optimization problem. The previous problem does not have a paper and pencil solution. Traditional solution: linearization. 1

3 Equilibrium conditions From the household problem+firms s problem+aggregate conditions: { 1 1 ( ) } = βe t 1 + αk α 1 t+1 c t c (ezt+1 l t+1 ) 1 α δ t+1 c t ψ = (1 α) kt α (e zt l t ) 1 α lt 1 1 l t c t + k t+1 = k α t (e zt l t ) 1 α + (1 δ) k t z t = ρz t 1 + ε t Do we substitute first? 2

4 Steady state I If σ = 0, the equilibrium conditions are: 1 = β 1 ( 1 + αk α 1 t+1 c t c l 1 α t+1 δ) t+1 c t ψ = (1 α) kt α lt α 1 l t c t + k t+1 = k α t l 1 α t + (1 δ) k t The equilibrium conditions imply a steady state: 1 c = β 1 ( 1 + αk α 1 l 1 α δ ) c ψ c = (1 α) k α l α 1 l c + δk = k α l 1 α 3

5 Steady state II Solution: k = µ Ω + ϕµ l = ϕk c = Ωk y = k α l 1 α where ϕ = ( 1 α ( )) 1 1 β 1 + δ 1 α, Ω = ϕ 1 α δ, and µ = 1 ψ (1 α) ϕ α. 4

6 Linearization I Loglinearization or linearization? Loglinearization: 1. Take variable x t and substitute by xe xt where: x t = log xt x 2. A variable x t represents the log-deviation with respect to the steady state. 3. Linearize with respect to x t. Advantages and disadvantages. We can linearize and perform later a change of variables. 5

7 Linearization II We linearize: { 1 1 ( ) } = βe t 1 + αk α 1 t+1 c t c (ezt+1 l t+1 ) 1 α δ t+1 c t ψ = (1 α) kt α (e zt l t ) 1 α lt 1 1 l t c t + k t+1 = k α t (e zt l t ) 1 α + (1 δ) k t z t = ρz t 1 + ε t around l, k, and c with a First-order Taylor Expansion. 6

8 Linearization III We get: 1 c (c t c) = E t { 1 c (c t+1 c) + α (1 α) β y k z t+1+ α (α 1) β y k 2 (k t+1 k) + α (1 α) β y kl (l t+1 l) 1 c (c t c) + 1 (1 l) (l t l) = (1 α) z t + α k (k t k) α (l t l) l { ( ) } y (1 α) z t + α (c t c) + (k t+1 k) = k (k t k) + (1 α) l (l t l) + (1 δ) (k t k) z t = ρz t 1 + ε t } 7

9 Rewriting the system I α 1 (c t c) = E t {α 1 (c t+1 c) + α 2 z t+1 + α 3 (k t+1 k) + α 4 (l t+1 l)} (c t c) = α 5 z t + α k c (k t k) + α 6 (l t l) (c t c) + (k t+1 k) = α 7 z t + α 8 (k t k) + α 9 (l t l) z t = ρz t 1 + ε t α 1 = 1 c α 2 = α (1 α) β y k α 3 = α (α 1) β y k 2 α 4 = α (1 ( α) β y kl ) α α 5 = (1 α) c α 6 = l + 1 (1 l) c α 7 = (1 α) y α 8 = y α k + (1 δ) α 9 = y (1 α) l y = k α l 1 α 8

10 Rewriting the system II After some algebra the system is reduced to: A (k t+1 k) + B (k t k) + C (l t l) + Dz t = 0 E t ( G (k t+1 k) + H (k t k) + J (l t+1 l) +K (l t l) + Lz t+1 + Mz t ) = 0 E t z t+1 = ρz t We have eliminated one control: c t. This is not necessary in general: 1. Policy functions that we find. 2. Numerical differences. How do we solve this system of equations? Different yet equivalent approaches. 9

11 Undetermined coefficients We guess policy functions of the form (k t+1 k) = P 1 (k t k) + P 2 z t (l t l) = R 1 (k t k) + R 2 z t Plug them in, use linearity of expectation and E t z t+1 = ρz t to get: A (P 1 (k t k) + P 2 z t ) + B (k t k) + C (R 1 (k t k) + R 2 z t ) + Dz t = 0 G (P 1 (k t k) + P 2 z t ) + H (k t k) + J (R 1 (P 1 (k t k) + P 2 z t ) + R 2 Nz t ) +K (R 1 (k t k) + R 2 z t ) + (LN + M) z t = 0 10

12 Solving the system I Since these equations need to hold for any value (k t+1 k) or z t, we need to equate each coefficient to zero. Coefficients on (k t k): AP 1 + B + CR 1 = 0 GP 1 + H + JR 1 P 1 + KR 1 = 0 Coefficients on z t : AP 2 + CR 2 + D = 0 (G + JR 1 ) P 2 + JR 2 N + KR 2 + LN + M = 0 11

13 Solving the system II We have a system of four equations on four unknowns. To solve it, first note that R 1 = 1 C (AP 1 + B) = 1 C AP 1 1 C B Then: a quadratic equation on P 1. ( B P1 2 + A + K J GC ) KB HC P 1 + JA JA = 0 12

14 Solving the system III We have two solutions: P 1 = 1 2 B A K J + GC JA ± one stable and another unstable. ( (B A + K J GC JA ) 2 4 ) 0.5 KB HC JA If we pick the stable root and find R 1 = 1 C (AP 1 + B), we have to a system of two linear equations on two unknowns with solution: P 2 = D (JN + K) + CLN + CM AJN + AK CG CJR 1 R 2 = ALN AM + DG + DJR 1 AJN + AK CG CJR 1 13

15 Practical implementation How do we do this in practice? Solving quadratic equations: A Toolkit for Analyzing Nonlinear Dynamic Stochastic Models Easily by Harald Uhlig. Using dynare. 14

16 General structure of linearized system Given m states s t, n controls y t, and k exogenous stochastic processes z t+1, we have: As t + Bs t 1 + Cy t + Dz t = 0 E t (Fs t+1 + Gs t + Hs t 1 + Jy t+1 + Ky t + Lz t+1 + Mz t ) = 0 E t z t+1 = Nz t where C is of size l n, l n and of rank n, F is of size (m + n l) n, and that N has only stable eigenvalues. 15

17 Policy functions I We guess policy functions of the form: s t = Ps t 1 + Qz t y t = Rs t 1 + Uz t where P, Q, R, and U are matrices such that the computed equilibrium is stable. 16

18 Policy functions II For simplicity, suppose l = n (standard case, see Uhlig s chapter for the general case). Then: 1. P satisfies the matrix quadratic equation: ( F JC 1 A ) P 2 ( JC 1 B G + KC 1 A ) P KC 1 B + H = 0 The equilibrium is stable iff max (abs (eig (P))) < R is given by: R = C 1 (AP + B) 3. Q satisfies: N ( F JC 1 A ) + I k ( JR + FP + G KC 1 A ) vec (Q) = vec (( JC 1 D L ) N + KC 1 D M ) 4. U satisfies: U = C 1 (AQ + D) 17

19 How to solve quadratic equations To solve for the m m matrix P in ΨP 2 ΓP Θ = 0 1. Define the 2m 2m matrices: [ Γ Θ Ξ = I m 0 m ], and = [ Ψ 0 m I m 0 m ] 2. Let s be the generalized eigenvector and λ be the corresponding generalized eigenvalue of Ξ w.r.t.. Then, we can write s = [λx, x ] for some x R m. 3. If m generalized eigenvalues λ 1, λ 2,..., λ m with generalized eigenvectors s 1,..., s m of Ξ w.r.t., written as s = [λx i, x i ] for some x i R m and if (x 1,..., x m ) is linearly independent, then: P = ΩΛΩ 1 is a solution to the matrix quadratic equation where Ω = [x 1,..., x m ] and Λ = [λ 1,..., λ m ]. The solution of P is stable if max λ i < 1. Conversely, any diagonalizable solution P can be written in this way. 18

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

Solving Monetary (MIU) models with Linearized Euler Equations: Method of Undetermined Coefficients

Solving Monetary (MIU) models with Linearized Euler Equations: Method of Undetermined Coefficients Int. J. Res. Ind. Eng. Vol. 6, No. 2 (207) 72 83 International Journal of Research in Industrial Engineering www.riejournal.com Solving Monetary (MIU) models with Linearized Euler Equations: Method of

More information

Perturbation Methods I: Basic Results

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

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

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

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

News-Shock Subroutine for Prof. Uhlig s Toolkit

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

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

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

Inference. Jesús Fernández-Villaverde University of Pennsylvania

Inference. Jesús Fernández-Villaverde University of Pennsylvania Inference Jesús Fernández-Villaverde University of Pennsylvania 1 A Model with Sticky Price and Sticky Wage Household j [0, 1] maximizes utility function: X E 0 β t t=0 G t ³ C j t 1 1 σ 1 1 σ ³ N j t

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

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

Solving Linear Rational Expectation Models

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

Log-linearisation Tutorial

Log-linearisation Tutorial Log-linearisation Tutorial Weijie Chen Department of Political and Economic Studies University of Helsinki Updated on 5 May 2012 Abstract To solve DSGE models, first we have to collect all expectational

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

Video 6.1 Vijay Kumar and Ani Hsieh

Video 6.1 Vijay Kumar and Ani Hsieh Video 6.1 Vijay Kumar and Ani Hsieh Robo3x-1.6 1 In General Disturbance Input + - Input Controller + + System Output Robo3x-1.6 2 Learning Objectives for this Week State Space Notation Modeling in the

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

Diagonalization of Matrix

Diagonalization of Matrix of Matrix King Saud University August 29, 2018 of Matrix Table of contents 1 2 of Matrix Definition If A M n (R) and λ R. We say that λ is an eigenvalue of the matrix A if there is X R n \ {0} such that

More information

Macroeconomics II Money in the Utility function

Macroeconomics II Money in the Utility function McCless]Prof. McCless UCEMA Prof. McCless UCEMA Macroeconomics II Money in the Utility function [ October, 00 Money in the Utility function Money in the Utility function Alternative way to add money to

More information

Lecture 15, 16: Diagonalization

Lecture 15, 16: Diagonalization Lecture 15, 16: Diagonalization Motivation: Eigenvalues and Eigenvectors are easy to compute for diagonal matrices. Hence, we would like (if possible) to convert matrix A into a diagonal matrix. Suppose

More information

TMA Calculus 3. Lecture 21, April 3. Toke Meier Carlsen Norwegian University of Science and Technology Spring 2013

TMA Calculus 3. Lecture 21, April 3. Toke Meier Carlsen Norwegian University of Science and Technology Spring 2013 TMA4115 - Calculus 3 Lecture 21, April 3 Toke Meier Carlsen Norwegian University of Science and Technology Spring 2013 www.ntnu.no TMA4115 - Calculus 3, Lecture 21 Review of last week s lecture Last week

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

AA 242B / ME 242B: Mechanical Vibrations (Spring 2016)

AA 242B / ME 242B: Mechanical Vibrations (Spring 2016) AA 242B / ME 242B: Mechanical Vibrations (Spring 206) Solution of Homework #3 Control Tab Figure : Schematic for the control tab. Inadequacy of a static-test A static-test for measuring θ would ideally

More information

Often, researchers wish to analyze nonlinear dynamic discrete-time stochastic models. This paper

Often, researchers wish to analyze nonlinear dynamic discrete-time stochastic models. This paper Discussion Paper 101 Federal Reserve Bank of Minneapolis Institute for Empirical Macroeconomics 250 Marquette Avenue Minneapolis, Minnesota 55480-0291 June 1995 A Toolkit for Analyzing Nonlinear Dynamic

More information

Dispersion relations, linearization and linearized dynamics in PDE models

Dispersion relations, linearization and linearized dynamics in PDE models Dispersion relations, linearization and linearized dynamics in PDE models 1 Dispersion relations Suppose that u(x, t) is a function with domain { < x 0}, and it satisfies a linear, constant coefficient

More information

Example: Filter output power. maximization. Definition. Eigenvalues, eigenvectors and similarity. Example: Stability of linear systems.

Example: Filter output power. maximization. Definition. Eigenvalues, eigenvectors and similarity. Example: Stability of linear systems. Lecture 2: Eigenvalues, eigenvectors and similarity The single most important concept in matrix theory. German word eigen means proper or characteristic. KTH Signal Processing 1 Magnus Jansson/Emil Björnson

More information

Linear Algebra Review (Course Notes for Math 308H - Spring 2016)

Linear Algebra Review (Course Notes for Math 308H - Spring 2016) Linear Algebra Review (Course Notes for Math 308H - Spring 2016) Dr. Michael S. Pilant February 12, 2016 1 Background: We begin with one of the most fundamental notions in R 2, distance. Letting (x 1,

More information

Lecture 3 Eigenvalues and Eigenvectors

Lecture 3 Eigenvalues and Eigenvectors Lecture 3 Eigenvalues and Eigenvectors Eivind Eriksen BI Norwegian School of Management Department of Economics September 10, 2010 Eivind Eriksen (BI Dept of Economics) Lecture 3 Eigenvalues and Eigenvectors

More information

Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems

Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 1 of 45 Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems Peter J. Hammond latest revision 2017 September

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

Log-Linear Approximation and Model. Solution

Log-Linear Approximation and Model. Solution Log-Linear and Model David N. DeJong University of Pittsburgh Spring 2008, Revised Spring 2010 Last time, we sketched the process of converting model environments into non-linear rst-order systems of expectational

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

VAR Model. (k-variate) VAR(p) model (in the Reduced Form): Y t-2. Y t-1 = A + B 1. Y t + B 2. Y t-p. + ε t. + + B p. where:

VAR Model. (k-variate) VAR(p) model (in the Reduced Form): Y t-2. Y t-1 = A + B 1. Y t + B 2. Y t-p. + ε t. + + B p. where: VAR Model (k-variate VAR(p model (in the Reduced Form: where: Y t = A + B 1 Y t-1 + B 2 Y t-2 + + B p Y t-p + ε t Y t = (y 1t, y 2t,, y kt : a (k x 1 vector of time series variables A: a (k x 1 vector

More information

When Inequality Matters for Macro and Macro Matters for Inequality

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

Jordan Canonical Form

Jordan Canonical Form Jordan Canonical Form Massoud Malek Jordan normal form or Jordan canonical form (named in honor of Camille Jordan) shows that by changing the basis, a given square matrix M can be transformed into a certain

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

New Keynesian Macroeconomics

New Keynesian Macroeconomics New Keynesian Macroeconomics Chapter 4: The New Keynesian Baseline Model (continued) Prof. Dr. Kai Carstensen Ifo Institute for Economic Research and LMU Munich May 21, 212 Prof. Dr. Kai Carstensen (LMU

More information

Lecture 11: Diagonalization

Lecture 11: Diagonalization Lecture 11: Elif Tan Ankara University Elif Tan (Ankara University) Lecture 11 1 / 11 Definition The n n matrix A is diagonalizableif there exits nonsingular matrix P d 1 0 0. such that P 1 AP = D, where

More information

Eigenvalue and Eigenvector Homework

Eigenvalue and Eigenvector Homework Eigenvalue and Eigenvector Homework Olena Bormashenko November 4, 2 For each of the matrices A below, do the following:. Find the characteristic polynomial of A, and use it to find all the eigenvalues

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

Lecture Note 1: Background

Lecture Note 1: Background ECE5463: Introduction to Robotics Lecture Note 1: Background Prof. Wei Zhang Department of Electrical and Computer Engineering Ohio State University Columbus, Ohio, USA Spring 2018 Lecture 1 (ECE5463 Sp18)

More information

Lecture Notes 6: Dynamic Equations Part A: First-Order Difference Equations in One Variable

Lecture Notes 6: Dynamic Equations Part A: First-Order Difference Equations in One Variable University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 1 of 54 Lecture Notes 6: Dynamic Equations Part A: First-Order Difference Equations in One Variable Peter J. Hammond latest revision 2017

More information

Filtering and Likelihood Inference

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

Math 2J Lecture 16-11/02/12

Math 2J Lecture 16-11/02/12 Math 2J Lecture 16-11/02/12 William Holmes Markov Chain Recap The population of a town is 100000. Each person is either independent, democrat, or republican. In any given year, each person can choose to

More information

Conjugate Gradient (CG) Method

Conjugate Gradient (CG) Method Conjugate Gradient (CG) Method by K. Ozawa 1 Introduction In the series of this lecture, I will introduce the conjugate gradient method, which solves efficiently large scale sparse linear simultaneous

More information

Midterm 1 NAME: QUESTION 1 / 10 QUESTION 2 / 10 QUESTION 3 / 10 QUESTION 4 / 10 QUESTION 5 / 10 QUESTION 6 / 10 QUESTION 7 / 10 QUESTION 8 / 10

Midterm 1 NAME: QUESTION 1 / 10 QUESTION 2 / 10 QUESTION 3 / 10 QUESTION 4 / 10 QUESTION 5 / 10 QUESTION 6 / 10 QUESTION 7 / 10 QUESTION 8 / 10 Midterm 1 NAME: RULES: You will be given the entire period (1PM-3:10PM) to complete the test. You can use one 3x5 notecard for formulas. There are no calculators nor those fancy cellular phones nor groupwork

More information

When Inequality Matters for Macro and Macro Matters for Inequality

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

1. Find the solution of the following uncontrolled linear system. 2 α 1 1

1. Find the solution of the following uncontrolled linear system. 2 α 1 1 Appendix B Revision Problems 1. Find the solution of the following uncontrolled linear system 0 1 1 ẋ = x, x(0) =. 2 3 1 Class test, August 1998 2. Given the linear system described by 2 α 1 1 ẋ = x +

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

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

EC744 Lecture Notes: Economic Dynamics. Prof. Jianjun Miao

EC744 Lecture Notes: Economic Dynamics. Prof. Jianjun Miao EC744 Lecture Notes: Economic Dynamics Prof. Jianjun Miao 1 Deterministic Dynamic System State vector x t 2 R n State transition function x t = g x 0 ; t; ; x 0 = x 0 ; parameter 2 R p A parametrized dynamic

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

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

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

Solving Linear Rational Expectations Models

Solving Linear Rational Expectations Models Solving Linear Rational Expectations Models simplified from Christopher A. Sims, by Michael Reiter January 2010 1 General form of the models The models we are interested in can be cast in the form Γ 0

More information

LINEAR ALGEBRA: NUMERICAL METHODS. Version: August 12,

LINEAR ALGEBRA: NUMERICAL METHODS. Version: August 12, LINEAR ALGEBRA: NUMERICAL METHODS. Version: August 12, 2000 74 6 Summary Here we summarize the most important information about theoretical and numerical linear algebra. MORALS OF THE STORY: I. Theoretically

More information

Linear ODEs. Existence of solutions to linear IVPs. Resolvent matrix. Autonomous linear systems

Linear ODEs. Existence of solutions to linear IVPs. Resolvent matrix. Autonomous linear systems Linear ODEs p. 1 Linear ODEs Existence of solutions to linear IVPs Resolvent matrix Autonomous linear systems Linear ODEs Definition (Linear ODE) A linear ODE is a differential equation taking the form

More information

Math 315: Linear Algebra Solutions to Assignment 7

Math 315: Linear Algebra Solutions to Assignment 7 Math 5: Linear Algebra s to Assignment 7 # Find the eigenvalues of the following matrices. (a.) 4 0 0 0 (b.) 0 0 9 5 4. (a.) The characteristic polynomial det(λi A) = (λ )(λ )(λ ), so the eigenvalues are

More information

Simple Iteration, cont d

Simple Iteration, cont d Jim Lambers MAT 772 Fall Semester 2010-11 Lecture 2 Notes These notes correspond to Section 1.2 in the text. Simple Iteration, cont d In general, nonlinear equations cannot be solved in a finite sequence

More information

Dynamic Response of Structures With Frequency Dependent Damping

Dynamic Response of Structures With Frequency Dependent Damping Dynamic Response of Structures With Frequency Dependent Damping Blanca Pascual & S Adhikari School of Engineering, Swansea University, Swansea, UK Email: S.Adhikari@swansea.ac.uk URL: http://engweb.swan.ac.uk/

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

Spectral Analysis. Jesús Fernández-Villaverde University of Pennsylvania

Spectral Analysis. Jesús Fernández-Villaverde University of Pennsylvania Spectral Analysis Jesús Fernández-Villaverde University of Pennsylvania 1 Why Spectral Analysis? We want to develop a theory to obtain the business cycle properties of the data. Burns and Mitchell (1946).

More information

ECON607 Fall 2010 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment 2

ECON607 Fall 2010 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment 2 ECON607 Fall 200 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment 2 The due date for this assignment is Tuesday, October 2. ( Total points = 50). (Two-sector growth model) Consider the

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

Identification Methods for Structural Systems

Identification Methods for Structural Systems Prof. Dr. Eleni Chatzi System Stability Fundamentals Overview System Stability Assume given a dynamic system with input u(t) and output x(t). The stability property of a dynamic system can be defined from

More information

Interactions. Yuan Gao. Spring Applied Mathematics University of Washington

Interactions. Yuan Gao. Spring Applied Mathematics University of Washington Interactions Yuan Gao Applied Mathematics University of Washington yuangao@uw.edu Spring 2015 1 / 27 Nonlinear System Consider the following coupled ODEs: dx = f (x, y). dt dy = g(x, y). dt In general,

More information

Diagonalization. P. Danziger. u B = A 1. B u S.

Diagonalization. P. Danziger. u B = A 1. B u S. 7., 8., 8.2 Diagonalization P. Danziger Change of Basis Given a basis of R n, B {v,..., v n }, we have seen that the matrix whose columns consist of these vectors can be thought of as a change of basis

More information

Math Ordinary Differential Equations

Math Ordinary Differential Equations Math 411 - Ordinary Differential Equations Review Notes - 1 1 - Basic Theory A first order ordinary differential equation has the form x = f(t, x) (11) Here x = dx/dt Given an initial data x(t 0 ) = x

More information

Applied Linear Algebra in Geoscience Using MATLAB

Applied Linear Algebra in Geoscience Using MATLAB Applied Linear Algebra in Geoscience Using MATLAB Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional Plots Programming in

More information

Math 3191 Applied Linear Algebra

Math 3191 Applied Linear Algebra Math 9 Applied Linear Algebra Lecture 9: Diagonalization Stephen Billups University of Colorado at Denver Math 9Applied Linear Algebra p./9 Section. Diagonalization The goal here is to develop a useful

More information

The Small-Open-Economy Real Business Cycle Model

The Small-Open-Economy Real Business Cycle Model The Small-Open-Economy Real Business Cycle Model Comments Some Empirical Regularities Variable Canadian Data σ xt ρ xt,x t ρ xt,gdp t y 2.8.6 c 2.5.7.59 i 9.8.3.64 h 2.54.8 tb y.9.66 -.3 Source: Mendoza

More information

A toolkit for analyzing nonlinear dynamic stochastic models easily Uhlig, Harald

A toolkit for analyzing nonlinear dynamic stochastic models easily Uhlig, Harald Tilburg University A toolkit for analyzing nonlinear dynamic stochastic models easily Uhlig, Harald Publication date: 1995 Link to publication Citation for published version (APA): Uhlig, H. F. H. V. S.

More information

Linearization of Differential Equation Models

Linearization of Differential Equation Models Linearization of Differential Equation Models 1 Motivation We cannot solve most nonlinear models, so we often instead try to get an overall feel for the way the model behaves: we sometimes talk about looking

More information

Section 7.3: SYMMETRIC MATRICES AND ORTHOGONAL DIAGONALIZATION

Section 7.3: SYMMETRIC MATRICES AND ORTHOGONAL DIAGONALIZATION Section 7.3: SYMMETRIC MATRICES AND ORTHOGONAL DIAGONALIZATION When you are done with your homework you should be able to Recognize, and apply properties of, symmetric matrices Recognize, and apply properties

More information

Differentiation and Integration

Differentiation and Integration Differentiation and Integration (Lectures on Numerical Analysis for Economists II) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 12, 2018 1 University of Pennsylvania 2 Boston College Motivation

More information

Stability of Feedback Solutions for Infinite Horizon Noncooperative Differential Games

Stability of Feedback Solutions for Infinite Horizon Noncooperative Differential Games Stability of Feedback Solutions for Infinite Horizon Noncooperative Differential Games Alberto Bressan ) and Khai T. Nguyen ) *) Department of Mathematics, Penn State University **) Department of Mathematics,

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

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input,

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input, MATH 20550 The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input, F(x 1,, x n ) F 1 (x 1,, x n ),, F m (x 1,, x n ) where each

More information

ẋ n = f n (x 1,...,x n,u 1,...,u m ) (5) y 1 = g 1 (x 1,...,x n,u 1,...,u m ) (6) y p = g p (x 1,...,x n,u 1,...,u m ) (7)

ẋ n = f n (x 1,...,x n,u 1,...,u m ) (5) y 1 = g 1 (x 1,...,x n,u 1,...,u m ) (6) y p = g p (x 1,...,x n,u 1,...,u m ) (7) EEE582 Topical Outline A.A. Rodriguez Fall 2007 GWC 352, 965-3712 The following represents a detailed topical outline of the course. It attempts to highlight most of the key concepts to be covered and

More information

Technical appendices: Business cycle accounting for the Japanese economy using the parameterized expectations algorithm

Technical appendices: Business cycle accounting for the Japanese economy using the parameterized expectations algorithm Technical appendices: Business cycle accounting for the Japanese economy using the parameterized expectations algorithm Masaru Inaba November 26, 2007 Introduction. Inaba (2007a) apply the parameterized

More information

Master 2 Macro I. Lecture notes #12 : Solving Dynamic Rational Expectations Models

Master 2 Macro I. Lecture notes #12 : Solving Dynamic Rational Expectations Models 2012-2013 Master 2 Macro I Lecture notes #12 : Solving Dynamic Rational Expectations Models Franck Portier (based on Gilles Saint-Paul lecture notes) franck.portier@tse-fr.eu Toulouse School of Economics

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

1 Relative degree and local normal forms

1 Relative degree and local normal forms THE ZERO DYNAMICS OF A NONLINEAR SYSTEM 1 Relative degree and local normal orms The purpose o this Section is to show how single-input single-output nonlinear systems can be locally given, by means o a

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

Math 331 Homework Assignment Chapter 7 Page 1 of 9

Math 331 Homework Assignment Chapter 7 Page 1 of 9 Math Homework Assignment Chapter 7 Page of 9 Instructions: Please make sure to demonstrate every step in your calculations. Return your answers including this homework sheet back to the instructor as a

More information

Suggested Solutions to Problem Set 2

Suggested Solutions to Problem Set 2 Macroeconomic Theory, Fall 03 SEF, HKU Instructor: Dr. Yulei Luo October 03 Suggested Solutions to Problem Set. 0 points] Consider the following Ramsey-Cass-Koopmans model with fiscal policy. First, we

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

2. What is the fraction of aggregate savings due to the precautionary motive? (These two questions are analyzed in the paper by Ayiagari)

2. What is the fraction of aggregate savings due to the precautionary motive? (These two questions are analyzed in the paper by Ayiagari) University of Minnesota 8107 Macroeconomic Theory, Spring 2012, Mini 1 Fabrizio Perri Stationary equilibria in economies with Idiosyncratic Risk and Incomplete Markets We are now at the point in which

More information

REVIEW OF DIFFERENTIAL CALCULUS

REVIEW OF DIFFERENTIAL CALCULUS REVIEW OF DIFFERENTIAL CALCULUS DONU ARAPURA 1. Limits and continuity To simplify the statements, we will often stick to two variables, but everything holds with any number of variables. Let f(x, y) be

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

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

DIAGONALIZATION. In order to see the implications of this definition, let us consider the following example Example 1. Consider the matrix

DIAGONALIZATION. In order to see the implications of this definition, let us consider the following example Example 1. Consider the matrix DIAGONALIZATION Definition We say that a matrix A of size n n is diagonalizable if there is a basis of R n consisting of eigenvectors of A ie if there are n linearly independent vectors v v n such that

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

Review of similarity transformation and Singular Value Decomposition

Review of similarity transformation and Singular Value Decomposition Review of similarity transformation and Singular Value Decomposition Nasser M Abbasi Applied Mathematics Department, California State University, Fullerton July 8 7 page compiled on June 9, 5 at 9:5pm

More information

Solution for Problem Set 3

Solution for Problem Set 3 Solution for Problem Set 3 Q. Heterogeneous Expectations. Consider following dynamic IS-LM economy in Lecture Notes 8: IS curve: y t = ar t + u t (.) where y t is output, r t is the real interest rate,

More information