intro heterogeneous agents model

84
Models with Heterogeneous Agents Introduction Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan August 10, 2015

Upload: jc224

Post on 18-Feb-2016

230 views

Category:

Documents


1 download

DESCRIPTION

DSGE Macroeconomics.Wealth distribution.GINI. Lorenz.

TRANSCRIPT

Page 1: Intro Heterogeneous Agents Model

Models with Heterogeneous AgentsIntroduction

Wouter J. Den HaanLondon School of Economics

c by Wouter J. Den Haan

August 10, 2015

Page 2: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Overview

� "Simple" model with heterogeneous agents� understanding the complexity of these models� role of aggregate uncertainty� role of incomplete markets

� Solving the Aiyagari model� basic numerical techniques (refresher)

� Does heterogeneity matter?

Page 3: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Overview continued

� Avoiding complexity� heterogeneity only within the period� partial equilibrium� are two agents enough?

� Other models with heterogeneity� New Keynesian model� Multiplicity & domino e¤ects due to tax externality� macro model with search frictions

Page 4: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

First model with heterogeneous agents

� Agents are ex ante the same,but face di¤erent idiosyncratic shocks=) agents are di¤erent ex post

� Incomplete markets=) heterogeneity cannot be insured away

Page 5: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Individual agent

� Subject to employment shocks:� εi,t 2 f0, 1g

� Incomplete markets� only way to save is through holding capital� borrowing constraint ki,t+1 � 0

Page 6: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Aggregate shock

� zt 2 fzb, zgg� zt a¤ects

1 aggregate productivity2 probability of being employed

Page 7: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Laws of motion

� zt can take on two values� εi,t can take on two values� probability of being (un)employed depends on zt

� transition probabilities are such that� unemployment rate only depends on current zt� thus

� ut = ub if zt = zb &� ut = ug if zt = zg

� with ub > ug.

Page 8: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Firm problem

rt = αztKα�1t L1�α

t

wt = (1� α) ztKαt L1�α

t

These are identical to those of the rep. agent version

Page 9: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Government

τtwtl̄(1� u(zt) = µwtu(zt)

τt =µu(zt)

l̄(1� u(zt))

Page 10: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Individual agent

maxfci,t,ki,t+1g∞

t=0

E∑∞t=0 βt ln(ci,t)

s.t.

ci,t + ki,t+1 = rtki,t + (1� τt)wtlεi,t + µwt(1� εi,t) + (1� δ)ki,tki,t+1 � 0

� this is a relatively simple problemif processes for rt and wt are given

Page 11: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Individual agent - foc

1ci,t

� βEt

�1

ci,t+1(rt+1 + 1� δ)

�0 = ki,t+1

�1

ci,t� βEt

�1

ci,t+1(rt+1 + 1� δ)

��ci,t + ki,t+1 = rtki,t + (1� τt)wtlεi,t + µwt(1� εi,t) + (1� δ)ki,t

ki,t+1 � 0

Page 12: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

What aggregate info do agents care about?

� current and future values of rt and wt

� the period-t values of rt and wt

� only depend on aggregate capital stock, Kt, & zt� !!! In most models, prices also depend on other characteristicsof the distribution

Page 13: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

What aggregate info do agents care about?

� the future values, i.e., rt+τ and wt+τ with τ > 0 depend on� future values of mean capital stock, i.e. Kt+τ, & zt+τ

� =) agents are interested in all information that forecasts Kt

� =) typically this includes the complete cross-sectionaldistribution of employment status and capital levels(even when you only forecast futures means like you do here)

Page 14: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Equilibrium - �rst part

� Individual policy functions that solve agent�s max problem

� A wage and a rental rate given by equations above.

Page 15: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Equilibrium - second part

� A transition law for the cross-sectional distribution of capital,that is consistent with the investment policy function.

ft+1 = Υ(zt+1, zt, ft)

� ft = cross-sectional distribution of beginning-of-period capitaland the employment status after the employment status hasbeen realized.

