Solving Models with Heterogeneous Agents: Reiter Hybrid Method

Similar documents
Solving Models with Heterogeneous Agents Macro-Finance Lecture

Solving Heterogeneous Agent Models with Dynare

Accuracy of models with heterogeneous agents

Solving Models with Heterogeneous Agents Xpa algorithm

Parameterized Expectations Algorithm

Solving Models with Heterogeneous Expectations

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

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

1 Bewley Economies with Aggregate Uncertainty

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

Introduction to Numerical Methods

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

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

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

When Inequality Matters for Macro and Macro Matters for Inequality

Incomplete Markets, Heterogeneity and Macroeconomic Dynamics

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

SOLVING HETEROGENEOUS-AGENT MODELS WITH PARAMETERIZED CROSS-SECTIONAL DISTRIBUTIONS

When Inequality Matters for Macro and Macro Matters for Inequality

Dynare Summer School - Accuracy Tests

Monetary Policy, Price Dynamics, and Welfare

Perturbation Methods I: Basic Results

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

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

Appendices to: Revisiting the Welfare Effects of Eliminating Business Cycles

Nonlinear and Stable Perturbation-Based Approximations

Lecture 4 The Centralized Economy: Extensions

New Notes on the Solow Growth Model

Econ Slides from Lecture 10

Real Business Cycle Model (RBC)

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

Solving models with (lots of) idiosyncratic risk

Macroeconomics Theory II

Notes on Winnie Choi s Paper (Draft: November 4, 2004; Revised: November 9, 2004)

Lecture 15 Real Business Cycle Model. Noah Williams

UNIVERSITY OF WISCONSIN DEPARTMENT OF ECONOMICS MACROECONOMICS THEORY Preliminary Exam August 1, :00 am - 2:00 pm

Accuracy Verification for Numerical Solutions of Equilibrium Models

Problem 1 (30 points)

Dynamic Macroeconomic Theory Notes. David L. Kelly. Department of Economics University of Miami Box Coral Gables, FL

Estimating Macroeconomic Models: A Likelihood Approach

Cointegration and the Ramsey Model

Controlling for Time Invariant Heterogeneity

Lecture 2. Business Cycle Measurement. Randall Romero Aguilar, PhD II Semestre 2017 Last updated: August 18, 2017

McCall Model. Prof. Lutz Hendricks. November 22, Econ720

Simulating models with heterogeneous agents

More on Roy Model of Self-Selection

The New Keynesian Model

Advanced Tools in Macroeconomics

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

Introduction to Coding DSGE Models with Dynare

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

Modelling Czech and Slovak labour markets: A DSGE model with labour frictions

Simple New Keynesian Model without Capital. Lawrence J. Christiano

1 The Basic RBC Model

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

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

Endogenous information acquisition

Lecture 12. Estimation of Heterogeneous Agent Models. ECO 521: Advanced Macroeconomics I. Benjamin Moll. Princeton University, Fall

Lecture 2: Firms, Jobs and Policy

MA Advanced Macroeconomics: 7. The Real Business Cycle Model

004: Macroeconomic Theory

Lecture XI. Approximating the Invariant Distribution

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

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

General Examination in Macroeconomic Theory SPRING 2013

FEDERAL RESERVE BANK of ATLANTA

ADVANCED MACROECONOMIC TECHNIQUES NOTE 3a

Labor Economics, Lecture 11: Partial Equilibrium Sequential Search

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

An Introduction to Rational Inattention

Topic 5: The Difference Equation

The New Keynesian Model: Introduction

ADVANCED MACROECONOMICS 2015 FINAL EXAMINATION FOR THE FIRST HALF OF SPRING SEMESTER

Economic Growth: Lecture 8, Overlapping Generations

An Application to Growth Theory

Economic Growth: Lecture 13, Stochastic Growth

Coordinating Expectations: Global Games with Strategic Substitutes

A Model of Human Capital Accumulation and Occupational Choices. A simplified version of Keane and Wolpin (JPE, 1997)

Graduate Econometrics I: What is econometrics?

Dynamics and Monetary Policy in a Fair Wage Model of the Business Cycle

GMM, HAC estimators, & Standard Errors for Business Cycle Statistics

Advanced Macroeconomics

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

The Dark Corners of the Labor Market

Learning in Macroeconomic Models

Getting to page 31 in Galí (2008)

A Summary of Economic Methodology

4.8 Partial Fraction Decomposition

Solving Heterogeneous-agent Models with Parameterized Cross-sectional Distributions

Chapter 4. Applications/Variations

Problem Set #2: Overlapping Generations Models Suggested Solutions - Q2 revised

