Macro 1: Dynamic Programming 2

Similar documents
Heterogeneous Agent Models: I

Macro 1: Dynamic Programming 1

ECOM 009 Macroeconomics B. Lecture 2

Dynamic Programming. Macro 3: Lecture 2. Mark Huggett 2. 2 Georgetown. September, 2016

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

Macroeconomic Theory II Homework 2 - Solution

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

Neoclassical Growth Model: I

Lecture Notes 10: Dynamic Programming

Lecture 7: Stochastic Dynamic Programing and Markov Processes

Slides II - Dynamic Programming

Lecture 2. (1) Permanent Income Hypothesis (2) Precautionary Savings. Erick Sager. February 6, 2018

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

Stochastic Problems. 1 Examples. 1.1 Neoclassical Growth Model with Stochastic Technology. 1.2 A Model of Job Search

Graduate Macroeconomics 2 Problem set Solutions

Lecture 1: Introduction

Economics 2010c: Lecture 2 Iterative Methods in Dynamic Programming

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

Practical Dynamic Programming: An Introduction. Associated programs dpexample.m: deterministic dpexample2.m: stochastic

Small Open Economy RBC Model Uribe, Chapter 4

Advanced Economic Growth: Lecture 21: Stochastic Dynamic Programming and Applications

Labor Economics, Lecture 11: Partial Equilibrium Sequential Search

1 Bewley Economies with Aggregate Uncertainty

In the Ramsey model we maximized the utility U = u[c(t)]e nt e t dt. Now

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

Dynamic Optimization Problem. April 2, Graduate School of Economics, University of Tokyo. Math Camp Day 4. Daiki Kishishita.

Economics 2010c: Lecture 3 The Classical Consumption Model

Pseudo-Wealth and Consumption Fluctuations

Lecture 2. (1) Aggregation (2) Permanent Income Hypothesis. Erick Sager. September 14, 2015

ECOM 009 Macroeconomics B. Lecture 3

Dynamic Discrete Choice Structural Models in Empirical IO

Example I: Capital Accumulation

Economics 2010c: Lectures 9-10 Bellman Equation in Continuous Time

Topic 6: Consumption, Income, and Saving

Lecture 4 The Centralized Economy: Extensions

Basic Deterministic Dynamic Programming

An approximate consumption function

Permanent Income Hypothesis Intro to the Ramsey Model

Government The government faces an exogenous sequence {g t } t=0

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

Lecture 4: The Bellman Operator Dynamic Programming

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

A Simple Direct Estimate of Rule-of-Thumb Consumption Using the Method of Simulated Quantiles & Cross Validation

Area I: Contract Theory Question (Econ 206)

Macro I - Practice Problems - Growth Models

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

Lecture 4: Dynamic Programming

Econ 504, Lecture 1: Transversality and Stochastic Lagrange Multipliers

u(c t, x t+1 ) = c α t + x α t+1

Uncertainty Per Krusell & D. Krueger Lecture Notes Chapter 6

Macroeconomics Field Exam. August 2007

Concavity of the Consumption Function with Recursive Preferences

STOCHASTIC STABILITY OF MONOTONE ECONOMIES IN REGENERATIVE ENVIRONMENTS

Lecture 1: Dynamic Programming

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

Dynamic Programming Theorems

Models of Wage Dynamics

Appendices to: Revisiting the Welfare Effects of Eliminating Business Cycles

Macroeconomics Qualifying Examination

ADVANCED MACRO TECHNIQUES Midterm Solutions

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

Introduction Optimality and Asset Pricing

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

Bayesian Congestion Control over a Markovian Network Bandwidth Process

Final Exam - Math Camp August 27, 2014

The Hansen Singleton analysis

ECON 5118 Macroeconomic Theory

STATIONARY EQUILIBRIA OF ECONOMIES WITH A CONTINUUM OF HETEROGENEOUS CONSUMERS

General Examination in Macroeconomic Theory SPRING 2013

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

Stagnation Traps. Gianluca Benigno and Luca Fornaro