� zt+1 does not a¤ect the cross-sectional distribution of capital� zt+1 does a¤ect the joint cross-sectional distribution of capitaland employment status

Page 16: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Transition law & timing

� ft & zt =) f end-of-periodt

� f end-of-periodt & zt+1 =) f beginning-of-periodt+1 � ft+1

Page 17: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Transition law & timing

� Let gt be the cross-sectional distribution of capital(so without any info on employment status)

� Why can I writegt+1 = Υg(zt, ft)?

Page 18: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Transition law & continuum of agents

gt+1 = Υg(zt, ft)ft+1 = Υ(zt+1, zt, ft)

Why are these exact equations without additional noise?

� continuum of agents =) rely on law of large numbers toaverage out idiosyncratic risk

� are we allowed to do this?

Page 19: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Recursive equilibrium?

Questions

1 Does an equilibrium exist?

1 If yes, is it unique?

2 Does a recursive equilibrium exist?

1 If yes, is it unique?2 If yes, what are the state variables?

Page 20: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Recursive equilibrium?

Jianjun Miao (JET, 2006): a recursive equilibrium exist for followingstate variables:

� usual set of state variables, namely� individual shock, εi,t� individual capital holdings, ki,t� aggregate productivity, zt� joint distribution of income and capital holdings, ft

� and cross-sectional distribution of expected payo¤s

Page 21: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Unique?

Heterogeneity =) more reasons to expect multiplicity

� my actions depend on what I think others will do

� heterogeneity tends to go together with frictionsand multiplicity more likely with frictions

� e.g. market externalities

Page 22: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Wealth-recursive (WR) equilibrium

� WR equilibrium is a recursive equilibrium with only εi,t, ki,t, zt,and ft as state variables.(Also referred to as Krusell-Smith (KS) recursive equilibrium)

� Not proven that WR equilbrium exists in model discussed here(at least not without making unveri�able assumptions such asequilibrium is unique for all possible initial conditions)

� Kubler & Schmedders (2002) give examples of equilibria thatare not recursive in wealth(i.e., wealth distribution by itself is not su¢ cient)

Page 23: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Wealth distribution not su¢ cient - Example

� Static economytwo agents, i = 1, 2, two commodities, j = A, B

� Utility: ln qA + ln qB

� Endowments in state I: ω1,A = ω2,A = 1; ω1,B = ω2,B = 1� Endowments in state II:

ω1,A = ω2,A = 1; ω1,B = ω2,B = 10/9� Normalization: pA = 1

Page 24: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Wealth distribution not su¢ cient - Example

� State I:� equilibrium: pB = 1; q1,A = q2,A = 1; q1,B = q2,B = 1wealth of each agent: = 2

� State II:� equilibrium: pB = 0.9; q1,A = q2,A = 1; q1,B = q2,B = 10/9wealth of each agent: = 2

� Thus: same wealth levels, but di¤erent outcome

Page 25: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

How to proceed?

� Wealth distribution may not be su¢ cient!

� For numerical analysis less problematic: It typically leaves stu¤outAfter obtaining solution, you should check whether theapproximation is accurate or not

Page 26: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

How to proceed?

� For now we assume that a wealth recursive equilibrium exists(or an approximation based on it is accurate)

� This is still a tough numerical problem

Page 27: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

If a wealth recursive equilibrium exists

� Suppose that recursive RE for usual state space exists� si,t = fεi,t, ki,t, stg = fεi,t, ki,t, zt, ftg

� Equilibrium:� c(si,t)� k(si,t)� r(st)� w(st)� Υ(zt+1, zt, ft)

Page 28: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Alternative representation state space

� Suppose that recursive RE for usual state space exist� si,t = fεi,t, ki,t, stg = fεi,t, ki,t, zt, ftg

� What determines current shape ft?� zt, zt�1, ft�1 or� zt, zt�1, zt�2, ft�2 or� zt, zt�1, zt�2, zt�3, ft�3 or� zt, zt�1, zt�2, zt�3, zt�4, ft�4 or� � � �

Page 29: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

