An Introduction to Economic Modelling Techniques Pawel Zabczyk - - PowerPoint PPT Presentation

an introduction to economic modelling techniques
SMART_READER_LITE
LIVE PREVIEW

An Introduction to Economic Modelling Techniques Pawel Zabczyk - - PowerPoint PPT Presentation

An Introduction to Economic Modelling Techniques Pawel Zabczyk CCBS, Bank of England Economic Modelling and Forecasting Kampala, February 9, 2015 1 DSGE models First things first... D - Dynamic S - Stochastic G - General E -


slide-1
SLIDE 1

An Introduction to Economic Modelling Techniques

Pawel Zabczyk CCBS, Bank of England

Economic Modelling and Forecasting

Kampala, February 9, 2015

1

slide-2
SLIDE 2

DSGE models

First things first...

◮ D - Dynamic ◮ S - Stochastic ◮ G - General ◮ E - Equilibrium

2

slide-3
SLIDE 3

DSGE models

First things first...

◮ D - Dynamic ◮ S - Stochastic ◮ G - General ◮ E - Equilibrium

2

slide-4
SLIDE 4

DSGE models

First things first...

◮ D - Dynamic ◮ S - Stochastic ◮ G - General ◮ E - Equilibrium

2

slide-5
SLIDE 5

DSGE models

First things first...

◮ D - Dynamic ◮ S - Stochastic ◮ G - General ◮ E - Equilibrium

2

slide-6
SLIDE 6

Goals for these sessions

By the end of these sessions you should:

◮ Understand the basic principles of DSGE modelling ◮ Be familiar with some of the jargon ◮ Know how to simulate a DSGE model using Dynare ◮ Understand Dynare output

3

slide-7
SLIDE 7

Goals for these sessions

By the end of these sessions you should:

◮ Understand the basic principles of DSGE modelling ◮ Be familiar with some of the jargon ◮ Know how to simulate a DSGE model using Dynare ◮ Understand Dynare output

3

slide-8
SLIDE 8

Goals for these sessions

By the end of these sessions you should:

◮ Understand the basic principles of DSGE modelling ◮ Be familiar with some of the jargon ◮ Know how to simulate a DSGE model using Dynare ◮ Understand Dynare output

3

slide-9
SLIDE 9

Goals for these sessions

By the end of these sessions you should:

◮ Understand the basic principles of DSGE modelling ◮ Be familiar with some of the jargon ◮ Know how to simulate a DSGE model using Dynare ◮ Understand Dynare output

3

slide-10
SLIDE 10

The basic approach

◮ Clarify costs and benefits of actions

◮ Done formally in an optimisation problem

◮ Standard (and familiar) example: how does a household divide

income between consumption and saving

◮ History provides examples of interesting solutions

(expectations matter!)...

◮ History suggests that accounting for how people respond to

changes can be crucial for policymakers!

4

slide-11
SLIDE 11

The basic approach

◮ Clarify costs and benefits of actions

◮ Done formally in an optimisation problem

◮ Standard (and familiar) example: how does a household divide

income between consumption and saving

◮ History provides examples of interesting solutions

(expectations matter!)...

◮ History suggests that accounting for how people respond to

changes can be crucial for policymakers!

4

slide-12
SLIDE 12

The basic approach

◮ Clarify costs and benefits of actions

◮ Done formally in an optimisation problem

◮ Standard (and familiar) example: how does a household divide

income between consumption and saving

◮ History provides examples of interesting solutions

(expectations matter!)...

◮ History suggests that accounting for how people respond to

changes can be crucial for policymakers!

4

slide-13
SLIDE 13

The basic approach

◮ Clarify costs and benefits of actions

◮ Done formally in an optimisation problem

◮ Standard (and familiar) example: how does a household divide

income between consumption and saving

◮ History provides examples of interesting solutions

(expectations matter!)...

◮ History suggests that accounting for how people respond to

changes can be crucial for policymakers!

4

slide-14
SLIDE 14

What do we care about?

◮ Assumption:

households aim to attain the highest possible utility

◮ Different DSGE models will have different utility specifications ◮ Typically period utility will depend on

◮ consumption Ct ◮ leisure Lt or hours worked Ht ◮ money Mt

◮ Sometimes also on

◮ internal habits ◮ external habits ◮ other stuff... 5

slide-15
SLIDE 15

What do we care about?

◮ Assumption:

households aim to attain the highest possible utility

◮ Different DSGE models will have different utility specifications ◮ Typically period utility will depend on

◮ consumption Ct ◮ leisure Lt or hours worked Ht ◮ money Mt

◮ Sometimes also on

◮ internal habits ◮ external habits ◮ other stuff... 5

slide-16
SLIDE 16

What do we care about?

◮ Assumption:

households aim to attain the highest possible utility

◮ Different DSGE models will have different utility specifications ◮ Typically period utility will depend on

◮ consumption Ct ◮ leisure Lt or hours worked Ht ◮ money Mt

◮ Sometimes also on

◮ internal habits ◮ external habits ◮ other stuff... 5

slide-17
SLIDE 17

How do we care?

◮ Need to be specific about how period utility depends on

relevant variables

◮ We have many different functional forms to choose from:

◮ linear: u(Ct) = Ct ◮ quadratic: u(Ct) = C2

t

◮ log: u(Ct) = log

  • Ct
  • (we’ll use this today)

◮ CRRA: u(Ct) = C 1−γ t

−1 1−γ ◮ We also need to be specific about how the interaction of

variables affects period utility; two popular specifications are:

◮ separable utility, e.g.: u(Ct, Ht) = C 1−γ t

−1 1−γ

− H1−φ

t

−1 1−φ

◮ non-separable utility, e.g.: u(Ct, Ht) = (C 1−γ t

−1) 1−γ

· (1 − Ht)

◮ Key distinction between variables and parameters

6

slide-18
SLIDE 18

How do we care?

◮ Need to be specific about how period utility depends on

relevant variables

◮ We have many different functional forms to choose from:

◮ linear: u(Ct) = Ct ◮ quadratic: u(Ct) = C2

t

◮ log: u(Ct) = log

  • Ct
  • (we’ll use this today)

◮ CRRA: u(Ct) = C 1−γ t

