Solving Heterogeneous Agent Models with Dynare

Size: px
Start display at page:

Download "Solving Heterogeneous Agent Models with Dynare"

Transcription

1 Solving Heterogeneous Agent Models with Dynare Wouter J. Den Haan University of Amsterdam March 12, 2009

2 Individual agent Subject to employment, i.e., labor supply shocks: e i,t = ρ e e i,t 1 + ε i,t ε i,t N(µ ε, σ 2 ε ) For now, assume µ ε is such that aggregate labor supply equals 1, i.e., Z exp(e i,t )di = 1 Incomplete markets only way to save is through holding capital

3 Individual rm Competitive rm so agent faces competitive prices w t = (1 α) z t (K t 1 ) α r t = αz t (K t 1 ) α 1

4 Individual agent max fc i,t,k i,t g t=0 E t=0 βt ln(c i,t ) s.t. c i,t + k i,t = r t k i,t 1 + w t exp(e i,t ) + (1 δ)k i,t 1 P(k i,t )

5 Penalty term P(k i,t ) can capture many things: borrowing constraint: k i,t 0 individual return is lower with lower capital holdings P(k i,t ) cannot be too wild if you are going to solve the model with perturbation techniques

6 What aggregate variables do agents care about? r t and w t They only depend on aggregate capital stock and z t!!! This is not true in general for equilibrium prices Agents are interested in all information that forecasts K t In principle that is the complete cross-sectional distribution of employment levels and capital levels

7 Equilibrium Continuum of agents Individual policy functions that solve the agent s maximization problem A wage and a rental rate given by equations above. A transition law for the cross-sectional distribution of capital, that is consistent with the investment policy function. f t = beginning-of-period cross-sectional distribution of capital and the employment status after the employment status has been realized. f t+1 = Υ(z t, f t )

8 Key approximating step Approximate the cross-sectional distribution with a limited set of characteristics Proposed in Den Haan (1996), Krusell & Smith (1997,1998), Rios-Rull (1997) Explicitly or implicitly solve for aggregate policy rule Solve individual policy rule for given aggregate law of motion Make the two consistent

9 Krusell-Smith (1997,1998) algorithm Assume the following approximating aggregate law of motion m t+1 = Γ(z t, m t ; η Γ ), where z t are the exogenous shocks and m t is a vector with cross-sectional moments.

10 Krusell-Smith (1997,1998) algorithm Start with an initial guess for its coe cients, η 0 Γ Use following iteration until n iter has converged Γ Given η iter solve for the individual policy rule. Γ Given indivudual policy rule simulate economy and generate a time series for m t. Use a regression analysis to update values of η η iter+1 Γ = λ ˆη Γ + (1 λ)ηiter Γ, with 0 < λ 1 Iterate until η iter+1 Γ is su ciently close to η iter Γ.

11 Solving for individual policy rules in KS algorithm Given aggregate law of motion you can solve for individual policy rules using your own favourite algorithm, including Dynare Note that the coe cients of the aggregate policy rules are simply parameters in the Dynare source le (the trick to rede ne parameters in the Dynare source le can again be used)

12 Explicit aggregation (Den Haan & Rendahl) The simulation part is an expensive part of the KS algorithm In theory simulating has bad properties Xpa avoids the simulation step Xpa works for any method to solve the individual policy rule and boils down to Preston-Roca if you solve individual policy rule with perturbation

13 XPA rst-order solution Individual policy rule: Aggregation gives k = a 0 + a k k 1 + a e e + a z z + a K K 1, K = a 0 + a k K 1 + a e + a z z + a K K 1 = a 0 + a e + (a k + a K ) K 1 + a z z = b 0 + b K K 1 + b z z

14 XPA rst-order solution Start with guess for fb 0, b K, b z g Use Dynare ( rst-order) to solve for fa 0, a k, a e, a z, a K g Update the law of motion for aggregate K: b 0 = a 0 + a e, b z = a z, b K = (a k + a K ) Iterate until convergence