No aggregate uncertainty

st = limn�!∞

fzt, zt�1, � � � , zt�n, ft�ng

� Why is this useful from a numerical point of view?� when zt is stochastic� when zt is not stochastic (case of no aggregate uncertainty)

Page 30: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

No aggregate uncertainty

State variables

limn�!∞

fzt, zt�1, � � � , zt�n, ft�ng

� If1 zt = z 8t and2 e¤ect of initial distribution dies out

� then st constant

� distribution still matters!� but it is no longer a time-varying argument

Page 31: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Aggregation

Statement:

The representative agent model is silly,

because there is no trade in this model,

while there is lots of trade in �nancial assets in reality

Page 32: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Aggregation

Statement:

The representative agent model is silly,

because there is no trade in this model,

while there is lots of trade in �nancial assets in reality

Problem with statement:

RA is justi�ed by complete markets

which relies on lots of trade

Page 33: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Complete markets & exact aggregation

� economy with ex ante identical agents

� J di¤erent states

� complete markets =) J contingent claims

Page 34: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Complete markets & exact aggregation

maxci,t,b1

i,t+1,��� ,bJi,t+1

(ci,t)1�γ

1� γ+ βEt

hv(b1

i,t+1, � � � , bJi,t+1)

is.t. ci,t +

J

∑j=1

qjbji,t+1 = yi,t +

J

∑j=1

I(j�)bji,t

bji,t+1 > b with b < 0

Page 35: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Euler equations individual

qj (ci,t)�γ = β

�cj

i,t+1

��γprob(j) 8j

This can be written as follows:

ci,t =

�βprob(j)

qj

��1/γ

cji,t+1 8j

Page 36: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Aggregation

Aggregation across individual i of

ci,t =

�βprob(j)

qj

��1/γ

cji,+1 8j

gives

Ct =

�βprob(j)

qj

��1/γ

Cjt+1 8j,

which can be rewritten as

qj (Ct)�γ = β

�Cj

t+1

��γprob(j) 8j

Page 37: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Use equilibrium condition

� In equilibrium:� aggregate consumption equals aggregate income or� contingent claims are in zero net supply

� Thusqj (Yt)

�γ = β�

Yjt+1

��γprob(j) 8j

Page 38: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Back to represenative agent model

� Idential FOCs come out of this RA model:

maxC,B1

+1,��� ,BJ+1

(Ct)1�γ

1� γ+ βEt

hv(B1

t+1, � � � , BJt+1)

is.t.Ct +

J

∑j=1

qjBjt+1 = Yt +

J

∑j=1

I(j�)Bjt

Bjt+1 > b with b < 0

Page 39: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Back to model with heterogeneous agents

1 (For now) no aggregate riskAiyagari model

2 We simplify the standard setup as follows:

� Replace borrowing constraint by penalty function=) going short is possible but costly

� workers have productivity insteady of unemployment shocksεi,t with E[εi,t] = 1

Page 40: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Individual agent

maxfci,t,ki,t+1g∞

t=0

E∑∞t=0 βt ln(ci,t)� ζ1

ζ0exp(�ζ0ki,t)� ζ2ki,t

s.t.ci,t + ki,t = rtki,t�1 +wtεi,t + (1� δ)ki,t�1

First-order condition

� 1ci,t+ ζ1 exp(�ζ0ki,t)� ζ2 + Et

�β

ci,t+1(rt+1 + 1� δ)

�= 0

Page 41: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Penalty function

� advantage of ζ2 term:

� supppose k̄ and r̄ are steady states of rep agent model� if

ζ2 = ζ1 exp(�ζ0k̄)

then steady state of this model is same

Page 42: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Equilibrium

� Unit mass of workers, Lt = 1

� Competitive �rm =) agent faces competitive prices

� wt = (1� α)Kαt L1�α

t = (1� α)Kαt

� rt = αKα�1t Lα

t = αKα�1t

� No aggregate risk soKt = K

� How to �nd the equilibrium K?