−1 1−γ ◮ We also need to be specific about how the interaction of

variables affects period utility; two popular specifications are:

◮ separable utility, e.g.: u(Ct, Ht) = C 1−γ t

−1 1−γ

− H1−φ

t

−1 1−φ

◮ non-separable utility, e.g.: u(Ct, Ht) = (C 1−γ t

−1) 1−γ

· (1 − Ht)

◮ Key distinction between variables and parameters

6

slide-19
SLIDE 19

How do we care?

◮ Need to be specific about how period utility depends on

relevant variables

◮ We have many different functional forms to choose from:

◮ linear: u(Ct) = Ct ◮ quadratic: u(Ct) = C2

t

◮ log: u(Ct) = log

  • Ct
  • (we’ll use this today)

◮ CRRA: u(Ct) = C 1−γ t

−1 1−γ ◮ We also need to be specific about how the interaction of

variables affects period utility; two popular specifications are:

◮ separable utility, e.g.: u(Ct, Ht) = C 1−γ t

−1 1−γ

− H1−φ

t

−1 1−φ

◮ non-separable utility, e.g.: u(Ct, Ht) = (C 1−γ t

−1) 1−γ

· (1 − Ht)

◮ Key distinction between variables and parameters

6

slide-20
SLIDE 20

What about the future?

◮ The reason we save (rather than consume everything today) is

because we care about the future

◮ We shall assume that total utility depends on expected

discounted values of future period utilities, i.e. U = E0 ∑

+∞ t=0 βtu(Ct) = E0 ∑ +∞ t=0 βt log(Ct) ◮ Note on jargon: β – is a parameter called the discount factor

◮ What is β capturing?

◮ Accounting for the expectation operator E0 in a consistent way

sometimes referred to as the rational expectations revolution

◮ It has profound implications (e.g. for opening anecdote...)! 7

slide-21
SLIDE 21

What about the future?

◮ The reason we save (rather than consume everything today) is

because we care about the future

◮ We shall assume that total utility depends on expected

discounted values of future period utilities, i.e. U = E0 ∑

+∞ t=0 βtu(Ct) = E0 ∑ +∞ t=0 βt log(Ct) ◮ Note on jargon: β – is a parameter called the discount factor

◮ What is β capturing?

◮ Accounting for the expectation operator E0 in a consistent way

sometimes referred to as the rational expectations revolution

◮ It has profound implications (e.g. for opening anecdote...)! 7

slide-22
SLIDE 22

What about the future?

◮ The reason we save (rather than consume everything today) is

because we care about the future

◮ We shall assume that total utility depends on expected

discounted values of future period utilities, i.e. U = E0 ∑

+∞ t=0 βtu(Ct) = E0 ∑ +∞ t=0 βt log(Ct) ◮ Note on jargon: β – is a parameter called the discount factor

◮ What is β capturing?

◮ Accounting for the expectation operator E0 in a consistent way

sometimes referred to as the rational expectations revolution

◮ It has profound implications (e.g. for opening anecdote...)! 7

slide-23
SLIDE 23

What about the future?

◮ The reason we save (rather than consume everything today) is

because we care about the future

◮ We shall assume that total utility depends on expected

discounted values of future period utilities, i.e. U = E0 ∑

+∞ t=0 βtu(Ct) = E0 ∑ +∞ t=0 βt log(Ct) ◮ Note on jargon: β – is a parameter called the discount factor

◮ What is β capturing?

◮ Accounting for the expectation operator E0 in a consistent way

sometimes referred to as the rational expectations revolution

◮ It has profound implications (e.g. for opening anecdote...)! 7

slide-24
SLIDE 24

Optimisation constraints

◮ Absent constraints, the utility maximisation problem would

have a simple solution. What would it be?

◮ It is typically assumed that agents can only save / invest out

  • f income Yt; relevant constraint is

Ct + It ≤ Yt

◮ Note on jargon: this is the budget constraint ◮ Since we care about GE, we still need to specify:

◮ Where ‘income’ Yt comes from? ◮ What happens with savings / investment It?

◮ We shall follow Kydland and Prescott (1982) and in so doing

set up the Real Business Cycle (RBC) model

8

slide-25
SLIDE 25

Optimisation constraints

◮ Absent constraints, the utility maximisation problem would

have a simple solution. What would it be?

◮ It is typically assumed that agents can only save / invest out

  • f income Yt; relevant constraint is

Ct + It ≤ Yt

◮ Note on jargon: this is the budget constraint ◮ Since we care about GE, we still need to specify:

◮ Where ‘income’ Yt comes from? ◮ What happens with savings / investment It?

◮ We shall follow Kydland and Prescott (1982) and in so doing

set up the Real Business Cycle (RBC) model

8

slide-26
SLIDE 26

Optimisation constraints

◮ Absent constraints, the utility maximisation problem would

have a simple solution. What would it be?

◮ It is typically assumed that agents can only save / invest out

  • f income Yt; relevant constraint is

Ct + It ≤ Yt

◮ Note on jargon: this is the budget constraint ◮ Since we care about GE, we still need to specify:

◮ Where ‘income’ Yt comes from? ◮ What happens with savings / investment It?

◮ We shall follow Kydland and Prescott (1982) and in so doing

set up the Real Business Cycle (RBC) model

8

slide-27
SLIDE 27

Optimisation constraints

◮ Absent constraints, the utility maximisation problem would

have a simple solution. What would it be?

◮ It is typically assumed that agents can only save / invest out

  • f income Yt; relevant constraint is

Ct + It ≤ Yt

◮ Note on jargon: this is the budget constraint ◮ Since we care about GE, we still need to specify:

◮ Where ‘income’ Yt comes from? ◮ What happens with savings / investment It?

◮ We shall follow Kydland and Prescott (1982) and in so doing

set up the Real Business Cycle (RBC) model

8

slide-28
SLIDE 28

Linking savings with capital

◮ We shall assume that It - i.e. all resources which are invested

/ saved, end up increasing the stock of capital Kt

◮ Capital will depreciate every period, with a fraction δ lost ◮ Combining these two assumptions allows us to write down the

law of motion for capital Kt = (1 − δ)Kt−1 + It

◮ Note on jargon:

◮ δ - is a parameter called the depreciation rate ◮ Kt - the capital stock is a variable 9

slide-29
SLIDE 29

Linking savings with capital

◮ We shall assume that It - i.e. all resources which are invested

/ saved, end up increasing the stock of capital Kt

◮ Capital will depreciate every period, with a fraction δ lost ◮ Combining these two assumptions allows us to write down the

law of motion for capital Kt = (1 − δ)Kt−1 + It

◮ Note on jargon:

◮ δ - is a parameter called the depreciation rate ◮ Kt - the capital stock is a variable 9

slide-30
SLIDE 30

Linking capital with production

◮ Capital Kt gets used in the production process with a lag ◮ The production function specifies the amount of output Yt

generated from the stock of capital Kt−1 Yt = exp(Zt)K α

t−1 ◮ Note on jargon:

◮ α - is a parameter referred to as the share of capital in

production (only for Cobb-Douglas production functions)

◮ Zt - is a variable called productivity

◮ Is there anything stochastic / uncertain in the model so far?

10

slide-31
SLIDE 31

Linking capital with production

◮ Capital Kt gets used in the production process with a lag ◮ The production function specifies the amount of output Yt

generated from the stock of capital Kt−1 Yt = exp(Zt)K α

t−1 ◮ Note on jargon:

◮ α - is a parameter referred to as the share of capital in

production (only for Cobb-Douglas production functions)

◮ Zt - is a variable called productivity

◮ Is there anything stochastic / uncertain in the model so far?

10

slide-32
SLIDE 32

Linking capital with production

◮ Capital Kt gets used in the production process with a lag ◮ The production function specifies the amount of output Yt

generated from the stock of capital Kt−1 Yt = exp(Zt)K α

t−1 ◮ Note on jargon:

◮ α - is a parameter referred to as the share of capital in

production (only for Cobb-Douglas production functions)

◮ Zt - is a variable called productivity

◮ Is there anything stochastic / uncertain in the model so far?

10

slide-33
SLIDE 33

Making the problem stochastic

◮ Our model will be stochastic, and hence a true DSGE,

because we shall posit that productivity evolves according to ∀t ≥ 0 : Zt = ρZt−1 + εt where εt is an N.i.d.(0, σ2) sequence of stochastic variables

◮ Note on jargon:

◮ ρ - is a parameter referred to as the persistence of productivity ◮ εt - is a variable called the (exogenous) productivity shock 11

slide-34
SLIDE 34

Making the problem stochastic

◮ Our model will be stochastic, and hence a true DSGE,

because we shall posit that productivity evolves according to ∀t ≥ 0 : Zt = ρZt−1 + εt where εt is an N.i.d.(0, σ2) sequence of stochastic variables

◮ Note on jargon:

◮ ρ - is a parameter referred to as the persistence of productivity ◮ εt - is a variable called the (exogenous) productivity shock 11

slide-35
SLIDE 35

A simplified, two-period version of the problem

◮ To build intuition let’s assume the agent is only alive for two

periods {0, 1} and further normalise by setting Z0 = 0

◮ Can you write down the full optimisation problem?

max

C0,I0,C1,I1 E0 ∑ 1 t=0 βt log(Ct)

subject to C0 + I0 =Y0 Y0 = exp(Z0)K α

−1

C1 + I1 =Y1 Y1 = exp(Z1)K α K0 =(1 − δ)K−1 + I0 Z1 =ρZ0 + ε1

◮ Why did we write the resource constraints with equality? ◮ What is random / stochastic in period 0? ◮ What are we implicitly assuming happens with K0 after

production in period 1? What would be the alternative?

◮ What will I1 and C1 be equal to?

12

slide-36
SLIDE 36

A simplified, two-period version of the problem

◮ To build intuition let’s assume the agent is only alive for two

periods {0, 1} and further normalise by setting Z0 = 0

◮ Can you write down the full optimisation problem?

max

C0,I0,C1,I1 E0 ∑ 1 t=0 βt log(Ct)

subject to C0 + I0 =Y0 Y0 = exp(Z0)K α

−1

C1 + I1 =Y1 Y1 = exp(Z1)K α K0 =(1 − δ)K−1 + I0 Z1 =ρZ0 + ε1

◮ Why did we write the resource constraints with equality? ◮ What is random / stochastic in period 0? ◮ What are we implicitly assuming happens with K0 after

production in period 1? What would be the alternative?

◮ What will I1 and C1 be equal to?

12

slide-37
SLIDE 37

A simplified, two-period version of the problem

◮ To build intuition let’s assume the agent is only alive for two

periods {0, 1} and further normalise by setting Z0 = 0

◮ Can you write down the full optimisation problem?

max

C0,I0,C1,I1 E0 ∑ 1 t=0 βt log(Ct)

subject to C0 + I0 =Y0 Y0 = exp(Z0)K α

−1

C1 + I1 =Y1 Y1 = exp(Z1)K α K0 =(1 − δ)K−1 + I0 Z1 =ρZ0 + ε1

◮ Why did we write the resource constraints with equality? ◮ What is random / stochastic in period 0? ◮ What are we implicitly assuming happens with K0 after

production in period 1? What would be the alternative?

◮ What will I1 and C1 be equal to?

12

slide-38
SLIDE 38

A simplified, two-period version of the problem

◮ To build intuition let’s assume the agent is only alive for two

periods {0, 1} and further normalise by setting Z0 = 0

◮ Can you write down the full optimisation problem?

max

C0,I0,C1,I1 E0 ∑ 1 t=0 βt log(Ct)

subject to C0 + I0 =Y0 Y0 = exp(Z0)K α

−1

C1 + I1 =Y1 Y1 = exp(Z1)K α K0 =(1 − δ)K−1 + I0 Z1 =ρZ0 + ε1

◮ Why did we write the resource constraints with equality? ◮ What is random / stochastic in period 0? ◮ What are we implicitly assuming happens with K0 after

production in period 1? What would be the alternative?

◮ What will I1 and C1 be equal to?

12

slide-39
SLIDE 39

A simplified, two-period version of the problem

◮ To build intuition let’s assume the agent is only alive for two

periods {0, 1} and further normalise by setting Z0 = 0

◮ Can you write down the full optimisation problem?

max