Notes on Recursive Utility. Consider the setting of consumption in infinite time under uncertainty as in

Stochastic Dynamic Programming: The One Sector Growth Model

Bayesian Congestion Control over a Markovian Network Bandwidth Process: A multiperiod Newsvendor Problem

1 Hotz-Miller approach: avoid numeric dynamic programming

G5212: Game Theory. Mark Dean. Spring 2017

Monetary Economics: Solutions Problem Set 1

Theory Field Examination Game Theory (209A) Jan Question 1 (duopoly games with imperfect information)

Indivisible Labor and the Business Cycle

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

Stochastic convexity in dynamic programming

Macroeconomics Theory II

The Permanent Income Hypothesis (PIH) Instructor: Dmytro Hryshko

1 Basic Analysis of Forward-Looking Decision Making

Chapter 2. GMM: Estimating Rational Expectations Models

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

ECON 2010c Solution to Problem Set 1

1 Jan 28: Overview and Review of Equilibrium

Chapter 4. Applications/Variations

Notes for ECON 970 and ECON 973 Loris Rubini University of New Hampshire

Dynamic stochastic game and macroeconomic equilibrium

Economic Growth: Lecture 13, Stochastic Growth

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

1 The Basic RBC Model

Macroeconomics Qualifying Examination

Asymmetric Information in Economic Policy. Noah Williams

Discussion Class Notes

Lecture 2 The Centralized Economy: Basic features

minimize x subject to (x 2)(x 4) u,

Topic 2. Consumption/Saving and Productivity shocks

Transcription:

Macro 1: Dynamic Programming 2 Mark Huggett 2 2 Georgetown September, 2016

DP Problems with Risk Strategy: Consider three classic problems: income fluctuation, optimal (stochastic) growth and search. Learn about methods and theoretical results in each literature at the same time. income-fluctuation problem max E[ β t u(c t )] s.t. c t + a t+1 e t + a t (1 + r), c t, a t+1 0 t=0 stochastic optimal growth problem. max E[ β t u(c t )] s.t. c t +k t+1 z t F (k t, 1)+k t (1 δ), c t, k t+1 0 t=0

Basic Issues and Themes: Tree structure of events Mathematical representation of E[ t=0 βt u(c t )] Mathematical representation of (c t, a t+1 ) or (c t, k t+1 ) Bellman s equation with risk Why we will (typically) assume that shocks are Markovian State variables will now play two roles: define choice set AND describe probabilistic views of future events Connection between decision rules and allocations (c t ) in original problem

Tree Structure of Events: Income-fluctuation problem Histories: E t = {(e 0,..., e t ) : e j E, j = 0,..., t}. E is finite set Specific History: e t = (e 0,..., e t ) E t optimal growth problem Histories: Z t = {(z 0,..., z t ) : z j Z, j = 0,..., t}. Z is finite set Specific History: z t = (z 0,..., z t ) Z t

Representation of E[ t=0 βt u(c t )] and decisions: Probability: P (e t ) for e t E t Math: We will focus on context where the number of histories is finite or countable. This makes theories of integration boil down to simple summation and avoids mathematical technicalities (probability and measure theory). E[ t=0 βt u(c t )] = t=0 Consumption: c t : E t R + Asset Holding: a t+1 : E t R + e t E t βt u(c(e t ))P (e t )

Income Fluctuation Problem Bellman s Eqn: v(a, e) = max u(c) + (c,a ) Γ(a,e) βe[v(a, e ) e] Γ(a, e) = {(c, a ) : c + a a(1 + r) + e, c, a 0} Decision Rules solving BE: (c(a, e), a(a, e)) Consumption: choices are produced by repeated application of decision rules and known initial conditions (a 0, e 0 ) c 0 (e 0 ) = c(a 0, e 0 ), c 1 (e 1 ) = c(a(a 0, e 0 ), e 1 ) c 2 (e 2 ) = c(a(a(a 0, e 0 ), e 1 ), e 2 )