Carlos_ra
Resaltar
Carlos_ra
Resaltar
Page 43: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Algorithm

� Guess a value for r� This implies values for Kdemand and w� Solve the individual problem with these values for r & w� Simulate economy & calculate the supply of capital, Ksupply

� If Ksupply < Kdemand then r too low so raise r, say

rnew = r+ λ(Kdemand � Ksupply)

� Iterate until convergence

Carlos_ra
Rectángulo
Page 44: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Algorithm

Usingrnew = r+ λ(Kdemand � Ksupply)

to solveKdemand(r) = Ksupply(r)

not very e¢ cient

� Value of λ may have to be very low� More e¢ cient to use equation solver to solve fro r

Page 45: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Use Dynare to solve indiv. policy rule

� Specify guess for r in mother Matlab �le� Make r parameter in *.mod �le� In mother Matlab �le write r using

save r_file r

Page 46: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Use Dynare to solve indiv. policy rule

� In *.mod �le use

load r_file

set_param_value(�r�,r)

instead ofr = 0.013;

Page 47: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Simulate yourself using Dynare solution

1 Use values stored by Dynare or

2 Replace Dynare�s disp_dr.m with my alternative

� this saves the policy functions exactly as shown on the screen� asa matrix� in a Matlab data �le dynarerocks.mat� under the name decision

Page 48: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Does heterogeneity matter?

� Important to distinguish between� (i) theoretical results� (ii) their quantitative importance

� Examples� no aggregation in presence of incomplete markets� Arrow�s impossibility theorem

Page 49: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Does incompleteness/heterogeneitymatter?

� Take model with� in�nitely-lived agents� no complete markets

� e.g. agents can only borrow/lend through a safe asset

� =) no aggregation to RA model possible

� But in many models e¤ects small� why does in�nitely-lived agent assumption matter?

Carlos_ra
Resaltar
Page 50: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Does incompleteness/heterogeneitymatter?

� E¤ects often small for� asset prices� aggregate series

� except possibly some impact on means

� E¤ects much bigger for� individual series, e.g. VAR(ci,t) >> VAR(Ct)

Page 51: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Avoiding complexity

� heterogeneity only within the period� partial equilibrium� two agents?

Page 52: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Avoiding complexity

� Lesson learned above:� incomplete asset markets don�t do much in many environments

� This implies you should� either use more interesting environment� or use complete asset markets

� This does NOT imply you should eliminate heterogeneity fromyour models

Page 53: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Only heterogeneity within period

� Household with heterogeneous members within the period:� members are on their own and face frictions. E.g.

� cannot transfer funds to each other� cannot transfer information

� At the end of period:� all members bring this period�s revenues to household whomakes savings decision

Page 54: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Partial equilibrium

Which of the following two would you prefer?

� General equilibrium asset pricing model that generatesunrealistic asset prices

� Partial equilibrium model that uses realistic asset prices asexogenous processes

Page 55: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Partial of general equilibrium?

What about follwing example

� Government sets interest rates� !!! Government cannot set current rt nor rt+1.� Suppose it sets Et [rt+1]. E.g.,

Et [rt+1] = (1� ρr)r� + ρrrt + εr,t

� Government supplies capital to implement this.

Page 56: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Partial of general equilibrium?

� These expenditures are �nanced by lump sum taxes.� State variables are

� ki,t� εi,t� zt� Kt but no higher-order moments� Et [rt+1] or ???

Page 57: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Small number of agents

Consider following endowment economy

� Type 1 agent receives z1,t

� Type 2 agent receives z2,t

� average endowment zt

zt = 0.5z1,t + 0.5z2,t

� agents smooth idiosyncratic risk by trading in safe bonds

Page 58: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Small number of agents

c�γi,t � qtβEt

hc�γ

i,t+1

i�bi,t+1 � b̄

� �c�γ

i,t � qtβEt

hc�γ

i,t+1

i�= 0

bi,t+1 � b̄

b1,t+1 + b2,t+1 = 0

Page 59: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Idiosyncratic risk