C0,I0,C1,I1 E0 ∑ 1 t=0 βt log(Ct)

subject to C0 + I0 =Y0 Y0 = exp(Z0)K α

−1

C1 + I1 =Y1 Y1 = exp(Z1)K α K0 =(1 − δ)K−1 + I0 Z1 =ρZ0 + ε1

◮ Why did we write the resource constraints with equality? ◮ What is random / stochastic in period 0? ◮ What are we implicitly assuming happens with K0 after

production in period 1? What would be the alternative?

◮ What will I1 and C1 be equal to?

12

slide-40
SLIDE 40

A simplified, two-period version of the problem

◮ To build intuition let’s assume the agent is only alive for two

periods {0, 1} and further normalise by setting Z0 = 0

◮ Can you write down the full optimisation problem?

max

C0,I0,C1,I1 E0 ∑ 1 t=0 βt log(Ct)

subject to C0 + I0 =Y0 Y0 = exp(Z0)K α

−1

C1 + I1 =Y1 Y1 = exp(Z1)K α K0 =(1 − δ)K−1 + I0 Z1 =ρZ0 + ε1

◮ Why did we write the resource constraints with equality? ◮ What is random / stochastic in period 0? ◮ What are we implicitly assuming happens with K0 after

production in period 1? What would be the alternative?

◮ What will I1 and C1 be equal to?

12

slide-41
SLIDE 41

A simplified, two-period version of the problem

◮ To build intuition let’s assume the agent is only alive for two

periods {0, 1} and further normalise by setting Z0 = 0

◮ Can you write down the full optimisation problem?

max

C0,I0,C1,I1 E0 ∑ 1 t=0 βt log(Ct)

subject to C0 + I0 =Y0 Y0 = exp(Z0)K α

−1

C1 + I1 =Y1 Y1 = exp(Z1)K α K0 =(1 − δ)K−1 + I0 Z1 =ρZ0 + ε1

◮ Why did we write the resource constraints with equality? ◮ What is random / stochastic in period 0? ◮ What are we implicitly assuming happens with K0 after

production in period 1? What would be the alternative?

◮ What will I1 and C1 be equal to?

12

slide-42
SLIDE 42

A simplified, two-period version of the problem (ctd.)

◮ What we end up with is

max

C0,I0 log(C0) + βE0 log(exp(ε1) ((1 − δ)K−1 + I0)α

  • C1

) subject to C0 + I0 = K α

−1 ◮ We can further simplify this using

E0 log (C1) = E0 [log (exp(ε1)) + α log ((1 − δ)K−1 + I0)] where we have exploited the properties of the log function: log(XY ) = log(X) + log(Y ) log X α =α log A

◮ Because ε1 is a mean 0 random variable we can simply

evaluate the expectation operator and write βE0 log (C1) = αβ log ((1 − δ)K−1 + I0)

13

slide-43
SLIDE 43

A simplified, two-period version of the problem (ctd.)

◮ What we end up with is

max

C0,I0 log(C0) + βE0 log(exp(ε1) ((1 − δ)K−1 + I0)α

  • C1

) subject to C0 + I0 = K α

−1 ◮ We can further simplify this using

E0 log (C1) = E0 [log (exp(ε1)) + α log ((1 − δ)K−1 + I0)] where we have exploited the properties of the log function: log(XY ) = log(X) + log(Y ) log X α =α log A

◮ Because ε1 is a mean 0 random variable we can simply

evaluate the expectation operator and write βE0 log (C1) = αβ log ((1 − δ)K−1 + I0)

13

slide-44
SLIDE 44

A simplified, two-period version of the problem (ctd.)

◮ Slope of the budget constraint: −1 ◮ Iso-utility curves are formed of pairs (C0, I0) satisfying

log(C0) + αβ log ((1 − δ)K−1 + I0) = U

◮ Solving out for I0 we obtain

I0(C0; U) =

  • exp

U − log(C0) αβ

  • − (1 − δ)K−1
  • ◮ The slope of the iso-utility curve will be equal to

∂I0(C0; U) ∂C0 = − exp U − log(C0) αβ

  • 1

αβC0 = − exp (log ((1 − δ)K−1 + I0)) 1 αβC0 = − K0 αβC0

14

slide-45
SLIDE 45

A simplified, two-period version of the problem (ctd.)

◮ Slope of the budget constraint: −1 ◮ Iso-utility curves are formed of pairs (C0, I0) satisfying

log(C0) + αβ log ((1 − δ)K−1 + I0) = U

◮ Solving out for I0 we obtain

I0(C0; U) =

  • exp

U − log(C0) αβ

  • − (1 − δ)K−1
  • ◮ The slope of the iso-utility curve will be equal to

∂I0(C0; U) ∂C0 = − exp U − log(C0) αβ

  • 1

αβC0 = − exp (log ((1 − δ)K−1 + I0)) 1 αβC0 = − K0 αβC0

14

slide-46
SLIDE 46

A simplified, two-period version of the problem (ctd.)

◮ Slope of the budget constraint: −1 ◮ Iso-utility curves are formed of pairs (C0, I0) satisfying

log(C0) + αβ log ((1 − δ)K−1 + I0) = U

◮ Solving out for I0 we obtain

I0(C0; U) =

  • exp

U − log(C0) αβ

  • − (1 − δ)K−1
  • ◮ The slope of the iso-utility curve will be equal to

∂I0(C0; U) ∂C0 = − exp U − log(C0) αβ

  • 1

αβC0 = − exp (log ((1 − δ)K−1 + I0)) 1 αβC0 = − K0 αβC0

14

slide-47
SLIDE 47

Graphical analysis of the two-period problem

c0 i0 i0+c0=k-1 i0=exp[(U-log(c₀))/(αβ)]-(1-δ)k₋₁ Tangency condition: αβc₀=k0 ↔ u′(c₀)=βE₀u′(c₁)(1+r₁) (δ-1)k-1 Linear Engel curve (δ-1)k-1+αβc0

15

slide-48
SLIDE 48

The consumption Euler equation

◮ In equilibrium: the iso-utility curve and the budget constraint

have to have identical slope; this tangency condition is −1 = − K0 αβC0

◮ Exploiting the fact that C1 = Y1 we can rewrite this as

