Dynamic Optimization: An Introduction

Similar documents
Advanced Macroeconomics

Advanced Macroeconomics

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

1. Money in the utility function (start)

ECON 5118 Macroeconomic Theory

Part A: Answer question A1 (required), plus either question A2 or A3.

"0". Doing the stuff on SVARs from the February 28 slides

Development Economics (PhD) Intertemporal Utility Maximiza

Lecture 2 The Centralized Economy: Basic features

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

A Modern Equilibrium Model. Jesús Fernández-Villaverde University of Pennsylvania

The Real Business Cycle Model

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

Neoclassical Business Cycle Model

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

Lecture 2 The Centralized Economy

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

Public Economics The Macroeconomic Perspective Chapter 2: The Ramsey Model. Burkhard Heer University of Augsburg, Germany

Permanent Income Hypothesis Intro to the Ramsey Model

The Hansen Singleton analysis

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

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

Session 4: Money. Jean Imbs. November 2010

14.05: Section Handout #1 Solow Model

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

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

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

1 The Basic RBC Model

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

Macroeconomic Theory and Analysis Suggested Solution for Midterm 1

New Notes on the Solow Growth Model

Equilibrium in a Production Economy

The Ramsey Model. (Lecture Note, Advanced Macroeconomics, Thomas Steger, SS 2013)

Monetary Economics: Solutions Problem Set 1

Advanced Macroeconomics

DYNAMIC LECTURE 5: DISCRETE TIME INTERTEMPORAL OPTIMIZATION

Problem 1 (30 points)

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

The representative agent model

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

Real Business Cycle Model (RBC)

1 Recursive Competitive Equilibrium

Slides II - Dynamic Programming

Endogenous Growth. Lecture 17 & 18. Topics in Macroeconomics. December 8 & 9, 2008

Growth Theory: Review

Suggested Solutions to Problem Set 2

Economic Growth: Lecture 8, Overlapping Generations

Macroeconomics Qualifying Examination

The Solow Growth Model

Deviant Behavior in Monetary Economics

Lecture 6: Discrete-Time Dynamic Optimization

Macroeconomics Theory II

Uncertainty Per Krusell & D. Krueger Lecture Notes Chapter 6

A suggested solution to the problem set at the re-exam in Advanced Macroeconomics. February 15, 2016

The Ramsey Model. Alessandra Pelloni. October TEI Lecture. Alessandra Pelloni (TEI Lecture) Economic Growth October / 61

Econ 204A: Section 3

Lecture notes on modern growth theory

ECON 581: Growth with Overlapping Generations. Instructor: Dmytro Hryshko

Macroeconomics Theory II

Dynamic (Stochastic) General Equilibrium and Growth

Foundations of Modern Macroeconomics B. J. Heijdra & F. van der Ploeg Chapter 2: Dynamics in Aggregate Demand and Supply

Macroeconomics I. University of Tokyo. Lecture 12. The Neo-Classical Growth Model: Prelude to LS Chapter 11.

Competitive Equilibrium and the Welfare Theorems

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

Lecture 4 The Centralized Economy: Extensions

Small Open Economy RBC Model Uribe, Chapter 4

Economic Growth: Lecture 9, Neoclassical Endogenous Growth

Dynamic Optimization Using Lagrange Multipliers

Money and the Sidrauski Model

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

Lecture 5: The neoclassical growth model

Growth Theory: Review

Toulouse School of Economics, Macroeconomics II Franck Portier. Homework 1. Problem I An AD-AS Model

Lecture 3: Growth with Overlapping Generations (Acemoglu 2009, Chapter 9, adapted from Zilibotti)

Simple New Keynesian Model without Capital

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

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

Macroeconomics Qualifying Examination

Neoclassical Models of Endogenous Growth

Dynamic stochastic general equilibrium models. December 4, 2007

Economic Growth: Lectures 5-7, Neoclassical Growth

Optimal Simple And Implementable Monetary and Fiscal Rules

Endogenous Growth: AK Model

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

A Summary of Economic Methodology

1 Two elementary results on aggregation of technologies and preferences

1 The social planner problem

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

Online Appendix for Investment Hangover and the Great Recession