� You want to study e¤ect of idiosyncratic risk.� Suppose agent 1 repeatedly gets the bad shock� Di¤erence with model with lots of types?

� here: lots of agents always get same shock at same time� so what?

Page 60: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Idiosyncratic risk and interest rate

Fig. 3. The response of the interest rate to idiosyncratic shocks. This graph plots the realization of

the interest rate in the economy with two types when the agent receives the low-income realization

for several periods. The straight line drawn with the same style indicates the interest rate in the

corresponding economy with a continuum of types. The parameter of risk aversion is equal to three

and the aggregate growth rate is always equal to the low value. The parameter b� indicates the

amount an agent is allowed to borrow relative to the per capita endowment. The values of the other

parameters are reported in Section 2.3.

3.3. Insurance against idiosyncratic risk

A crucial feature of the economy with two types is that the interest rate drops

when an agent receives the low realization for several periods because of the

increase in cross-sectional dispersion. This works like a transfer from the rich

agents (the lender) to the poor agents (the borrower) and suggests that agents in

economies with only two types are better o! than agents in economies with

a continuum of types. There is another e!ect, however, that makes it harder to

smooth consumption in economies with two types. It is harder to smooth

consumption in an economy with two types because an agent will not lend to

another agent of the same type and can never lend more than the agent of the

other type is allowed to borrow. This will prevent him from building up a large

bu!er stock during good times. Agents in an economy with a continuum of types

can lend to a wide variety of di!erent agents and at times accumulate assets well

in excess over the maximum amount that is possible in an economy with two

types.

To document the quantitative importance of the interest rate e!ect, I plot in

Fig. 3 the impulse response function of the interest rate when the same agent

receives the low-income realization for several periods. The graph plots the

interest rate for three levels of the borrowing constraint parameter and a

736 W.J. Den Haan / Journal of Economic Dynamics & Control 25 (2001) 721}746

Page 61: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Heterogeneity in other models

� Standard New Keynesian model� Simple static model with tax externality� Standard model with search friction

� multiple steady states� multiple solutions

Page 62: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

New Keynesian models

� Calvo devil =) heterogeneous price dispersion

� Standard approach:� only focus on aggregates� focus on linearized solution

Page 63: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Disaggregate results in NK models

� Suppose� all �rms start with same price (for simplicity)� consider monetary tightening

� Aggregate:� downturn because of sticky prices

Page 64: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Disaggregate results in NK models

� Firms that are not constrained by Calvo devil: pi #� their aggregate demand " because pi/P #� their aggregate demand # because aggregate demand #� total e¤ect can easily be "

� But empirical evidence suggests decline across di¤erent sectors

Page 65: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Asymmetry in New Keynesian models

Suppose commodities are perfect substitutes

� Monetary tightening:� �rms that are not constrained by Calvo devil: pi #� =) �rms constrained by Calvo devil sell 0� =) same outcome as fully �exible case� =) ∆Y = 0

Page 66: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Asymmetry in New Keynesian models

Suppose commodities are perfect substitutes

� Monetary stimulus:� Firms that are constrained by Calvo devil: ∆pi = 0� =) �rms not constrained by Calvo devil: ∆pi = 0� =) same outcome as �xed P case� =) ∆Y < 0

Page 67: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

The true New Keynesian models

Conclusion:

True New Keynesian models are much more interesting than thelinearized version the profession is obsessed with

Is the true NK model also more realistic?

Page 68: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Tax externality

� Static model� N di¤erent skill levels

� zk, k = 1, � � � , N� z1 = z̄� zk+1 = zk + ε

� unemployed get bene�ts

Page 69: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Tax externality

animated picture

Page 70: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Search model

Consider the following model

� unit mass of workers� workers need to search to �nd a job� employers post vacancy to �nd worker� productivity of matched pairs distributed i.i.d

� so each period a new draw

Page 71: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Key decision

� Given value of εi,t is it better to

1 produce or2 quit and enjoy leisure?

Page 72: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Equation for cut-o¤ value

� The cut-o¤ value ε̄i given by