1 C0 = βE0 1 C1 αY1 K0

  • r more generally as the consumption Euler equation

u′(C0) = βE0u′(C1)(1 + r1) This relationship is also referred to as the dynamic IS curve

◮ We used the fact that the rate of return on investment is

(1 + r1) = (∂Y1/∂I0) = ∂ exp(Z1) ((1 − δ)K−1 + I0)α /∂I0 = exp(Z1)α ((1 − δ)K−1 + I0)α−1 = exp(Z1)αK α−1 = αY1/K0

16

slide-49
SLIDE 49

The consumption Euler equation

◮ In equilibrium: the iso-utility curve and the budget constraint

have to have identical slope; this tangency condition is −1 = − K0 αβC0

◮ Exploiting the fact that C1 = Y1 we can rewrite this as

1 C0 = βE0 1 C1 αY1 K0

  • r more generally as the consumption Euler equation

u′(C0) = βE0u′(C1)(1 + r1) This relationship is also referred to as the dynamic IS curve

◮ We used the fact that the rate of return on investment is

(1 + r1) = (∂Y1/∂I0) = ∂ exp(Z1) ((1 − δ)K−1 + I0)α /∂I0 = exp(Z1)α ((1 − δ)K−1 + I0)α−1 = exp(Z1)αK α−1 = αY1/K0

16

slide-50
SLIDE 50

The consumption Euler equation: intuition

◮ The cost of a marginal increase in investment: u′(C0) ◮ The expected benefit: βE0u′(C1)(1 + r1) ◮ The derivations show that the expected real interest rate

depends on the properties of the productivity process E0(1 + r1) = E0 exp(Z1)αK α−1

◮ Combined with the consumption Euler equation

u′(C0) = βE0u′(C1)(1 + r1) this then implies that:

◮ Higher expected productivity (E0 exp(Z1) ↑) translates into

higher expected rates

◮ Higher expected rates would ceteris paribus lower current

consumption

◮ Higher real interest rates are therefore contractionary

17

slide-51
SLIDE 51

The consumption Euler equation: intuition

◮ The cost of a marginal increase in investment: u′(C0) ◮ The expected benefit: βE0u′(C1)(1 + r1) ◮ The derivations show that the expected real interest rate

depends on the properties of the productivity process E0(1 + r1) = E0 exp(Z1)αK α−1

◮ Combined with the consumption Euler equation

u′(C0) = βE0u′(C1)(1 + r1) this then implies that:

◮ Higher expected productivity (E0 exp(Z1) ↑) translates into

higher expected rates

◮ Higher expected rates would ceteris paribus lower current

consumption

◮ Higher real interest rates are therefore contractionary

17

slide-52
SLIDE 52

The consumption Euler equation: intuition

◮ The cost of a marginal increase in investment: u′(C0) ◮ The expected benefit: βE0u′(C1)(1 + r1) ◮ The derivations show that the expected real interest rate

depends on the properties of the productivity process E0(1 + r1) = E0 exp(Z1)αK α−1

◮ Combined with the consumption Euler equation

u′(C0) = βE0u′(C1)(1 + r1) this then implies that:

◮ Higher expected productivity (E0 exp(Z1) ↑) translates into

higher expected rates

◮ Higher expected rates would ceteris paribus lower current

consumption

◮ Higher real interest rates are therefore contractionary

17

slide-53
SLIDE 53

The Euler equation: link to New-Keynesian models

◮ In models with inflation, the Fisher parity (an identity linking

real and nominal interest rates and inflation) 1 + r1 ≡ 1 + i1 1 + π1 can be plugged into the consumption Euler equation, yielding u′(C0) = βE0u′(C1) 1 + i1 1 + π1

◮ By the exact same mechanism as in our two-period model,

higher expected inflation results in higher consumption today!

◮ Importantly, higher nominal interest rates i1 would typically

lead to lower consumption consumption today, in line with the standard interest rate channel of monetary policy transmission

18

slide-54
SLIDE 54

The Euler equation: link to New-Keynesian models

◮ In models with inflation, the Fisher parity (an identity linking

real and nominal interest rates and inflation) 1 + r1 ≡ 1 + i1 1 + π1 can be plugged into the consumption Euler equation, yielding u′(C0) = βE0u′(C1) 1 + i1 1 + π1

◮ By the exact same mechanism as in our two-period model,

higher expected inflation results in higher consumption today!

◮ Importantly, higher nominal interest rates i1 would typically

lead to lower consumption consumption today, in line with the standard interest rate channel of monetary policy transmission

18

slide-55
SLIDE 55

The Euler equation: link to New-Keynesian models

◮ In models with inflation, the Fisher parity (an identity linking

real and nominal interest rates and inflation) 1 + r1 ≡ 1 + i1 1 + π1 can be plugged into the consumption Euler equation, yielding u′(C0) = βE0u′(C1) 1 + i1 1 + π1

◮ By the exact same mechanism as in our two-period model,

higher expected inflation results in higher consumption today!

◮ Importantly, higher nominal interest rates i1 would typically

lead to lower consumption consumption today, in line with the standard interest rate channel of monetary policy transmission

18

slide-56
SLIDE 56

The resource allocation problem: general case

◮ We now consider the case in which the consumer / investor

doesn’t know his time of death with certainty

◮ We can formally write the problem as

max

{Ct,It} U = max {Ct,It} E0 ∑ +∞ t=0 βt log(Ct)

subject to Ct + It =Yt Yt = exp(Zt)K α

t−1

Kt =(1 − δ)Kt−1 + It Zt =ρZt−1 + εt

◮ We also take the initial conditions Z0 and K−1 as given ◮ Note: formally we have an infinite number of variables to

choose and an infinite number of constraints!

19

slide-57
SLIDE 57

The resource allocation problem: general case

◮ We now consider the case in which the consumer / investor

doesn’t know his time of death with certainty

◮ We can formally write the problem as

max

{Ct,It} U = max {Ct,It} E0 ∑ +∞ t=0 βt log(Ct)

subject to Ct + It =Yt Yt = exp(Zt)K α

t−1

Kt =(1 − δ)Kt−1 + It Zt =ρZt−1 + εt

◮ We also take the initial conditions Z0 and K−1 as given ◮ Note: formally we have an infinite number of variables to