STATE UNIVERSITY OF NEW YORK AT ALBANY Department of Economics

Learning to Optimize: Theory and Applications

Economics 202A Lecture Outline #3 (version 1.0)

DEPARTMENT OF ECONOMICS Fall 2015 P. Gourinchas/D. Romer MIDTERM EXAM

Macroeconomic Theory and Analysis V Suggested Solutions for the First Midterm. max

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

The economy is populated by a unit mass of infinitely lived households with preferences given by. β t u(c Mt, c Ht ) t=0

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

ECON 582: The Neoclassical Growth Model (Chapter 8, Acemoglu)

Simple New Keynesian Model without Capital

Structural change in a multi-sector model of the climate and the economy

Transcription:

Dynamic Optimization An Introduction M. C. Sunny Wong University of San Francisco University of Houston, June 20, 2014

Outline 1 Background What is Optimization? EITM: The Importance of Optimization 2 3 The Method of Hamiltonian Multiplier Revisited 4 Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications

Background What is Optimization? What is Optimization? EITM: The Importance of Optimization In general, optimization is a technique which either maximizes or minimizes the value of an objective function by systematically choosing values of inputs (or choice variables) from a feasible range. Optimization is one of the key ideas in the literature of Economics.

Background What is Optimization? What is Optimization? EITM: The Importance of Optimization Adam Smith (1776): It is not from the benevolence of the butcher, the brewer, or the baker that we expect our dinner, but from their regard to their own self-interest. We address ourselves not to their humanity but to their self-love, and never talk to them of our own necessities, but of their advantages. (The Wealth of Nations, Book I, Chapter II) Key assumptions: (1) Rationality, and (2) Efficiency. If rationality is assumed, firms will maximize their profits (supply) and households will maximize their utility (demand). When their results are achieved, the market is in equilibrium (efficiency). This idea is first discovered by Wilfredo Pareto (Pareto Optimality).

Background Types of Optimization What is Optimization? EITM: The Importance of Optimization There are two general methods of optimization: Analytical optimization Solving the optimal solution(s) mathematically. Numerical (or computational) optimization Searching for the optimal solution(s) according to different algorithms (using computers). For example, simulations, calibrations, and maximum likelihood estimations.

Background Analytical Optimization What is Optimization? EITM: The Importance of Optimization There are three general types of analytical optimization: Optimization without Constraints First-order conditions (FOCs) Optimization with Constraints The method of Lagrangian multiplier Dynamic Optimization (with/without Constraints) Discrete time: Continuous time: The method of Hamiltonian multiplier

Outline Background What is Optimization? EITM: The Importance of Optimization 1 Background What is Optimization? EITM: The Importance of Optimization 2 3 The Method of Hamiltonian Multiplier Revisited 4 Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications

EITM: The Importance of Optimization Causality, Assumptions and Models What is Optimization? EITM: The Importance of Optimization Social scientists are interested in causal effects: How do x s affect y? Empirical studies (e.g., regression analysis) can show us, at most, correlations among variables (not causality!) If the coefficient on x is significant, it could imply that: x causes y; or y causes x ; or there is another unobservable variable, called z, which contributes x and y to move simultaneously. But, how do we know if x s really cause y?

EITM: The Importance of Optimization Causality, Assumptions and Models What is Optimization? EITM: The Importance of Optimization But, how do we know if x s really cause y? NOBODY TRULY KNOWS!! We need to use our logical thinking and reasoning to describe why x 0 s can cause y. But, the world is just too complex! An easy way to do so is to build a theoretical model which describes some aspect of the market (or the society) that includes only those features that are needed for the propose at hand. It is necessary to impose assumptions to make a model simpler. But how do we impose appropriate assumptions in a model?

EITM: The Importance of Optimization Causality, Assumptions, and Models What is Optimization? EITM: The Importance of Optimization A Famous Quote from Robert Solow (1956, page 65): All theory depends on assumptions which are not quite true. That is what makes it theory. The art of successful theorizing is to make the inevitable simplifying assumptions in such a way that the final results are not very sensitive. A "crucial" assumption is one on which the conclusions do depend sensitively, and it is important that crucial assumptions be reasonably realistic. When the results of a theory seem to flow specifically from a special crucial assumption, then if the assumption is dubious, the results are suspect.