0 = ε̄i +G� b�W

� G : continuation value of ending period in match� does not depend on εi,t (i.i.d. assumption)� does depend on ε̄i

� W : continuation value of ending period not in match� also depends on ε̄i

Page 73: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Solution for cut-o¤ value

� We are looking for a solution to

0 = ε̄i +G (ε̄i)� b�W (ε̄i)

� Unique solution if

∂ (ε̄i +G (ε̄i)� b�W (ε̄i))

∂ε̄i> 0 8ε̄i

� but typically we have

∂ (G (ε̄i)�W (ε̄i))

∂ε̄i< 0 for some ε̄i

Page 74: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Unique steady state

-0.5

0

0.5

1

1.5

2

1 2 3 4 5 6

Page 75: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Multiple steady state case

-0.5

0

0.5

1

1.5

2

1 2 3 4 5 6

Page 76: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Reasons for multiplicity

� expectations about the stability of future matches� as in example above

� market activity could a¤ect revenues� as in static example with tax externality

Page 77: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Tax externality and multiplicity

Easy to get two steady states

� Low (high) taxes =)� Surplus high (low) =)� Job destruction low (high) =)� Unemployment rate low (high) =)� Taxes indeed low (high)

Page 78: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Multiple what?

Multiple steady states ; multiple solutions

Page 79: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Transition dynamics I

33

2%

4%

6%

8%

10%

12%

-5 20 45 70 95

to highunemployment

2%-5

to lowunemployment

expectationsmatter

Page 80: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Transition dynamics II

34

ut

ut+1

45o

positive expectations

negative expectations

Page 81: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

Why is it hard to get this published in AER?

� What aspect of distribution determines whether this isquantitatively important?

� How do you get data on this?

Page 82: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

References

� Aiyagari, S. R., 1994, Uninsured Idiosyncratic Risk and Aggregate Saving, Quarterly

Journal of Economics.

� classic paper using a model with capital.

� Algan, Y., O. Allais, W.J. Den Haan, and P. Rendahl, Solving and Simulating Models

with Heterogeneous Agents and Aggregate Uncertainty.

� Survey article available online.

� Den Haan, W.J., 2001, The Importance of the Number of Di¤erent Agents in a

Heterogeneous Asset-Pricing Model, Journal of Economic Dynamics and Control.

� Shows that models with two agents are problematic models to study risk of

individual agents.

Page 83: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

� Den Haan, W.J., 2007, Shocks and the Unavoidable Road to Higher Taxes and Higher

Unemployment, Review of Economic Dynamics.

� Matching model with heterogeneous agents with multiple steady states and

(sometimes) multiple equilibria.

� Fuerst, T.S., 1991, Liquidity, loanable funds, and real activity, Journal of Monetary

Economics.

� One of the �rst articles to use the trick of the happy household with

heterogeneity within the period, but not across periods.

� Huggett, M., 1993, The risk-free rate in heterogeneous-agent incomplete-insurance

economics, Journal of Economic Dynamics and Control.

� classic paper using a model with bonds.

� Krusell, P., and A.A. Smith, 1997, Income and Wealth Heterogeneity in the

Macroeconomy, Journal of Political Economy.

� classic paper using a model with capital and aggregate risk.

Page 84: Intro Heterogeneous Agents Model

Overview Simple example & key issues Aiyagari model Does it matter? Avoiding complexity Other models

� Kubler, F., and K. Schmedders, 2002, Recursive Equilibria in Economies with

Incomplete Markets, Macroeconomic Dynamics.

� discusses (non)existence and uniqueness.

� Lucas, R.E. Jr., 1990, Liquidity and Interest Rates, Journal of Economic Theory.

� The article that introduces the idea of using the happy household with

heterogeneity within the period, but not across periods.

� Miao, J., 2006, Competitive Equilibria of Economies with a Continuum of Consumers

and Aggregate Shocks, Journal of Economic Theory.

� discusses existence of a recursive equilibria in an environment like the one in

Krusell and Smith (1997).