Optimal Growth Problem Bellman s Eqn: v(k, z) = max u(c) + (c,k ) Γ(k,z) βe[v(k, z ) z] Γ(k, z) = {(c, k ) : c + k zf (k, 1) + k(1 δ), c, k 0} Decision Rules solving BE: (c(k, z), g(k, z)) Consumption: choices along a branch of the event tree are produced by repeated application of decision rules c 0 (z 0 ) = c(k 0, z 0 ), c 1 (z 1 ) = c(g(k 0, z 0 ), z 1 )

Income Fluctuation Problem Two Versions of Bellman s Eqn: v(a, e t ) = max u(c) + (c,a ) Γ(a,e t ) βe[v(a, e t+1 ) e t ] Γ(a, e t ) = {(c, a ) : c + a a(1 + r) + e t, c, a 0} v(a, e) = max u(c) + (c,a ) Γ(a,e) βe[v(a, e ) e] Γ(a, e) = {(c, a ) : c + a a(1 + r) + e, c, a 0} Latter holds w/ Markov shocks. It is computationally tractable. Former is not. We will only consider Markov shocks.

Income Fluctuation Problem: Euler eqn max E[ t=0 βt u(c t )] s.t. c t + a t+1 e t + a t (1 + r), c t, a t+1 0 Claim: Assume u is differentiable. If (c 0 (e 0 ), c 1 (e 1 ),...) is a solution and is interior at e t (i.e. c t (e t ), a t+1 (e t ) > 0 and c(e t, e t+1 ) > 0, e t+1 ), then (*) holds at e t : ( ) u (c t (e t )) = β(1 + r)e[u (c t+1 (e t+1 )) e t ] Proof: Construct deviation that decreases consumption in history e t by x and increases it by x(1 + r) in histories (e t, e t+1 ) for each e t+1 without any other changes. It s a feasible deviation for small x. At a solution, the marginal gain evaluated at x = 0 must be zero: β t u (c(e t ))P (e t )+β t+1 (1+r) e E u (c(e t, e t+1 ))P (e t, e t+1 ) = 0

Income Fluctuation Problem A1: u is cont and bd., A2: u is inc. and concave, A3: u is diff v(a, e) = max u(c) + (c,a ) Γ(a,e) βe[v(a, e ) e] Γ(a, e) = {(c, a ) : c + a a(1 + r) + e, c, a 0} Claim: Assume A1-3. Define T (v) w/ RHS of BE. Then 1. T : C b (R + E) C b (R + E) 2.! v C b (R + E) solving BE 3. v concave in a implies T (v) concave in a. 4. v is differentiable in a and v 1 (a, e) = u (c(a, e))(1 + r) 5. (c(a, e), a(a, e)) are increasing in a.

Income Fluctuation Problem Brief Sketch of Proof of Claim: 1. Apply Thm of Max. 2. Apply CMT. Verify T is contraction map using Blackwell. 3. Standard argument for concavity. Nothing new. 4. Apply B-S Thm using w fn below w(a, e) u(a(1 + r) + e a ) + βe[v(a, e ) e] 5. Graph u (a(1 + r) + e a ) and βe[v 1 (a, e ) e] as fn of a. Note: only current return fn graph shifts as a increases.

Income Fluctuation Problem Alternative Derivation of Euler Eqn: based on K-T conditions and v differentiable. L = u(a(1+r)+e a )+βe[v(a, e ) e]+λ 1 [a(1+r)+e a ]+λ 2 [a 0] 1. u (c) + βe[v 1 (a, e ) e] λ 1 + λ 2 = 0 2. λ 1 [a(1 + r) + e a ] = 0 3. λ 2 [a 0] = 0 Note: u (0) = implies λ 1 = 0 and a(1 + r) + e a 0. This also implies that the following holds for a = a(a, e): u (c(a, e)) βe[v 1 (a, e ) e] = β(1 + r)e[u (c(a, e )) e]