choose and an infinite number of constraints!

19

slide-58
SLIDE 58

The resource allocation problem: general case

◮ We now consider the case in which the consumer / investor

doesn’t know his time of death with certainty

◮ We can formally write the problem as

max

{Ct,It} U = max {Ct,It} E0 ∑ +∞ t=0 βt log(Ct)

subject to Ct + It =Yt Yt = exp(Zt)K α

t−1

Kt =(1 − δ)Kt−1 + It Zt =ρZt−1 + εt

◮ We also take the initial conditions Z0 and K−1 as given ◮ Note: formally we have an infinite number of variables to

choose and an infinite number of constraints!

19

slide-59
SLIDE 59

Simplifying the general problem

◮ We proceed by making the problem simpler ◮ We can plug in the expressions for Yt and It to obtain

max

{Ct,Kt} E0 ∑ +∞ t=0 βt log(Ct)

subject to Ct + (Kt − (1 − δ)Kt−1) = exp(Zt)K α

t−1 ◮ The 1-1 mapping between It and Kt implied by the capital

accumulation equation It = Kt − (1 − δ)Kt−1, means we can equivalently maximise over Kt rather than It

◮ For a while, we can also ignore the equation Zt = ρZt−1 + εt

as Zt is unaffected by Ct and Kt (εt is exogenous)

◮ There are several techniques for dealing with maximisation

problems of this type; we will use Lagrange multipliers

20

slide-60
SLIDE 60

Simplifying the general problem

◮ We proceed by making the problem simpler ◮ We can plug in the expressions for Yt and It to obtain

max

{Ct,Kt} E0 ∑ +∞ t=0 βt log(Ct)

subject to Ct + (Kt − (1 − δ)Kt−1) = exp(Zt)K α

t−1 ◮ The 1-1 mapping between It and Kt implied by the capital

accumulation equation It = Kt − (1 − δ)Kt−1, means we can equivalently maximise over Kt rather than It

◮ For a while, we can also ignore the equation Zt = ρZt−1 + εt

as Zt is unaffected by Ct and Kt (εt is exogenous)

◮ There are several techniques for dealing with maximisation

problems of this type; we will use Lagrange multipliers

20

slide-61
SLIDE 61

Lagrange multipliers: the finite case

◮ Setup: maximise a function U(X, Y ) with respect to X and

Y , subject to the constraint PX + QY = B

◮ The Lagrange multiplier approach to finding a solution

  • 1. Define the Lagrangian L(X, Y , λ) as

L(X, Y , λ) ≡ U(X, Y ) − λ(PX + QY − B) where λ is called a Lagrange multiplier

  • 2. Differentiate L(X, Y , λ) w.r.t. X, Y and λ and equate to 0

∂L ∂X = ∂U ∂X − λP = 0 ⇔ Lx =Ux − λP = 0 ∂L ∂Y = ∂U ∂Y − λQ = 0 ⇔ Ly =Uy − λQ = 0 ∂L ∂λ =PX + QY − B = 0 ⇔ Lλ =PX + QY − B = 0 These equations are called the first-order conditions (FOCs)

  • 3. Use the equations to solve for X and Y . For us, they imply

Ux Uy = P Q ⇔ UxQ − UyP = 0

21

slide-62
SLIDE 62

Lagrange multipliers: the finite case

◮ Setup: maximise a function U(X, Y ) with respect to X and

Y , subject to the constraint PX + QY = B

◮ The Lagrange multiplier approach to finding a solution

  • 1. Define the Lagrangian L(X, Y , λ) as

L(X, Y , λ) ≡ U(X, Y ) − λ(PX + QY − B) where λ is called a Lagrange multiplier

  • 2. Differentiate L(X, Y , λ) w.r.t. X, Y and λ and equate to 0

∂L ∂X = ∂U ∂X − λP = 0 ⇔ Lx =Ux − λP = 0 ∂L ∂Y = ∂U ∂Y − λQ = 0 ⇔ Ly =Uy − λQ = 0 ∂L ∂λ =PX + QY − B = 0 ⇔ Lλ =PX + QY − B = 0 These equations are called the first-order conditions (FOCs)

  • 3. Use the equations to solve for X and Y . For us, they imply

Ux Uy = P Q ⇔ UxQ − UyP = 0

21

slide-63
SLIDE 63

Lagrange multipliers: the finite case

◮ Setup: maximise a function U(X, Y ) with respect to X and

Y , subject to the constraint PX + QY = B

◮ The Lagrange multiplier approach to finding a solution

  • 1. Define the Lagrangian L(X, Y , λ) as

L(X, Y , λ) ≡ U(X, Y ) − λ(PX + QY − B) where λ is called a Lagrange multiplier

  • 2. Differentiate L(X, Y , λ) w.r.t. X, Y and λ and equate to 0

∂L ∂X = ∂U ∂X − λP = 0 ⇔ Lx =Ux − λP = 0 ∂L ∂Y = ∂U ∂Y − λQ = 0 ⇔ Ly =Uy − λQ = 0 ∂L ∂λ =PX + QY − B = 0 ⇔ Lλ =PX + QY − B = 0 These equations are called the first-order conditions (FOCs)

  • 3. Use the equations to solve for X and Y . For us, they imply

Ux Uy = P Q ⇔ UxQ − UyP = 0

21

slide-64
SLIDE 64

Lagrange multipliers: the finite case

◮ Setup: maximise a function U(X, Y ) with respect to X and

Y , subject to the constraint PX + QY = B

◮ The Lagrange multiplier approach to finding a solution

  • 1. Define the Lagrangian L(X, Y , λ) as

L(X, Y , λ) ≡ U(X, Y ) − λ(PX + QY − B) where λ is called a Lagrange multiplier

  • 2. Differentiate L(X, Y , λ) w.r.t. X, Y and λ and equate to 0

∂L ∂X = ∂U ∂X − λP = 0 ⇔ Lx =Ux − λP = 0 ∂L ∂Y = ∂U ∂Y − λQ = 0 ⇔ Ly =Uy − λQ = 0 ∂L ∂λ =PX + QY − B = 0 ⇔ Lλ =PX + QY − B = 0 These equations are called the first-order conditions (FOCs)

  • 3. Use the equations to solve for X and Y . For us, they imply