15 XPA second-order solution k = a 0 + a k k 1 + a e e + a z z + a K K 1 +a k 2k a kek 1 e + a kz k 1 z + a kk kk 1 Aggregation gives +a e 2e 2 + a ez ez + a ek ek 1 + a z 2z 2 + a zk zk 1 + a K 2K 2 1 K = a 0 + a k K 1 + a e + a z z + a K K 1 +a k 2M(k 2 ) + a 1 kem(k 1 e) + a kz K 1 z + a kk K 2 1 +a e 2M(e 2 ) + a ez z + a ek K 1 + a z 2z 2 + a zk zk 1 + a K 2K 2 1 M(y) is the cross-sectional moment of variable y & M(e 2 ) is a known constant

16 XPA second-order solution Combining terms gives K = b 0 + b K K 1 + b z z + b zk zk 1 + b K 2K b z 2z2 +b M(k 2 ) M(k2 ) + b M(ke) M(ke) b 0 = a 0 + a e + a e 2M(e 2 ) b K = a k + a K + a ek b z = a z z + a ez b zk = +a kz + a zk b K 2 = a kk + a K 2 b z 2 = a z 2 b M(k 2 ) = a k 2 b M(ke) = a ke

17 XPA second-order solution There are now two new aggregate state variables M(k 2 1 ) and M(k 1e) If current K and r depend on these moments, then next period s values of K and r depend on next period s values of these moments. Thus, we need laws of motion to predict M(k 2 ) and M(ke +1 ) Note that M(ke +1 ) = ρ e M(ke)

18 First attempt Why not simply aggregate k 2 which is equal to (a 0 + a k k 1 + a e e + a z z + a K K 1 +a k 2k a kek 1 e + a kz k 1 z + a kk k 1 K 1 +a e 2e 2 + a ez ez + a ek ek 1 + a z 2z 2 + a zk zk 1 + a K 2K 2 1 )2 Problem: This introduces more cross-sectional moments (and it keeps on going)

19 XPA trick Get a second-order approximation for k 2 and ke In your Dynare source le you can simply add two equations like var1 var2 = kˆ2; = ke; Get laws of motion for M(k 2 ) and M(ke +1 ) by aggregating the second-order policy functions for var1 and var2.

Solving Models with Heterogeneous Agents Xpa algorithm

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

More information

Solving Models with Heterogeneous Agents: Reiter Hybrid Method

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

More information

Solving Models with Heterogeneous Agents Macro-Finance Lecture

Solving Models with Heterogeneous Agents Macro-Finance Lecture Solving Models with Heterogeneous Agents 2018 Macro-Finance Lecture Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan Overview lecture Model Pure global Krusell-Smith Parameterized

More information

Solving and Simulating Models with Heterogeneous Agents and Aggregate Uncertainty Yann ALGAN, Olivier ALLAIS, Wouter J. DEN HAAN, and Pontus RENDAHL

Solving and Simulating Models with Heterogeneous Agents and Aggregate Uncertainty Yann ALGAN, Olivier ALLAIS, Wouter J. DEN HAAN, and Pontus RENDAHL Solving and Simulating Models with Heterogeneous Agents and Aggregate Uncertainty Yann ALGAN, Olivier ALLAIS, Wouter J. DEN HAAN, and Pontus RENDAHL August 24, 2010 Abstract Although almost nonexistent

More information

Incomplete Markets, Heterogeneity and Macroeconomic Dynamics

Incomplete Markets, Heterogeneity and Macroeconomic Dynamics Incomplete Markets, Heterogeneity and Macroeconomic Dynamics Bruce Preston and Mauro Roca Presented by Yuki Ikeda February 2009 Preston and Roca (presenter: Yuki Ikeda) 02/03 1 / 20 Introduction Stochastic

More information