EITM: The Importance of Optimization Causality, Assumptions, and Models What is Optimization? EITM: The Importance of Optimization As NOBODY TRULY KNOWS how the world works, the theoretical model we build could be wrong. In other words, the predicted results in the model can be inconsistent with what we observed in the real world. If this is the case, probably the assumptions we make are too sensitive (too strong) to the final results. Removing those assumptions / imposing some more realistic assumptions would be necessary. Therefore, both theoretical modeling (TM) and empirical testing (EI) enhance our understanding of the relationship between x and y.

EITM: The Importance of Optimization Microfoundation of Macroeconomics What is Optimization? EITM: The Importance of Optimization In the literature of economics, we assume that people (or economic agents) are rational. This assumption helps us formulate human behavior in order to predict outcomes in aggregate markets. This is called the microfoundation of macroeconomics. Microfoundations refers to the microeconomic analysis of the behavior of individual agents such as households or firms that underpins a macroeconomic theory. (Barro, 1993) In this lecture, we study how agents face a dynamic optimization problem where actions taken in one period can affect the optimization decisions faced in future periods.

This Presentation What is Optimization? EITM: The Importance of Optimization In this lecture, we study two methods of dynamic optimization: (1) Discrete-time Optimization - the Bellman equations; and (2) Continuous-time Optimization - the method of Hamiltonian multiplier. Examples: Discrete-time case: 1 Cake-eating problem 2 Profit maximization Continuous-time case: 1 Cake-eating problem 2 Ramsey Growth Model (see lecture notes!) EITM: Dynamics in a Money-in-the-Utility (MIU) Model (Chari, Kehoe, and McGrattan, Econometrica 2000; Christiano, Eichenbaum, and Evans, JPE 2005)

Outline Background 1 Background What is Optimization? EITM: The Importance of Optimization 2 3 The Method of Hamiltonian Multiplier Revisited 4 Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications

Two-period Consumption Model Two periods in the model Period 1: The present; and Period 2: The future The two-period utility function can be written as: U = u (c 1 )+ 1 1 + r u (c 2). We call 1/(1 + r) as the discount factor, where r is called the discount rate (or the degree of impatience). If an agent is more impatient (r ") 1/(1 + r) #), then she would put less weight on the utility of future consumption.

Two-period Consumption Model Two periods in the model Period 1: The present; and Period 2: The future The two-period utility function can be written as: U = u (c 1 )+ 1 1 + r u (c 2). Assuming that the agent has a first-period budget constraint: Y 1 +(1 + r)a 0 = c 1 + A 1, where Y t = exogenous income at time t, A t = assets / debts that the individual accumulates at time t, and r = an exogenous interest rate.

Two-period Consumption Model The complete model is: The two-period utility function: U = u (c 1 )+ 1 1 + r u (c 2). The first-period and second-period budget constraints: Y 1 = c 1 + A 1 (1st-period BC), and Y 2 +(1 + r)a 1 = c 2 (2nd-period BC). We assume that the individual does not have any inheritance/debt in period 1 (i.e., A 0 = 0) and does not leave any bequest/debt after period 2 (i.e., A 2 = 0).

Two-period Consumption Model Lagrangian Multiplier The system: and U = u (c 1 )+ 1 1 + r u (c 2). Y 1 = c 1 + A 1, and Y 2 +(1 + r)a 1 = c 2. To maximize the system of equations, we can apply the method of Lagrangian multiplier to solve the model: L = u (c 1 )+ 1 1 + r u (c 2)+l 1 (Y 1 c 1 A 1 )+l 2 (Y 2 +(1 + r)a 1 c 2 ), where l 1 and l 2 are the Lagrangian multipliers.

Two-period Consumption Model We have 5 choice variables: c 1, c 2, A 1, l 1, and l 2. We can solve for those variables based on the 5 first-order conditions: L = 0 ) u 0 (c 1 ) c 1 l 1 = 0 (1) L = 0 ) 1 c 2 1 + r u0 (c 2 ) l 2 = 0 (2) L = 0 ) A 1 l 1 +(1 + r)l 2 = 0 (3) L = 0 ) Y 1 = c 1 + A 1 l 1 (4) L = 0 ) Y 2 +(1 + r)a 1 = c 2. l 2 (5)