Ux Uy = P Q ⇔ UxQ − UyP = 0

21

slide-65
SLIDE 65

Lagrange multipliers: a simple example

◮ To ensure that we understand how the technique of Lagrange

multipliers works, let’s apply it to a specific example

◮ Exercise 1: Find the maximum of U(X, Y ) = XY + 2X

subject to the constraint 4X + 2 Y = 60

22

slide-66
SLIDE 66

Lagrange multipliers: a simple example

◮ To ensure that we understand how the technique of Lagrange

multipliers works, let’s apply it to a specific example

◮ Exercise 1: Find the maximum of U(X, Y ) = XY + 2X

subject to the constraint 4X + 2 Y = 60

◮ Solution (make sure you can replicate it): {X, Y } = {8, 14}

22

slide-67
SLIDE 67

Lagrange multipliers: the finite case (ctd.)

◮ What if we have more constraints? ◮ Simply apply the procedure before, but introduce a separate

Lagrange multiplier (λ1, λ2, . . .) for each constraint

23

slide-68
SLIDE 68

Lagrange multipliers: the finite case (ctd.)

◮ What if we have more constraints? ◮ Simply apply the procedure before, but introduce a separate

Lagrange multiplier (λ1, λ2, . . .) for each constraint

◮ Exercise 2: Find the maximum of

U(X, Y , Z) = 3XY + 4X + ZX subject to the constraints Z + Y = 60 and Z + X = 40

23

slide-69
SLIDE 69

Lagrange multipliers: the finite case (ctd.)

◮ What if we have more constraints? ◮ Simply apply the procedure before, but introduce a separate

Lagrange multiplier (λ1, λ2, . . .) for each constraint

◮ Exercise 2: Find the maximum of

U(X, Y , Z) = 3XY + 4X + ZX subject to the constraints Z + Y = 60 and Z + X = 40

◮ Solution (make sure you can replicate it):

{X, Y , Z} = {33, 27, 47}

23

slide-70
SLIDE 70

Applying Lagrange multipliers to the general problem

◮ We simplified our problem to

max

{Ct,Kt}∑ +∞ t=0 E0βt log(Ct)

s.t.: Ct + (Kt − (1 − δ)Kt−1) = exp(Zt)K α

t−1 ◮ We thus have an infinite number of variables that we are

maximising over: C0, K0, C1, K1, C2, K2, . . .

◮ And an infinite number of constraints:

C0 + (K0 − (1 − δ)K−1) = exp(Z0)K α

−1

C1 + (K1 − (1 − δ)K0) = exp(Z1)K α C2 + (K2 − (1 − δ)K1) = exp(Z2)K α

1

. . . = . . .

◮ In addition: an expectation operator... ◮ In principle amenable to the use of Lagrange multipliers!

24

slide-71
SLIDE 71

Applying Lagrange multipliers to the general problem

◮ We simplified our problem to

max

{Ct,Kt}∑ +∞ t=0 E0βt log(Ct)

s.t.: Ct + (Kt − (1 − δ)Kt−1) = exp(Zt)K α

t−1 ◮ We thus have an infinite number of variables that we are

maximising over: C0, K0, C1, K1, C2, K2, . . .

◮ And an infinite number of constraints:

C0 + (K0 − (1 − δ)K−1) = exp(Z0)K α

−1

C1 + (K1 − (1 − δ)K0) = exp(Z1)K α C2 + (K2 − (1 − δ)K1) = exp(Z2)K α

1

. . . = . . .

◮ In addition: an expectation operator... ◮ In principle amenable to the use of Lagrange multipliers!

24

slide-72
SLIDE 72

Applying Lagrange multipliers to the general problem

◮ We simplified our problem to

max

{Ct,Kt}∑ +∞ t=0 E0βt log(Ct)

s.t.: Ct + (Kt − (1 − δ)Kt−1) = exp(Zt)K α

t−1 ◮ We thus have an infinite number of variables that we are

maximising over: C0, K0, C1, K1, C2, K2, . . .

◮ And an infinite number of constraints:

C0 + (K0 − (1 − δ)K−1) = exp(Z0)K α

−1

C1 + (K1 − (1 − δ)K0) = exp(Z1)K α C2 + (K2 − (1 − δ)K1) = exp(Z2)K α

1

. . . = . . .

◮ In addition: an expectation operator... ◮ In principle amenable to the use of Lagrange multipliers!

24

slide-73
SLIDE 73

Applying Lagrange multipliers to the general problem (ctd.)

◮ We initially ignore the expectation operator and write

L = ∑

+∞ t=0 βt log(Ct) −∑ +∞ t=0 ˜

λt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1) ◮ Defining λt = ˜

λt/β2 we can then rewrite this as L = βt ∑

+∞ t=0 [log(Ct) − λt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α t−1)] ◮ Differentiate with respect to Ct, Kt and λt to get

LCt :βt 1 Ct − λt

  • = 0

LKt : − βtλt + βt+1λt+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ) = 0 Lλt :βt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1) = 0

25

slide-74
SLIDE 74

Applying Lagrange multipliers to the general problem (ctd.)

◮ We initially ignore the expectation operator and write

L = ∑

+∞ t=0 βt log(Ct) −∑ +∞ t=0 ˜

λt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1) ◮ Defining λt = ˜

λt/β2 we can then rewrite this as L = βt ∑

+∞ t=0 [log(Ct) − λt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α t−1)] ◮ Differentiate with respect to Ct, Kt and λt to get

LCt :βt 1 Ct − λt

  • = 0

LKt : − βtλt + βt+1λt+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ) = 0 Lλt :βt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1) = 0

25

slide-75
SLIDE 75

Applying Lagrange multipliers to the general problem (ctd.)

◮ We initially ignore the expectation operator and write

L = ∑

+∞ t=0 βt log(Ct) −∑ +∞ t=0 ˜

λt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1) ◮ Defining λt = ˜

λt/β2 we can then rewrite this as L = βt ∑

+∞ t=0 [log(Ct) − λt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α t−1)] ◮ Differentiate with respect to Ct, Kt and λt to get

LCt :βt 1 Ct − λt

  • = 0