Lecture XII. Solving for the Equilibrium in Models with Idiosyncratic and Aggregate Risk

Lecture XII. Solving for the Equilibrium in Models with Idiosyncratic and Aggregate Risk Lecture XII Solving for the Equilibrium in Models with Idiosyncratic and Aggregate Risk Gianluca Violante New York University Quantitative Macroeconomics G. Violante, Idiosyncratic and Aggregate Risk p.

More information

Dynare Summer School - Accuracy Tests

Dynare Summer School - Accuracy Tests Dynare Summer School - Accuracy Tests Wouter J. Den Haan University of Amsterdam July 4, 2008 outer J. Den Haan (University of Amsterdam)Dynare Summer School - Accuracy Tests July 4, 2008 1 / 35 Accuracy

More information

Accuracy of models with heterogeneous agents

Accuracy of models with heterogeneous agents Accuracy of models with heterogeneous agents Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan Introduction Models with heterogeneous agents have many different dimensions Krusell-Smith

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

Lecture XIV. Solving for the Equilibrium in Models with Idiosyncratic and Aggregate Risk

Lecture XIV. Solving for the Equilibrium in Models with Idiosyncratic and Aggregate Risk Lecture XIV Solving for the Equilibrium in Models with Idiosyncratic and Aggregate Risk Gianluca Violante New York University Quantitative Macroeconomics G. Violante, Idiosyncratic and Aggregate Risk p.

More information

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

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

More information

1 Bewley Economies with Aggregate Uncertainty

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

More information

Introduction to Numerical Methods

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

More information

SOLVING HETEROGENEOUS-AGENT MODELS WITH PARAMETERIZED CROSS-SECTIONAL DISTRIBUTIONS

SOLVING HETEROGENEOUS-AGENT MODELS WITH PARAMETERIZED CROSS-SECTIONAL DISTRIBUTIONS SOLVING HETEROGENEOUS-AGENT MODELS WITH PARAMETERIZED CROSS-SECTIONAL DISTRIBUTIONS Yann ALGAN, Olivier ALLAIS,,,WouterJ.DENHAAN May 26, 2007 Abstract A new algorithm is developed to solve models with

More information

Solving Models with Heterogeneous Expectations

Solving Models with Heterogeneous Expectations Solving Models with Heterogeneous Expectations Wouter J. Den Haan London School of Economics c Wouter J. Den Haan August 29, 2014 Overview 1 Current approaches to model heterogeneous expectations 2 Numerical

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

Parameterized Expectations Algorithm

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

More information

Solutions for Homework #4

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

Problem 1 (30 points)

Problem 1 (30 points) Problem (30 points) Prof. Robert King Consider an economy in which there is one period and there are many, identical households. Each household derives utility from consumption (c), leisure (l) and a public

More information

Nonlinear Solution of Heterogeneous Agent Models by Approximate Aggregation

Nonlinear Solution of Heterogeneous Agent Models by Approximate Aggregation Nonlinear Solution of Heterogeneous Agent Models by Approximate Aggregation Michael Reiter, Institute for Advanced Studies, Vienna February 21 Abstract The paper deals with the computation of DSGE models

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

4- Current Method of Explaining Business Cycles: DSGE Models. Basic Economic Models

4- Current Method of Explaining Business Cycles: DSGE Models. Basic Economic Models 4- Current Method of Explaining Business Cycles: DSGE Models Basic Economic Models In Economics, we use theoretical models to explain the economic processes in the real world. These models de ne a relation

More information

Economic Growth: Lecture 13, Stochastic Growth

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

More information

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