Two-period Consumption Model From equations (1) (3), we have: l 1 = u 0 (c 1 ), (6) l 2 = 1 1 + r u0 (c 2 ), and (7) l 1 +(1 + r)l 2 = 0. (8)

Two-period Consumption Model Now we can plug (6) and (7) into (8), we have the following equation: u 0 (c 1 )= 1 + r 1 + r u0 (c 2 ). (9) Equation (9) is called the Euler equation. By combining equations (4) and (5), we have the lifetime budget constraint: Y 1 + Y 2 1 + r = c 1 + c 2 1 + r. (10) Finally, given a certain functional form of u ( ), we can use equations (9) and (10) to obtain the optimal levels of c 1 and c 2, (i.e., c 1 and c 2 ).

Two-period Consumption Model What does the Euler equation: u 0 (c 1 )= 1+r 1+r u0 (c 2 ) tell us? Suppose that an agent gives up $1 consumption today (the present), the utility cost to her will be u 0 (c 1 ). In return, she will get $(1 + r) additional consumption tomorrow (the future) so that her utility gain for the tomorrow will be (1 + r)u 0 (c 2 ). However, since we assume that agents are impatient, the totally gain from giving up today s consumption for tomorrow would be 1 1+r (1 + r)u0 (c 2 ). In equilibrium, the agent will not give up more or less today s consumption for tomorrow at the optimal level only if u 0 (c 1 )=[(1 + r)/(1 + r)]u 0 (c 2 ).

Two-period Consumption Model: An Example Let the utility function be the power function, u (c)= 1 a ca, where a 2 (0,1), and a = 1/2, we have: u 0 (c)=c 1/2. (11) We can plug equation (11) into equation (9), we have: c 1/2 1 = 1 + r 1 + r c 1/2 2 1 + r 2 ) c 2 = c 1. (12) 1 + r

Two-period Consumption Model An Example Plug eq.(12) into the lifetime budget constraint (eq.(10)), we have: Y 1 + Y 2 1 + r Y 1 + Y 2 1 + r = c 1 + 1 + r (1 + r) 2 c 1 = c 1 1 + 1 + r (1 + r) 2 ) c 1 = 1 + 1 + r (1 + r) 2!! 1 Y 1 + Y 2 1 + r Now we plug equation (13) into equation (12), we have: 1 + r c2 = 1 + 1 + r 1 + r (1 + r) 2. (13)! 1 Y 1 + Y 2. (14) 1 + r

Two-period Consumption Model An Example The optimized consumption levels in period 1 and period 2 are: 1 c1 1 = + 1+r Y (1+r) 2 1 + Y 2 1+r 1 c2 = 1+r 1+r 1 + 1+r Y (1+r) 2 1 + Y 2 1+r

Outline Background 1 Background What is Optimization? EITM: The Importance of Optimization 2 3 The Method of Hamiltonian Multiplier Revisited 4 Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications

In the previous section, we can use the method of Lagrangian multiplier for solving a simple dynamic optimization problem. However, such the method can be sometime tedious and inefficient. This alternative technique is based on a recursive representation of a maximization problem, which is called the Bellman equation. The Bellman equation represents a maximization decision based on the forward (or backward) solution procedure with the property of time consistency. This time consistency property of the optimal solution is also known as Bellman s optimality principle.

Consumption Dynamics Let s consider the following maximization problem: " max c t U = Â t=1 subject to the following budget constraint: 1 t 1 u (c t )#, (15) 1 + r A t =(1 + r)a t 1 + Y t c t. (16) A t is the state variable in each period t, which represents the total amount of resources available to the consumer; c t is the control variable, where the consumer is choosing to maximize her utility. Note that c t affects the amount of resources available for the next period, that is, A t.