Nonlinear Solution of Heterogeneous Agent Models by Approximate Aggregation

Estimation of Static Discrete Choice Models Using Market Level Data

Mortenson Pissarides Model

Suggested Solutions to Problem Set 2

Part VII. Accounting for the Endogeneity of Schooling. Endogeneity of schooling Mean growth rate of earnings Mean growth rate Selection bias Summary

Full-Information Estimation of Heterogeneous Agent. Models Using Macro and Micro Data

Estimating Deep Parameters: GMM and SMM

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

Economics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011

Transcription:

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 uncertainty large = individual problem likely to be non-linear = perturbation probably bad idea with idiosyncratic and without aggregate uncertainty still doable even when problem is highly non-linear aggregate uncertainty small = aggregate aspect of the problem probably easy = perturbation likely to work

Crucial insight of Reiter (2008) Combining these three facts suggest that we should combine perturbation and projection

Perturbation combined with Projection σ e typically large = you can be far from the usual "σ z = 0, σ e = 0" steady state Reiter s idea: Focus on the "σ z = 0 and σ e > 0" steady state If σ z = 0 = cross-sectional distribution doesn t change over time and the problem becomes much easier to solve Use perturbation to deal with σ z > 0

Example environment for these slides Same as Krusell-Smith 1998 JPE paper except transition probabilities are assumed to constant In the appendix, it is discussed how to implement the Reiter method when transition probabilities do vary with the business cycle

Example environment Recall that KS assume that aggregate productivity, z t, can take on only two values and transition probabilities vary such that employment can also take on only two values so that employment level is not needed as an additional state variable. When perturbation is used to deal with fluctuations in z t then it is implicitly assumed that z t can take on more than a finite number of values (even though one could restrict it to a finite number when simulating the model) = applying the Reiter method means that either n t becomes an additional state variable or one should apply a modification of KS "trick" to get z t = n t (see appendix)

Two key elements of Reiter procedure 1 A numerical solution to the model: k i,t+1 = P N (e i,t, k i,t, z t, m t ; λ k ), or k i,t+1 = 0 if P N (e i,t, k i,t, z t, m t ; λ k ) < 0 m t is a characterization of the distribution 2 Knowing λ k should be enough to write down a formula for Γ λk ( ), where m t+1 = Γ λk (z t+1, z t, m t ) "formula" means an exact algebraic expression (think: something that can be entered in the Dynare model block)

What does the second element require? An exact expression (i.e., formula) is required = Γ λk cannot be such that it has to be determined with a simulation method or a subroutine Possibilities: 1 m t describes complete distribution = m t can be histogram values at a fine grid (as in Reiter 2008). Simulation slides give expression for Γ λk ( ) m t could be limited set of moments if it is combined with a distributional assumption as in Winberry (2016) 2 m t are the moments of the levels of k i,t so that explicit aggregation is possible as in XPA (this will introduce additional policy functions if higher-order moments are used. See XPA slides)

Rewrite the policy function Rewrite the numerical solution to the model as k i,t+1 = P n (e i,t, k i,t ; λ k,t ) or k i,t+1 = 0 if P n (e i,t, k i,t ; λ k,t ) < 0 with λ k,t = λ k (z t, m t ) = λ k (s t )