LKt : − βtλt + βt+1λt+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ) = 0 Lλt :βt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1) = 0

25

slide-76
SLIDE 76

Applying Lagrange multipliers to the general problem (ctd.)

◮ We initially ignore the expectation operator and write

L = ∑

+∞ t=0 βt log(Ct) −∑ +∞ t=0 ˜

λt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1) ◮ Defining λt = ˜

λt/β2 we can then rewrite this as L = βt ∑

+∞ t=0 [log(Ct) − λt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α t−1)] ◮ Differentiate with respect to Ct, Kt and λt to get

LCt :βt 1 Ct − λt

  • = 0

LKt : − βtλt + βt+1λt+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ) = 0 Lλt :βt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1) = 0

25

slide-77
SLIDE 77

Applying Lagrange multipliers to the general problem (ctd.)

◮ We initially ignore the expectation operator and write

L = ∑

+∞ t=0 βt log(Ct) −∑ +∞ t=0 ˜

λt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1) ◮ Defining λt = ˜

λt/β2 we can then rewrite this as L = βt ∑

+∞ t=0 [log(Ct) − λt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α t−1)] ◮ Differentiate with respect to Ct, Kt and λt to get

LCt :βt 1 Ct − λt

  • = 0

LKt : − βtλt + βt+1λt+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ) = 0 Lλt :βt (Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1) = 0

25

slide-78
SLIDE 78

Applying Lagrange multipliers to the general problem (ctd.)

◮ We then need to take two final steps:

  • 1. Since β > 0 we can divide all the equations through by βt
  • 2. To account for uncertainty, and the conditional expectation
  • perator that we so far ignored, any expression that appears

with a time t + 1 subscript, needs to be preceded by Et

◮ This leads to the following first-order conditions

LCt : 1 Ct − λt = 0 LKt : − λt + βEtλt+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ) = 0 Lλt :Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1 = 0

26

slide-79
SLIDE 79

Applying Lagrange multipliers to the general problem (ctd.)

◮ We then need to take two final steps:

  • 1. Since β > 0 we can divide all the equations through by βt
  • 2. To account for uncertainty, and the conditional expectation
  • perator that we so far ignored, any expression that appears

with a time t + 1 subscript, needs to be preceded by Et

◮ This leads to the following first-order conditions

LCt : 1 Ct − λt = 0 LKt : − λt + βEtλt+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ) = 0 Lλt :Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1 = 0

26

slide-80
SLIDE 80

Applying Lagrange multipliers to the general problem (ctd.)

◮ We can now eliminate the Lagrange multiplier λt from the

first-order conditions (FOCs)

◮ Plugging the first FOC into the second, we immediately arrive

at the familiar consumption Euler equation 1 Ct = βEt 1 Ct+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ)

  • r more generally

u′(Ct) = βEtu′(Ct+1) [Rt+1 + (1 − δ)] where we have exploited the fact that the gross rate of interest Rt+1 ≡ 1 + rt+1 = αYt+1/Kt = α exp(Zt+1)K α−1

t

as shown in the two period model

◮ Why does the dynamic IS curve now additionally feature a

(1 − δ) term that was absent in the 2 period setup?

27

slide-81
SLIDE 81

Applying Lagrange multipliers to the general problem (ctd.)

◮ We can now eliminate the Lagrange multiplier λt from the

first-order conditions (FOCs)

◮ Plugging the first FOC into the second, we immediately arrive

at the familiar consumption Euler equation 1 Ct = βEt 1 Ct+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ)

  • r more generally

u′(Ct) = βEtu′(Ct+1) [Rt+1 + (1 − δ)] where we have exploited the fact that the gross rate of interest Rt+1 ≡ 1 + rt+1 = αYt+1/Kt = α exp(Zt+1)K α−1

t

as shown in the two period model

◮ Why does the dynamic IS curve now additionally feature a

(1 − δ) term that was absent in the 2 period setup?

27

slide-82
SLIDE 82

Summary

◮ We set up a problem in which a household was trying to

maximise expected utility and faced stochastic fluctuations in productivity / investment returns

◮ In a two period setup we derived a consumption Euler

equation, which characterised the optimal solution

◮ In the infinite-horizon setup we used Lagrange multipliers and

ended up with the following FOCs 1 Ct = βEt 1 Ct+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ)

  • Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1 = 0

Zt = ρZt−1 + εt.

◮ This is the Real Business Cycle (RBC) model ◮ We shall now use Dynare to analyse its properties!

28

slide-83
SLIDE 83

Summary

◮ We set up a problem in which a household was trying to

maximise expected utility and faced stochastic fluctuations in productivity / investment returns

◮ In a two period setup we derived a consumption Euler

equation, which characterised the optimal solution

◮ In the infinite-horizon setup we used Lagrange multipliers and

ended up with the following FOCs 1 Ct = βEt 1 Ct+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ)

  • Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1 = 0

Zt = ρZt−1 + εt.

◮ This is the Real Business Cycle (RBC) model ◮ We shall now use Dynare to analyse its properties!

28

slide-84
SLIDE 84

Summary

◮ We set up a problem in which a household was trying to

maximise expected utility and faced stochastic fluctuations in productivity / investment returns

◮ In a two period setup we derived a consumption Euler

equation, which characterised the optimal solution

◮ In the infinite-horizon setup we used Lagrange multipliers and

ended up with the following FOCs 1 Ct = βEt 1 Ct+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ)

  • Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1 = 0

Zt = ρZt−1 + εt.

◮ This is the Real Business Cycle (RBC) model ◮ We shall now use Dynare to analyse its properties!

28

slide-85
SLIDE 85

Summary

◮ We set up a problem in which a household was trying to

maximise expected utility and faced stochastic fluctuations in productivity / investment returns

◮ In a two period setup we derived a consumption Euler

equation, which characterised the optimal solution

◮ In the infinite-horizon setup we used Lagrange multipliers and

ended up with the following FOCs 1 Ct = βEt 1 Ct+1

  • α exp(Zt+1)K α−1

t

+ (1 − δ)

  • Ct + (Kt − (1 − δ)Kt−1) − exp(Zt)K α

t−1 = 0

Zt = ρZt−1 + εt.

◮ This is the Real Business Cycle (RBC) model ◮ We shall now use Dynare to analyse its properties!

28