Consumption Dynamics For this technique of dynamic optimization, the maximum value of utility not only depends on the level of consumption at time t, but also the resource left for future consumption (i.e., A t ). In other word, given the existing level of asset A t 1, the level of consumption chosen at time t (that is, c t )willaffect the level of assets available at time t + 1, (that is, A t ).

Consumption Dynamics Since the consumer would like to maximize her utility from time t onwards, we define the following value function V 1 (A 0 ) which represents the maximized value of the objective function from time t = 1tothelastperiodoft = T : V 1 (A 0 ) = max c 1 T Â t=1 V 1 (A 0 ) = max c 1 u (c 1 )+ V 1 (A 0 ) = max c 1 subject to ( 1 t 1 u (c t ) (17) 1 + r 1 1 T 1 u (c 2 )+ + u (c T )! u (c 1 )+ 1 + r 1 1 + r " T 1 Â t=2 1 + r 1 + r t 2 u (c t )#) A t =(1 + r)a t 1 + Y t c t. (19) (18)

Consumption Dynamics From equation (17), we see that V 1 (A 0 ) is the maximized value of the objective function at time t = 1givenaninitialstockofassets A 0. After the maximization in the first period (t = 1), the consumer repeats the same procedure of utility maximization according to the objective function in period t = 2, given an initial stock of assets in period 1: V 2 (A 1 )=max c 2 T Â t=2 1 t 2 u (c t ), (20) 1 + r subject to equation (19). By plugging equation (20) into equation (18), we have: apple 1 V 1 (A 0 )=max u (c 1 )+ V 2 (A 1 ). c 1 1 + r

Consumption Dynamics Assuming the consumer is maximizing her utility every period, we rewrite the maximization problem recursively. Therefore, we can present the well-known Bellman equation as follows: V t (A t 1 )=max c t apple u (c t )+ where A t =(1 + r)a t 1 + Y t c t. 1 1 + r V t+1 (A t ),

Outline Background 1 Background What is Optimization? EITM: The Importance of Optimization 2 3 The Method of Hamiltonian Multiplier Revisited 4 Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications

Question Suppose the size of a cake at time t is t ; and the utility function is presented as u (c t )=2c 1/2 t. Given that 0 = 1, T = 0, and the discount rate is r, what is the optimal path of consumption?

Answer This optimization problem can be written as: max c 1,c 2,...,c T T 1 t 1 Â u (c t ), (21) t=1 1 + r subject to t = t 1 c t, for t = 1,2,...,T, and 0 = 1and T = 1. In this case, we see that the choice variable is c t and the state variable t.

Now we can formulate the Bellman equation: subject to V ( t Since u (c t )=2c 1/2 t V ( t 1 )=max c t apple u (c t )+ 1 1 + r V ( t), (22) t = t 1 c t. (23), we can rewrite the Bellman equation as: apple 1 )=max 2c 1/2 t + 1 c t 1 + r V ( t). (24)

Background The Optimal Path of Cake Consumption

Outline Background 1 Background What is Optimization? EITM: The Importance of Optimization 2 3 The Method of Hamiltonian Multiplier Revisited 4 Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications

Assuming that a representative firm maximizes the present value of all future profits by choosing the levels of investment I t and labor L t for t = 1,2,...,T. Therefore, we have the following maximization problem: t max 1 1+r pt subject to I 1,I 2,...I T,L 1,L 2,...L T Â T t=1 max I 1,I 2,...I T,L 1,L 2,...L T Â T t=1 K t+1 = K t 1 1+r t (F (Kt,L t ) w t L t I ), dk t + I t for t = 1,2,...,T, and K 1 and K T are given, p t is the level of profit at time t, K t is the stock of capital at time t, F (K t,l t ) is a production function, w t is the wage rate, r and d is the interest rate and depreciate rate in the market, respectively.

In this case, the choice variable is: I t and L t, and the state variable is K t. According to the above system, we can formulate the following Bellman equation: apple V t (K t )=max F (K t,l t ) w t L t I t + 1 I t,l t 1 + r V t+1 (K t+1 ), (25) where K t+1 =(1 d)k t + I t. (26)

In this optimization problem, we have two important conditions: F(K 1 t,l t ) L t = w t. This result suggests that the optimal amount of labor satisfies the condition where marginal product of labor (MPL) equals the real wage rate in each period, that is MPL t = w t. 2 F K t = r + d. This result suggests that the firm must choose a level of investment such that the marginal product of capital (MPK) equals the sum of interest rate and depreciation rate in each period, that is MPK t = r + d.

Outline Background The Method of Hamiltonian Multiplier Revisited 1 Background What is Optimization? EITM: The Importance of Optimization 2 3 The Method of Hamiltonian Multiplier Revisited 4 Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications

The Method of Hamiltonian Multiplier Revisited In the previous sections, we study the dynamic optimization based the discrete-time dynamic model, where the change in time t is positive and finite (for example, we assume that t = 1forallt 0, such that t follows the sequence of {0,1,2,3,...}. In the section, we consider the method of dynamic optimization in continuous time, where t! 0. Therefore, we assume that agents make optimizing choices at every instant in continuous time. The method is called the technique of Hamiltonian multiplier.

The Method of Hamiltonian Multiplier Revisited Ageneralcontinuous-timemaximizationproblemcanbewrittenas follows: Z T max e rt f (x t,a t )dt, (27) x t 0 subject to the constraint: A t = g (x t,a t ), (28) where A t is a time derivative of A t defined as da t /dt, and r is the discount rate in the model, which is equivalent to the r we use in the discrete time models. If r = 0, then e rt = 1. It implies that the agent does not discount the activities in the future. On the other hand, if r ", then e rt #. It implies that the agent becomes more impatient and discounts the value (or utility) of future activities more.

The Method of Hamiltonian Multiplier The Method of Hamiltonian Multiplier Revisited We set up the following Hamiltonian function: H t = e rt h f (x t,a t )+l t A t i, (29) where l t = µ t e rt is called the Hamiltonian multiplier. The three conditions for a solution: 1 The FOC with respect to the control variable (x t ): H t x t = 0; (30) 2 The negative derivative of the Hamiltonian function w.r.t. A t : H t = d (l te rt ) ; (31) A t dt 3 The transversality condition: lim l te rt A t = 0. (32) t!

Outline Background The Method of Hamiltonian Multiplier Revisited 1 Background What is Optimization? EITM: The Importance of Optimization 2 3 The Method of Hamiltonian Multiplier Revisited 4 Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications

The Method of Hamiltonian Multiplier Revisited Let us consider the same cake eating problem in continuous time: Z T max c t 0 e rt u (c t )dt, (33) subject to t = c t, (34) and 0 and 1 are given. Again, the choice variable is c t, and the state variable is t.

The Method of Hamiltonian Multiplier Revisited We set up the Hamiltonian as follows: H t = e rt u (c t )+l t t, (35) where l t is the co-state variable. Now, we can plug equation (34) into equation (35), we have the final Hamiltonian equation: H t = e rt (u (c t ) l t c t ) (36)

The Method of Hamiltonian Multiplier Revisited We obtain the following conditions: 1 The FOC w.r.t. (with respect to) c t : H t c t = e rt u 0 (c t ) l t = 0 ) u 0 (c t )=l t ; (37) 2 The negative derivative w.r.t. t equals the time derivative of l t e rt : and 3 The transversality condition: H t = d (l te rt ) ; (38) t dt lim l te rt t = 0. (39) t!

Outline Background Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications 1 Background What is Optimization? EITM: The Importance of Optimization 2 3 The Method of Hamiltonian Multiplier Revisited 4 Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications

An MIU Model: An Introduction Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications Why do people want to hold money? Holding cash does not generate any returns! Two possible arguments: 1 People feel good and safe if they hold some cash in their pocket (Sidrauski, 1967) 2 Money can provide transaction services (transaction purpose!) (Baumol, 1952, Tobin, 1956) Here we study a basic neoclassical model where agents utility depends directly on their consumption of goods and their holdings of money (money demand). Assumption: Money yields direct utility. This is called the Money-in-the-Utility model (Chari, Kehoe, and McGrattan, Econometrica 2000; Christiano, Eichenbaum, and Evans, JPE 2005)

Outline Background Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications 1 Background What is Optimization? EITM: The Importance of Optimization 2 3 The Method of Hamiltonian Multiplier Revisited 4 Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications

An MIU Model Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications Consider the following Money-in-the-Utility Model: 1 t W = u (c t,m t ), 1 + r  t=0 where m t = M t /(P t N t )=real money holding per capita in an economy. The budget constraint in the whole economy is: GDP t =Consumption t + Investment t + GovtSpending t + We can translate as: NewNationalDebt t + NewMoney t. Y t =C t +[K t (1 d)k t 1 ] t t N t + apple Mt M t 1. P t P t apple B P t (1 + i t 1 ) B t 1 P t +

An MIU Model Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications apple B Y t =C t +[K t (1 d)k t 1 ] t t N t + apple Mt P t M t 1 P t. P t (1 + i t 1 ) B t 1 P t + where Y t = aggregate output (GDP), t t N t = total lump-sum transfers (positive) or taxes (negative), i =interest rate, and N t = population.

An MIU Model Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications Finally, the complete system is: W = Â t=0 1 1 + r t u (c t,m t ), and the budget constraint can be presented as follows: Y t +t t N t +(1 d)k t 1 +(1 + i t 1 ) B t 1 + M t 1 = C t +K t + M t + B t. P t P t P t P t We also define the production function as Y t = F (K t 1,N t ). The per capita income is: y t = 1 Kt 1 F (K t 1,N t )=F, N t K t 1 = F,1 N t N t N t (1 + n)n t 1 = f kt 1 1 + n, where n = population growth rate.

An MIU Model Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications Finally, the complete system is: W = Â t=0 1 t u (c t,m t ), 1 + r and the budget constraint (per capita) is: kt 1 f +t t + 1 d 1 + n 1 + n k t 1 + (1 + i t 1)b t 1 + m t = c t +k t +m t +b t, (1 + p t )(1 + n) where p t is the inflation rate, such that, P t =(1 + p t )P t 1, b t = B t /(P t N t ), and m t = M t /(P t N t ).

An MIU Model Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications We can now formulate the model as the Bellman equation: apple V (W t )=max u (c t,m t )+ 1 1 + r V (W t+1), subject to W t+1 = f kt 1 + t t+1 + 1 + n d 1 + n = k t+1 + c t+1 + m t+1 + b t+1. k t + (1 + i t)b t + m t (1 + p t+1 )(1 + n)

An MIU Model Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications Finally we have the following equilibrium: u m (c t,m t ) u c (c t,m t ) = i 1 + i. Now assume that the utility function is of the constant elasticity of substitution (CES) form: h i 1/(1 b) u (c t,m t )= act 1 b +(1 a)mt 1 b. The final solution based on the CES utility function is: a 1/b i 1/b m t = c t, or 1 a 1 + i lnm t = 1 1 a b ln 1 + lnc t a b lng, where g = i/(1 + i) =theopportunitycostofholdingmoney.

Outline Background Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications 1 Background What is Optimization? EITM: The Importance of Optimization 2 3 The Method of Hamiltonian Multiplier Revisited 4 Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications

Empirical Estimation of Money Demand Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications According to the theoretical solution: lnm t = 1 1 a b ln + lnc t a 1 lng, b (40) where g = i/(1 + i) which can be called the opportunity cost of holding money. Therefore, we empirical model can be written as: lnm t = a 0 + a 1 lnc t + a 2 lng + e t. (41) According to equation (41), we expect that he coefficient on lnc t is a 1 = 1. It implies that consumption (income) elasticity of money demand is equal to 1. The coefficient on ln i 1+i is a 2 = 1/b. For simplicity, we call it as the interest elasticity of money demand.

Empirical Estimation of Money Demand Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications The empirical result of the money demand function for the United States based on quarterly data from the period of 1984:1 2007:2. Source: Walsh (2010: 51) lnm = the log of real money balance (M1); c t = real people consumption expenditures; and lng = ln i 1+i = opportunity cost of holding money = return on M1 minus the 3-month T-Bill rate.

Dynamics in a Money-in-the-Utility Model TM: Theoretical Model EI: Empirical Implications Thank you! Questions?