More on distribution Take KS environment. e i,t {0, 1} and z t { z b, z g} but transition probabilities constant Suppose m t contains the mean and uncentered variance of capital holdings for employed and unemployed and we make an assumption on the functional form of the distribution ) Thus, we know the density f (k i,t ; m [1],0,t, m [2],0,t for ) unemployed and density f (k i,t ; m [1],1,t, m [2],1,t for employed Notation: m [k],e,t is the k-order moment for capital of workers with employment status e in period t

More on distribution Expressions for end-of-period moments are easy to write down. E.g., for the second moment for the unemployed we get m [2],0,t = + (P N (0, k i,t ; λ k ) 2 f (k i,t ; m [1],0,t, m [2],0,t ) dk i,t We use quadrature to turn this into a formula we can write down in say the Dynare model block ( becomes a sum) Getting a formula for beginning-of-next-period moments (which takes into account change in employment status), is just accounting (see simulation slides)

Notation & grid ε j and κ j : employment status and capital at grid point j Dimension of λ k,t = n # λ k If P N ( ) is 2 nd -order complete polynomial = n # λ k = 6 number of grid points = n # grid n# λ k no grid for s in the Reiter method!!!!!!!!!!!!!!!!!

Model equation at grid points log utility and δ = 1 for simplicity = Euler equation becomes ( ) 1 r(s)κ j +w(s)ε j l PN (ε j, κ j ; λ k (s)) E βr(s ) if P N (ε j, κ j ; λ k (s)) > 0. = ( (r(s )) P N (ε j, κ j ; λ k (s)) + w(s)ε l P N (ε, P N (ε j, κ j ; λ k (s)); λ k (s )) ) 1 ε j, s This equation is replaced by k i,t+1 = 0 if P N (ε j, κ j ; λ k (s)) 0.!!!! One must make a guess which part of the two-part Kuhn-Tucker conditions should be used at each grid point. (With perturbation we consider small changes in z so it is reasonable to assume that these characterizations will not change with z t )

Additional exact expressions 1 r(s) = αz ( K/ l ) α 1 2 w(s) = (1 α)z ( K/ l ) α 3 law of motion for z and ε 4 m = Γ λk (z, z, m) m is histogram in Reiter = Γ λk is fully known (see simulation slides) m can also be a limited set of moments if it is combined with a functional form assumption as in example above

Mental break Have I really done anything? Not much I constructed a grid I construct a system with individual choices substituted out using P n (e i,t, k i,t ; λ (s t ))

Perturbation system Suppose 2 nd -order polynomial is used: n # λ k = 6 Suppose there are 6 grid points After substituting out r and w as well as taking care of E t [ ], we get the following type of system Thus, F( ) known λ k (s) unknown F(λ k (s), s) = 0 6 1 6 1 z = (1 ρ) z + ρz + ε z m = Γ λk (z, z, m) This is a standard perturbation system!!!!!!!!!

What is known and unknown? We can replace E [ ε j, s ] with a formula, either because variables have discrete support as in the KS environment or because we use quadrature approximaton The unknown in this system is λ k (s)

Small comment If number of grid points exceeds n # λ k, then you have to take a stand on how to weigh the elements of F ( ) to get a system of n # λ k equations.

Perturbation system What are state variables in this perturbation system?

Perturbation system What are state variables in this perturbation system? state variables: s

Perturbation system What are state variables in this perturbation system? state variables: s What are not state variables in this perturbation system?

Perturbation system What are state variables in this perturbation system? state variables: s What are not state variables in this perturbation system? not state variables: ε and κ

Perturbation system What are state variables in this perturbation system? state variables: s What are not state variables in this perturbation system? not state variables: ε and κ What is this perturbation system solving for?

Perturbation system What are state variables in this perturbation system? state variables: s What are not state variables in this perturbation system? not state variables: ε and κ What is this perturbation system solving for? It will give you policy functions for the elements of λ k (s). These describe how the coeffi cients of the individual policy rules fluctuate with s

A simple perturbation system? Reiter (2008) uses a fine histogram to characterize CDF = dimension of m typically high (> 1, 000 in Reiter (2008)) = λ k has many inputs = the perturbation system has to solve for many policy functions; the perturbation system solves how each element of λ k changes with each element of s t!!!!!! = higher-order perturbation becomes very tough (even first-order may be tricky) Winberry (2016) approach using moments makes problem more tractable

Steady state What is the steady state of this system?

Steady state What is the steady state of this system? Simply set z = z = z and m = m = m

Steady state What is the steady state of this system? Simply set z = z = z and m = m = m Then this system of n # λ k equations solves the "no aggregate uncertainty" version of the model (Intuitively: given m (and implied prices) the six equations associated with the capital Euler equation at the six grid points solve for the individual policy function. Given the policy function, one can solve for the steady-state distribution m (see the simulation slides that this is actually very easy if m is a histogram)

More general environment Above we assumed transition probabilities are fixed = (un) employment rate is constant Alternatives 1 Specify how transition probabilities vary with z t. This does not complicate implementation of the Reiter method except that in general it will introduce employment as an additional aggregate state variable 2 Adopt a trick similar to the one used by KS that works for more general fluctuations in z t. Specifically, Transition probability from employed to employed = pz t+1 /z t Transition probability from unemployed employed = (1 p)z t+1 /(ñ z t ), where ñ equals total work force. This probability is higher when z t is higher (which can be justified by having less congestion on the matching market) The law of motion for n t+1 is then given by n t+1 = p z t+1 z z t + (1 p) t+1 z t (ñ z t ) (ñ z t) = z t+1.

References Reiter, M., 2009, Solving heterogeneous-agent models by projection and perturbation, Journal of Economic Dynamics and Control, 32, 1120-1155. Winberry, T. 2016, A toolbox for solving and estimating heterogeneous agent macro models. Available at http://faculty.chicagobooth.edu/thomas.winberry/research/winberr