Income Fluctuation Problem Some History: 1. 1950 s: Friedman, Modigliani and Brumberg state permanent-income and life-cycle hypothesis 2. Original Motivation: explanation for cross-sectional and long-run consumption-savings facts 3. 1970s: Theorists recast this work as income fluctuation problem and employ DP methods 4. 1980s: Euler eqns lead to empirical work on estimating preference parameters AND test of theory. 5. Extreme View: financial markets can move resources forward and backward over time BUT not across histories! 6. Currently: Leading view of consumption and savings behavior

Income Fluctuation Problem Using the Euler eqn: Application u(c) = c 1 γ /(1 γ) u (c t ) = β(1 + r)e[u (c t+1 )] 1 = β(1 + r)e[ u (c t+1 ) u (c t) ] = β(1 + r)e[(c t+1/c t ) γ ] 0 = log(β(1 + r)) + log(e[(c t+1 /c t ) γ ]) ( c t+1 c t ) γ LN(µ, σ 2 ) implies E[( c t+1 c t ) γ ] = exp(µ + σ 2 /2) 0 = log(β(1 + r)) + log(exp(e[log((c t+1 /c t ) γ )] + (1/2)V ar(log((c t+1 /c t ) γ )) E[log c t+1 c t ] = 1 γ log β(1 + r) + 1 2 γv ar(log(c t+1/c t )) Result: Mean log growth rate increasing in discount factor, interest rate and the variance of consp growth. Second term sometimes labeled a precautionary savings effect.

Income Fluctuation Problem Using the Euler eqn for estimation and testing u (c t ) = β(1 + r)e t [u (c t+1 )] and u(c) = c 1 γ /(1 γ) ɛ t+1 c γ t β(1 + r t+1 )c γ t+1 E[ɛ t+1 ] = E[c γ t β(1 + r t+1 )c γ t+1 ] = 0 Use moment condition above to estimate (β, γ) Given data {c t, r t } T t=1 +1, employ the estimator ( ˆβ, ˆγ) argmin T (β,γ) t=1 ɛ2 t+1 See Hansen and Singleton (1981, 1982) for estimation and a test. Note: can estimate some parameters (β, γ) without specific parametric assumptions on other model parameters (e.g. shock process driving earnings and the interest rate).

Comment: sometimes called second-order stochastic dominance or the Rothschild-Stiglitz (1971) definition of increasing risk. Dynamic Programming Income Fluctuation Problem When do agents save more as a measure of earnings risk increases? max u(c 1 ) + βe θ [u(c 2 )] s.t. c 1 + a 2 a 1 (1 + r) + e 1, c 2 = a 2 (1 + r) + e 2, e 2 F θ Theorem: Assume u is st. increasing, st. concave and u is convex, then a 2 (a 1, e 1 ; θ) is increasing in risk θ, for any (a 1, e 1 ). Definition: Let F θ and F θ be distributions indexed by θ, θ. F θ is riskier than F θ provided condtion (*) holds for all concave functions f ( ) f(x)df θ f(x)df θ

Income Fluctuation Problem Sketch of Proof of Theorem: Step 1: Graph two terms in Euler eqn as a function of a 2. u (a 1 (1 + r) + e 1 a 2 ) β(1 + r)e θ [u (a 2 (1 + r) + e 2 )] Step 2: Argue E θ [u (a 2 (1 + r) + e 2 )] E θ [u (a 2 (1 + r) + e 2 )]. Why? Set f = u (...). Use u convex. Apply definition using θ is riskier than θ Step 3: intersection point of the graph of the Euler equation in Step 1 is further to the right when risk is greater. This implies the result.

Income Fluctuation Problem When do agents save more as a measure of earnings risk increases? max u(c 1 ) + βe θ [u(c 2 )] s.t. c 1 + a 2 a 1 (1 + r) + e 1, c 2 = a 2 (1 + r) + e 2 Theorem suggests that if u is locally quadratic (about the relevant region) then riskier earnings do not lead to greater precautionary savings. u locally quadratic implies that u is locally linear. Theorem can be extended to models with many periods. Need to show that the value function inherits a key property (v 1 (a, e) convex in a) from the utility function based on backwards induction.

Search Problem Problem: Agent receives a wage offer w. If accept, utility is t=0 βt u(w). If reject, current utility is u(0) and draw w out of a distribution F tomorrow and repeat accept/reject choice. Two Versions of BE: ( ) v(w) = max{ u(w) 1 β, u(0) + βe[v(w )]} ( ) v(w) = max u(w, y) + y {accept,reject} βe[v(w ) w, y] Both lead to the same equation. The former is the standard formulation in the literature. The latter is equivalent with the right choice of u(w, y) and the conditional expectation.

Argue that ( ) produces ( ) ( ) v(w) = max u(w, y) + y {accept,reject} βe[v(w ) w, y] 1. u(w, y) = u(w) if y = accept and u(w, y) = u(0) if y = reject 2. v(w) = max{u(w) + βv(w), u(0) + βe[v(w )]} holds after defining the conditional expectation in a relevant way. 3. CMT implies that! bd, weakly increasing fn v solving (*). 4. At any accepted wage w, v(w) = u(w) + βv(w) and thus v(w) = u(w) 1 β. 5. Conclude: v(w) = max{ u(w) 1 β, u(0) + βe[v(w )]}

Search Problem v(w) = T (v)(w) max{ β t u(w), u(0) + βe[v(w )]} t=0 v(w; b) = T b (v)(w) max{ β t u(w), u(b) + βe[v(w ; b)]} Claim: If u is bd, then t=0 1. T and T b are monotone and discount 2.!v B(R +, R) solving v = T (v ) or v = T b (v ) 3. v is increasing in w 4. accept decision based on a threshold wage 5. unemploy benefit b 2 > b 1 implies v ( ; b 2 ) v ( ; b 1 ) and threshold wage that is accepted is larger for b 2 than b 1.

Search Problem Prove Claim 5: v (w; b) is increasing in b for any w: Step 1: Let b 2 > b 1. Let v (w; b) be solution to BE. Step 2: Define v n (w; b 2 ) = Tb n 2 (v ( ; b 1 )) for n = 1, 2,... Step 3: Clearly, v ( ; b 1 ) v 1 ( ; b 2 ) v 2 ( ; b 2 ) v ( ; b 2 ) holds as T b2 is monotone. Step 4: Result: v ( ; b 2 ) v ( ; b 1 ) Step 5: Step 4 implies reservation wage increases with b The monotonicity of the solution to BE in b implies that reservation wage is also montone in b. Proof is by picture once establish that v is monotone in b.

Career-Job Search Problem Objective: E[ t=0 βt (θ t + ɛ t )] Each period an agent has a career-job pair (θ, ɛ). Each period the agent has three options. Option 1: stick with (θ, ɛ). Period payoff is θ + ɛ. Start next period with (θ, ɛ). Option 2: keep career θ but draw new job. Period payoff θ + E[ɛ ]. Start next period with (θ, ɛ ). Option 3: draw new career and job. Period payoff E[θ + ɛ ]. Start next period with (θ, ɛ ).

Career-Job Search Problem BE v(θ, ɛ) = T (v)(θ, ɛ) max{t 1 (v)(θ, ɛ), T 2 (v)(θ, ɛ), T 3 (v)(θ, ɛ)} T 1 (v)(θ, ɛ) = θ + ɛ + βv(θ, ɛ) T 2 (v)(θ, ɛ) = θ + E[ɛ ] + βe[v(θ, ɛ )] T 3 (v)(θ, ɛ) = E[θ + ɛ ] + βe[v(θ, ɛ )] Show: v solving BE is increasing in both arguments. Main steps. Step 1:! solution to BE Step 2: v increasing in (θ, ɛ) implies T (v) is also. Step 3: B bd,inc is closed subset of B bd Step 1 use Blackwell and CMT. Step 2 use T 1, T 2, T 3 each map inc fn into inc fn and, thus, T also does so. Step 3 prove this then use