(a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming

(a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming 1. Government Purchases and Endogenous Growth Consider the following endogenous growth model with government purchases (G) in continuous time. Government purchases enhance production, and the production

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 Economic Growth: Lecture 8, Technology Di usion, Trade and Interdependencies: Di usion of Technology

Advanced Economic Growth: Lecture 8, Technology Di usion, Trade and Interdependencies: Di usion of Technology Advanced Economic Growth: Lecture 8, Technology Di usion, Trade and Interdependencies: Di usion of Technology Daron Acemoglu MIT October 3, 2007 Daron Acemoglu (MIT) Advanced Growth Lecture 8 October 3,

More information

Comprehensive Exam. Macro Spring 2014 Retake. August 22, 2014

Comprehensive Exam. Macro Spring 2014 Retake. August 22, 2014 Comprehensive Exam Macro Spring 2014 Retake August 22, 2014 You have a total of 180 minutes to complete the exam. If a question seems ambiguous, state why, sharpen it up and answer the sharpened-up question.

More information

The Basic New Keynesian Model. Jordi Galí. November 2010

The Basic New Keynesian Model. Jordi Galí. November 2010 The Basic New Keynesian Model by Jordi Galí November 2 Motivation and Outline Evidence on Money, Output, and Prices: Short Run E ects of Monetary Policy Shocks (i) persistent e ects on real variables (ii)

More information

The Basic New Keynesian Model. Jordi Galí. June 2008

The Basic New Keynesian Model. Jordi Galí. June 2008 The Basic New Keynesian Model by Jordi Galí June 28 Motivation and Outline Evidence on Money, Output, and Prices: Short Run E ects of Monetary Policy Shocks (i) persistent e ects on real variables (ii)

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

Accuracy Verification for Numerical Solutions of Equilibrium Models

Accuracy Verification for Numerical Solutions of Equilibrium Models Accuracy Verification for Numerical Solutions of Equilibrium Models Leonid Kogan Indrajit Mitra March 3, 17 Abstract We propose a simulation-based procedure for evaluating approximation accuracy of numerical

More information

Competitive Equilibrium and the Welfare Theorems

Competitive Equilibrium and the Welfare Theorems Competitive Equilibrium and the Welfare Theorems Craig Burnside Duke University September 2010 Craig Burnside (Duke University) Competitive Equilibrium September 2010 1 / 32 Competitive Equilibrium and

More information

Macroeconomics IV Problem Set I

Macroeconomics IV Problem Set I 14.454 - Macroeconomics IV Problem Set I 04/02/2011 Due: Monday 4/11/2011 1 Question 1 - Kocherlakota (2000) Take an economy with a representative, in nitely-lived consumer. The consumer owns a technology

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

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

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

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

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

More information

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

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

More information

Solving models with (lots of) idiosyncratic risk

Solving models with (lots of) idiosyncratic risk Solving models with (lots of) idiosyncratic risk Wouter J. Den Haan November 8, 2009 Models with heterogeneous agents 1 Lots of idiosyncratic risk 2 If #2 leads to strong non-linearities in the policy

More information

Lecture 2: Firms, Jobs and Policy

Lecture 2: Firms, Jobs and Policy Lecture 2: Firms, Jobs and Policy Economics 522 Esteban Rossi-Hansberg Princeton University Spring 2014 ERH (Princeton University ) Lecture 2: Firms, Jobs and Policy Spring 2014 1 / 34 Restuccia and Rogerson

More information

Macroeconomic Topics Homework 1

Macroeconomic Topics Homework 1 March 25, 2004 Kjetil Storesletten. Macroeconomic Topics Homework 1 Due: April 23 1 Theory 1.1 Aggregation Consider an economy consisting of a continuum of agents of measure 1 who solve max P t=0 βt c

More information

Stagnation Traps. Gianluca Benigno and Luca Fornaro

Stagnation Traps. Gianluca Benigno and Luca Fornaro Stagnation Traps Gianluca Benigno and Luca Fornaro May 2015 Research question and motivation Can insu cient aggregate demand lead to economic stagnation? This question goes back, at least, to the Great

More information

Eaton Kortum Model (2002)

Eaton Kortum Model (2002) Eaton Kortum Model (2002) Seyed Ali Madanizadeh Sharif U. of Tech. November 20, 2015 Seyed Ali Madanizadeh (Sharif U. of Tech.) Eaton Kortum Model (2002) November 20, 2015 1 / 41 Introduction Eaton and

More information

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

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

More information

Explaining Rising Wage Inequality: Explorations With a Dynamic General Equilibrium Model of Labor Earnings with Heterogeneous Agents

Explaining Rising Wage Inequality: Explorations With a Dynamic General Equilibrium Model of Labor Earnings with Heterogeneous Agents Explaining Rising Wage Inequality: Explorations With a Dynamic General Equilibrium Model of Labor Earnings with Heterogeneous Agents James J. Heckman, Lance Lochner, and Christopher Taber April 22, 2009

More information

Monetary Policy, Price Dynamics, and Welfare

Monetary Policy, Price Dynamics, and Welfare Monetary Policy, Price Dynamics, and Welfare Jonathan Chiu Bank of Canada jchiu@bankofcanada.ca Miguel Molico Bank of Canada mmolico@bankofcanada.ca January 2008 DRAFT - Very Preliminary and Incomplete

More information

Macroeconomics II Dynamic macroeconomics Class 1: Introduction and rst models

Macroeconomics II Dynamic macroeconomics Class 1: Introduction and rst models Macroeconomics II Dynamic macroeconomics Class 1: Introduction and rst models Prof. George McCandless UCEMA Spring 2008 1 Class 1: introduction and rst models What we will do today 1. Organization of course

More information

New Notes on the Solow Growth Model

New Notes on the Solow Growth Model New Notes on the Solow Growth Model Roberto Chang September 2009 1 The Model The firstingredientofadynamicmodelisthedescriptionofthetimehorizon. In the original Solow model, time is continuous and the

More information

Solving Heterogeneous-agent Models with Parameterized Cross-sectional Distributions

Solving Heterogeneous-agent Models with Parameterized Cross-sectional Distributions Solving Heterogeneous-agent Models with Parameterized Cross-sectional Distributions Yann Algan, Olivier Allais, Wouter J Den Haan To cite this version: Yann Algan, Olivier Allais, Wouter J Den Haan. Solving

More information

Graduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models

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

Practice Questions for Mid-Term I. Question 1: Consider the Cobb-Douglas production function in intensive form:

Practice Questions for Mid-Term I. Question 1: Consider the Cobb-Douglas production function in intensive form: Practice Questions for Mid-Term I Question 1: Consider the Cobb-Douglas production function in intensive form: y f(k) = k α ; α (0, 1) (1) where y and k are output per worker and capital per worker respectively.

More information

A Global Economy-Climate Model with High Regional Resolution

A Global Economy-Climate Model with High Regional Resolution A Global Economy-Climate Model with High Regional Resolution Per Krusell IIES, University of Göteborg, CEPR, NBER Anthony A. Smith, Jr. Yale University, NBER March 2014 WORK-IN-PROGRESS!!! Overall goals

More information

Lecture 3, November 30: The Basic New Keynesian Model (Galí, Chapter 3)

Lecture 3, November 30: The Basic New Keynesian Model (Galí, Chapter 3) MakØk3, Fall 2 (blok 2) Business cycles and monetary stabilization policies Henrik Jensen Department of Economics University of Copenhagen Lecture 3, November 3: The Basic New Keynesian Model (Galí, Chapter

More information

Heterogeneous Agent Models: I

Heterogeneous Agent Models: I Heterogeneous Agent Models: I Mark Huggett 2 2 Georgetown September, 2017 Introduction Early heterogeneous-agent models integrated the income-fluctuation problem into general equilibrium models. A key

More information

Endogenous information acquisition

Endogenous information acquisition Endogenous information acquisition ECON 101 Benhabib, Liu, Wang (2008) Endogenous information acquisition Benhabib, Liu, Wang 1 / 55 The Baseline Mode l The economy is populated by a large representative

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

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

Fluctuations. Shocks, Uncertainty, and the Consumption/Saving Choice

Fluctuations. Shocks, Uncertainty, and the Consumption/Saving Choice Fluctuations. Shocks, Uncertainty, and the Consumption/Saving Choice Olivier Blanchard April 2002 14.452. Spring 2002. Topic 2. 14.452. Spring, 2002 2 Want to start with a model with two ingredients: ²

More information

Simulating models with heterogeneous agents

Simulating models with heterogeneous agents Simulaing models wih heerogeneous agens Wouer J. Den Haan London School of Economics c by Wouer J. Den Haan Individual agen Subjec o employmen shocks (ε i, {0, 1}) Incomplee markes only way o save is hrough

More information

Ramsey Cass Koopmans Model (1): Setup of the Model and Competitive Equilibrium Path

Ramsey Cass Koopmans Model (1): Setup of the Model and Competitive Equilibrium Path Ramsey Cass Koopmans Model (1): Setup of the Model and Competitive Equilibrium Path Ryoji Ohdoi Dept. of Industrial Engineering and Economics, Tokyo Tech This lecture note is mainly based on Ch. 8 of Acemoglu

More information

Econ 5110 Solutions to the Practice Questions for the Midterm Exam

Econ 5110 Solutions to the Practice Questions for the Midterm Exam Econ 50 Solutions to the Practice Questions for the Midterm Exam Spring 202 Real Business Cycle Theory. Consider a simple neoclassical growth model (notation similar to class) where all agents are identical

More information

Dynamics of Firms and Trade in General Equilibrium. Robert Dekle, Hyeok Jeong and Nobuhiro Kiyotaki USC, Seoul National University and Princeton

Dynamics of Firms and Trade in General Equilibrium. Robert Dekle, Hyeok Jeong and Nobuhiro Kiyotaki USC, Seoul National University and Princeton Dynamics of Firms and Trade in General Equilibrium Robert Dekle, Hyeok Jeong and Nobuhiro Kiyotaki USC, Seoul National University and Princeton Figure a. Aggregate exchange rate disconnect (levels) 28.5

More information

Advanced Macroeconomics II. Monetary Models with Nominal Rigidities. Jordi Galí Universitat Pompeu Fabra April 2018

Advanced Macroeconomics II. Monetary Models with Nominal Rigidities. Jordi Galí Universitat Pompeu Fabra April 2018 Advanced Macroeconomics II Monetary Models with Nominal Rigidities Jordi Galí Universitat Pompeu Fabra April 208 Motivation Empirical Evidence Macro evidence on the e ects of monetary policy shocks (i)

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

Learning in Macroeconomic Models

Learning in Macroeconomic Models Learning in Macroeconomic Models Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan Overview A bit of history of economic thought How expectations are formed can matter in the long run

More information

Introduction to Coding DSGE Models with Dynare

Introduction to Coding DSGE Models with Dynare Introduction to Coding DSGE Models with Macroeconomic Theory (MA1213) Juha Kilponen Bank of Finland Additional Material for Lecture 3, January 23, 2013 is preprocessor and a collection of Matlab (and GNU

More information

Dynare Class on Heathcote-Perri JME 2002

Dynare Class on Heathcote-Perri JME 2002 Dynare Class on Heathcote-Perri JME 2002 Tim Uy University of Cambridge March 10, 2015 Introduction Solving DSGE models used to be very time consuming due to log-linearization required Dynare is a collection

More information

Applying the Explicit Aggregation Algorithm to Discrete Choice Economies: With an Application to Estimating the Aggregate Technology Shock Process

Applying the Explicit Aggregation Algorithm to Discrete Choice Economies: With an Application to Estimating the Aggregate Technology Shock Process Applying the Explicit Aggregation Algorithm to Discrete Choice Economies: With an Application to Estimating the Aggregate Technology Shock Process Takeki Sunakawa The Ohio State University and Bank of

More information

Equilibrium in a Production Economy

Equilibrium in a Production Economy Equilibrium in a Production Economy Prof. Eric Sims University of Notre Dame Fall 2012 Sims (ND) Equilibrium in a Production Economy Fall 2012 1 / 23 Production Economy Last time: studied equilibrium in

More information

Macroeconomics - Data & Theory

Macroeconomics - Data & Theory Macroeconomics - Data & Theory Wouter J. Den Haan University of Amsterdam October 24, 2009 How to isolate the business cycle component? Easy way is to use the Hodrick-Prescott (HP) lter min fx τ,t g T

More information

Markov Perfect Equilibria in the Ramsey Model

Markov Perfect Equilibria in the Ramsey Model Markov Perfect Equilibria in the Ramsey Model Paul Pichler and Gerhard Sorger This Version: February 2006 Abstract We study the Ramsey (1928) model under the assumption that households act strategically.

More information

Aggregate Supply. Econ 208. April 3, Lecture 16. Econ 208 (Lecture 16) Aggregate Supply April 3, / 12

Aggregate Supply. Econ 208. April 3, Lecture 16. Econ 208 (Lecture 16) Aggregate Supply April 3, / 12 Aggregate Supply Econ 208 Lecture 16 April 3, 2007 Econ 208 (Lecture 16) Aggregate Supply April 3, 2007 1 / 12 Introduction rices might be xed for a brief period, but we need to look beyond this The di

More information

Topic 2. Consumption/Saving and Productivity shocks

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

Politico Economic Consequences of Rising Wage Inequality

Politico Economic Consequences of Rising Wage Inequality Politico Economic Consequences of Rising Wage Inequality Dean Corbae Pablo D Erasmo Burhan Kuruscu University of Texas at Austin and University of Maryland February 8, 2010 Increase in Wage Inequality

More information

Economics 210B Due: September 16, Problem Set 10. s.t. k t+1 = R(k t c t ) for all t 0, and k 0 given, lim. and

Economics 210B Due: September 16, Problem Set 10. s.t. k t+1 = R(k t c t ) for all t 0, and k 0 given, lim. and Economics 210B Due: September 16, 2010 Problem 1: Constant returns to saving Consider the following problem. c0,k1,c1,k2,... β t Problem Set 10 1 α c1 α t s.t. k t+1 = R(k t c t ) for all t 0, and k 0

More information

Housing and the Business Cycle

Housing and the Business Cycle Housing and the Business Cycle Morris Davis and Jonathan Heathcote Winter 2009 Huw Lloyd-Ellis () ECON917 Winter 2009 1 / 21 Motivation Need to distinguish between housing and non housing investment,!

More information

Permanent Income Hypothesis Intro to the Ramsey Model

Permanent Income Hypothesis Intro to the Ramsey Model Consumption and Savings Permanent Income Hypothesis Intro to the Ramsey Model Lecture 10 Topics in Macroeconomics November 6, 2007 Lecture 10 1/18 Topics in Macroeconomics Consumption and Savings Outline

More information

Appendices to: Revisiting the Welfare Effects of Eliminating Business Cycles

Appendices to: Revisiting the Welfare Effects of Eliminating Business Cycles Appendices to: Revisiting the Welfare Effects of Eliminating Business Cycles Per Krusell Toshihiko Mukoyama Ayşegül Şahin Anthony A. Smith, Jr. December 2008 A The integration principle applied to the

More information

Motivation Non-linear Rational Expectations The Permanent Income Hypothesis The Log of Gravity Non-linear IV Estimation Summary.

Motivation Non-linear Rational Expectations The Permanent Income Hypothesis The Log of Gravity Non-linear IV Estimation Summary. Econometrics I Department of Economics Universidad Carlos III de Madrid Master in Industrial Economics and Markets Outline Motivation 1 Motivation 2 3 4 5 Motivation Hansen's contributions GMM was developed

More information

Negative Income Taxes, Inequality and Poverty

Negative Income Taxes, Inequality and Poverty Negative Income Taxes, Inequality and Poverty Constantine Angyridis Brennan S. Thompson Department of Economics Ryerson University July 8, 2011 Overview We use a dynamic heterogeneous agents general equilibrium

More information

Neoclassical Business Cycle Model

Neoclassical Business Cycle Model Neoclassical Business Cycle Model Prof. Eric Sims University of Notre Dame Fall 2015 1 / 36 Production Economy Last time: studied equilibrium in an endowment economy Now: study equilibrium in an economy

More information

Graduate Macroeconomics - Econ 551

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

More information

Expectations and the Distribution of Wealth

Expectations and the Distribution of Wealth Expectations and the Distribution of Wealth Andrea Giusto June 2011 Abstract This paper addresses the distributional effects of shocks to expectations in a model of incomplete markets with uninsured idiosyncratic

More information

Lecture 4 The Centralized Economy: Extensions

Lecture 4 The Centralized Economy: Extensions Lecture 4 The Centralized Economy: Extensions Leopold von Thadden University of Mainz and ECB (on leave) Advanced Macroeconomics, Winter Term 2013 1 / 36 I Motivation This Lecture considers some applications

More information

TOBB-ETU - Econ 532 Practice Problems II (Solutions)

TOBB-ETU - Econ 532 Practice Problems II (Solutions) TOBB-ETU - Econ 532 Practice Problems II (Solutions) Q: Ramsey Model: Exponential Utility Assume that in nite-horizon households maximize a utility function of the exponential form 1R max U = e (n )t (1=)e

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

1 Introduction There are many questions in economics for which heterogeneous agent dynamic models have to be used to provide answers. Examples of thos

1 Introduction There are many questions in economics for which heterogeneous agent dynamic models have to be used to provide answers. Examples of thos University of Pennsylvania Revised December 1997 Computation of Equilibria in Heterogeneous Agent Models Jose-Vctor Ros-Rull University of Pennsylvania ABSTRACT This paper essentially puts together procedures

More information

Importing Skill-Biased Technology

Importing Skill-Biased Technology Importing Skill-Biased Technology Ariel Burstein Javier Cravino Jonathan Vogel January 2012 Intro Motivation Observations Capital equipment (e.g. computers and industrial machinery): Implication embodies

More information

General Equilibrium with Incomplete Markets

General Equilibrium with Incomplete Markets General Equilibrium with Incomplete Markets 1 General Equilibrium An economy populated by households without insurance against income risk They use borrowing-saving to self-insure Factor prices: general

More information

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

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

More information

The Solow Model in Discrete Time Allan Drazen October 2017

The Solow Model in Discrete Time Allan Drazen October 2017 The Solow Model in Discrete Time Allan Drazen October 2017 1 Technology There is a single good Y t produced by means of two factors of production capital K t in place at the beginning of the period and

More information

The Lucas Imperfect Information Model

The Lucas Imperfect Information Model The Lucas Imperfect Information Model Based on the work of Lucas (972) and Phelps (970), the imperfect information model represents an important milestone in modern economics. The essential idea of the

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

Lecture XI. Approximating the Invariant Distribution

Lecture XI. Approximating the Invariant Distribution Lecture XI Approximating the Invariant Distribution Gianluca Violante New York University Quantitative Macroeconomics G. Violante, Invariant Distribution p. 1 /24 SS Equilibrium in the Aiyagari model G.

More information

Productivity Losses from Financial Frictions: Can Self-financing Undo Capital Misallocation?

Productivity Losses from Financial Frictions: Can Self-financing Undo Capital Misallocation? Productivity Losses from Financial Frictions: Can Self-financing Undo Capital Misallocation? Benjamin Moll G Online Appendix: The Model in Discrete Time and with iid Shocks This Appendix presents a version

More information