54
When Inequality Matters for Macro and Macro Matters for Inequality SeHyoun Ahn Greg Kaplan Princeton Chicago Benjamin Moll Tom Winberry Princeton Chicago Christian Wolf Princeton New York Fed, 29 November 2017 (slides are on my website) 1

When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

When Inequality Matters for Macroand Macro Matters for Inequality

SeHyoun Ahn Greg KaplanPrinceton Chicago

Benjamin Moll Tom WinberryPrinceton Chicago

Christian WolfPrinceton

New York Fed, 29 November 2017(slides are on my website)

1

Page 2: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Motivation

• Last 30 years: a lot of progress developing macro models withrich heterogeneity in income, wealth, consumption in micro data

• Promising tool for macroeconomics

• implications for policies differ: inequality matters for macro• distributional implications: macro matters for inequality

• Not yet part of policymakers’ toolbox. Two excuses:

1. computational difficulties because distribution endogenous2. perception that aggregate dynamics similar to rep agent

• Our paper: these excuses less valid than you thought

2

Page 3: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Motivation

• Last 30 years: a lot of progress developing macro models withrich heterogeneity in income, wealth, consumption in micro data

• Promising tool for macroeconomics

• implications for policies differ: inequality matters for macro• distributional implications: macro matters for inequality

• Not yet part of policymakers’ toolbox. Two excuses:

1. computational difficulties because distribution endogenous2. perception that aggregate dynamics similar to rep agent

• Our paper: these excuses less valid than you thought

2

Page 4: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Motivation

• Last 30 years: a lot of progress developing macro models withrich heterogeneity in income, wealth, consumption in micro data

• Promising tool for macroeconomics

• implications for policies differ: inequality matters for macro• distributional implications: macro matters for inequality

• Not yet part of policymakers’ toolbox. Two excuses:

1. computational difficulties because distribution endogenous2. perception that aggregate dynamics similar to rep agent

• Our paper: these excuses less valid than you thought2

Page 5: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

These excuses are less valid than you thought

1. Efficient and easy-to-use computational method

• open source Matlab toolbox online now

• extension of linearization (Campbell 1998, Reiter 2009)

• different slopes at each point in state space

• exploit advantages of continuous time (Achdou et al. 2017)

2. Use methodology to illustrate interaction of macro + inequality

• match micro behavior⇒ realistic aggregate C + Y dynamics

• aggregate shocks generate inequality dynamics...

• ... and IRFs in HA model can differ dramatically from RA case3

Page 6: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Outline

1. Explain methods in one-asset (Krusell-Smith) model• model description• linearization• dimensionality reduction• illustrative results• https://sehyoun.com/EXAMPLE_PHACT_KS.html

2. Two applications to illustrate macro + inequality interactions• richer two-asset (Kaplan-Moll-Violante) model

3. (Not in paper) a simple one-asset HANK model• https://sehyoun.com/EXAMPLE_one_asset_HANK_web.html

4

Page 7: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

One-Asset Heterogeneous Agent Model withAggregate Shocks (Krusell-Smith)

5

Page 8: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Households

max{cjt}t≥0

E0∫ ∞0

e−ρtu(cjt)dt such that

ajt = wtzjt + rtajt − cjt

zjt ∈ {zℓ, zh} Poisson with intensities λℓ, λh

ajt ≥ 0

• cjt : consumption• u: utility function, u′ > 0, u′′ < 0.• ρ: discount rate• rt : interest rate

6

Page 9: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Production

• Aggregate production function

Yt = eZtKαt N

1−αt with dZt = −νZtdt + σdWt

• Perfect competition in factor markets

wt = (1− α)YtNt, rt = α

YtKt− δ

• Market clearing

Kt =

∫agt(a, z)dadz,

Nt =

∫zgt(a, z)dadz ≡ 1

7

Page 10: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Warm-Up: Stationary Eq without Aggregate Shocks

• This slide only: turn off aggregate shocks Zt ≡ 0

ρv(a, z) =maxcu(c) + ∂av(a, z)(wz + ra − c)

+ λz(v(a, z′)− v(a, z))

(HJB SS)

0 =− ∂a[s(a, z)g(a, z)]− λzg(a, z) + λz ′g(a, z ′) (KF SS)

w = (1− α)Kα, r = αKα−1 − δ,

K =

∫ag(a, z)dadz

(PRICE SS)

8

Page 11: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Equilibrium with Aggregate ShocksAggregate state: (gt , Zt)⇒ absorb into time subscript t

• Recursive notation w.r.t. individual states only• Et is expectation w.r.t. aggregate states only fully recursive

ρvt(a, z) =maxcu(c) + ∂avt(a, z)(wtz + rta − c)

+ λz(vt(a, z′)− vt(a, z)) +

1

dtEt [dvt(a, z)],

(HJB)

∂tgt(a, z) =− ∂a[st(a, z)gt(a, z)]− λzgt(a, z) + λz ′gt(a, z ′), (KF)

wt = (1− α)eZtKαt , rt = αeZtKα−1t − δ (P)

Kt =

∫agt(a, z)dadz

dZt = −νZtdt + σdWtNote: 1dtEt [dvt ] means lims↓0 Et [vt+s − vt ] /s

9

Page 12: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Equilibrium with Aggregate ShocksAggregate state: (gt , Zt)⇒ absorb into time subscript t

• Recursive notation w.r.t. individual states only• Et is expectation w.r.t. aggregate states only fully recursive

ρvt(a, z) =maxcu(c) + ∂avt(a, z)(wtz + rta − c)

+ λz(vt(a, z′)− vt(a, z)) +

1

dtEt [dvt(a, z)],

(HJB)

∂tgt(a, z) =− ∂a[st(a, z)gt(a, z)]− λzgt(a, z) + λz ′gt(a, z ′), (KF)

wt = (1− α)eZtKαt , rt = αeZtKα−1t − δ (P)

Kt =

∫agt(a, z)dadz

dZt = −νZtdt + σdWtNote: 1dtEt [dvt ] means lims↓0 Et [vt+s − vt ] /s 9

Page 13: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Linearization

10

Page 14: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Extension of standard linearization

1. Compute non-linear approximation to non-stochastic steady state

2. Compute first-order Taylor expansion around steady state

3. Solve linear stochastic differential equation

11

Page 15: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Warm Up: Linearizing a Representative Agent Model

• Optimality conditions in RBC model

Et

dCtdKtdZt

= f (Ct , Kt , Zt)dt, f : R3 → R3

• Ct = consumption

• Kt = capital

• Zt = productivity

• f1 = Euler equation

• f2 = resource constraint

• f3 = productivity process

12

Page 16: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Warm Up: Linearizing a Representative Agent Model

• Optimality conditions in RBC model

Et

dCtdKtdZt

= f (Ct , Kt , Zt)dt, f : R3 → R3

• Ct = consumption = control variable

• Kt = capital = endogenous state variable

• Zt = productivity = exogenous state variable

• f1 = Euler equation

• f2 = resource constraint

• f3 = productivity process

12

Page 17: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Warm Up: Linearizing a Representative Agent Model

1. Compute non-stochastic steady state (C,K,Z = 0): by hand

2. Compute first-order Taylor expansion of f (Ct , Kt , Zt)3. Diagonalize matrix B, hope same number of stable eigenvalues as

state variables (2 in this model)Set control variables ⊥ to unstable eigenvectors⇒ policy function

Ct = DKKt +DZZt

13

Page 18: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Warm Up: Linearizing a Representative Agent Model

1. Compute non-stochastic steady state (C,K,Z = 0): by hand

2. Compute first-order Taylor expansion of f (Ct , Kt , Zt)

Et

dCtdKtdZt

= f (Ct , Kt , Zt)dt

3. Diagonalize matrix B, hope same number of stable eigenvalues asstate variables (2 in this model)Set control variables ⊥ to unstable eigenvectors⇒ policy function

Ct = DKKt +DZZt

13

Page 19: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Warm Up: Linearizing a Representative Agent Model

1. Compute non-stochastic steady state (C,K,Z = 0): by hand

2. Compute first-order Taylor expansion of f (Ct , Kt , Zt)

Et

dCtdKtdZt

=BCC BCK BΛZBKC BKK BKZ0 0 BZZ

︸ ︷︷ ︸

B

CtKtZt

dt

3. Diagonalize matrix B, hope same number of stable eigenvalues asstate variables (2 in this model)Set control variables ⊥ to unstable eigenvectors⇒ policy function

Ct = DKKt +DZZt

13

Page 20: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Warm Up: Linearizing a Representative Agent Model

1. Compute non-stochastic steady state (C,K,Z = 0): by hand

2. Compute first-order Taylor expansion of f (Ct , Kt , Zt)

Et

dCtdKtdZt

=BCC BCK BΛZBKC BKK BKZ0 0 BZZ

︸ ︷︷ ︸

B

CtKtZt

dt

3. Diagonalize matrix B, hope same number of stable eigenvalues asstate variables (2 in this model)Set control variables ⊥ to unstable eigenvectors⇒ policy function

Ct = DKKt +DZZt

13

Page 21: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Main Event: Linearizing a Heterogeneous Agent Model

1. Computenon-linearapprox. of non-stochasticsteadystate

• Finite difference method from Achdou et al. (2017)• Steady state reduces to sparse matrix equations• Borrowing constraint absorbed into boundary conditions

2. Compute first-order Taylor expansion around steady state

3. Solve linear stochastic differential equation

14

Page 22: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Main Event: Linearizing a Heterogeneous Agent Model

1. Computenon-linearapprox. of non-stochasticsteadystate

• Finite difference method from Achdou et al. (2017)• Steady state reduces to sparse matrix equations• Borrowing constraint absorbed into boundary conditions

2. Compute first-order Taylor expansion around steady state

3. Solve linear stochastic differential equation

14

Page 23: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Step 1: Compute non-stochastic steady state

ρv(a, z) =maxcu(c) + ∂av(a, z)(wz + ra − c)

+ λz(v(a, z′)− v(a, z))

(HJB SS)

0 =− ∂a[s(a, z)g(a, z)]− λzg(a, z) + λz ′g(a, z ′) (KF SS)

w = (1− α)Kα, r = αKα−1 − δ,

K =

∫ag(a, z)dadz

(PRICE SS)

15

Page 24: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Step 1: Compute non-stochastic steady state

ρvi ,j =u(ci ,j) + ∂avi ,j(wzj + rai − ci ,j)+ λj(vi ,−j − vi ,j), with ci ,j = u′−1(∂avi ,j)

(HJB SS)

0 =− ∂a[s(a, z)g(a, z)]− λzg(a, z) + λz ′g(a, z ′) (KF SS)

w = (1− α)Kα, r = αKα−1 − δ,

K =

∫ag(a, z)dadz

(PRICE SS)

15

Page 25: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Step 1: Compute non-stochastic steady state

ρv =u (v) + A (v;p) v (HJB SS)

0 =− ∂a[s(a, z)g(a, z)]− λzg(a, z) + λz ′g(a, z ′) (KF SS)

w = (1− α)Kα, r = αKα−1 − δ,

K =

∫ag(a, z)dadz

(PRICE SS)

15

Page 26: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Visualization of A (output of spy(A) in Matlab)

0 10 20 30 40 50 60

0

10

20

30

40

50

60

nz = 177 16

Page 27: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Step 1: Compute non-stochastic steady state

ρv =u (v) + A (v;p) v (HJB SS)

0 =− ∂a[s(a, z)g(a, z)]− λzg(a, z) + λz ′g(a, z ′) (KF SS)

w = (1− α)Kα, r = αKα−1 − δ,

K =

∫ag(a, z)dadz

(PRICE SS)

17

Page 28: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Step 1: Compute non-stochastic steady state

ρv =u (v) + A (v;p) v (HJB SS)

0 =A (v;p)T g (KF SS)

w = (1− α)Kα, r = αKα−1 − δ,

K =

∫ag(a, z)dadz

(PRICE SS)

17

Page 29: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Step 1: Compute non-stochastic steady state

ρv =u (v) + A (v;p) v (HJB SS)

0 =A (v;p)T g (KF SS)

p =F (g) (PRICE SS)

• More generals models: (PRICE SS) becomes

0 = F (g,p)

17

Page 30: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Linearization: three steps

1. Compute non-linear approximation to non-stochastic steady state

• Finite difference method from Achdou et al. (2017)• Steady state reduces to sparse matrix equations• Borrowing constraint absorbed into boundary conditions

2. Compute first-orderTaylorexpansion aroundsteadystate

• Automatic differentiation: exact numerical derivatives• Efficient Matlab implementation for sparse systems• Different slopes at each point in state space

3. Solve linear stochastic differential equation

18

Page 31: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Linearization: three steps

1. Compute non-linear approximation to non-stochastic steady state

• Finite difference method from Achdou et al. (2017)• Steady state reduces to sparse matrix equations• Borrowing constraint absorbed into boundary conditions

2. Compute first-orderTaylorexpansion aroundsteadystate

• Automatic differentiation: exact numerical derivatives• Efficient Matlab implementation for sparse systems• Different slopes at each point in state space

3. Solve linear stochastic differential equation

18

Page 32: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Step 2: Linearize discretized system

• Discretized system with aggregate shocks

ρvt = u (vt) + A (vt ;pt) vt +1

dtEt [dvt ]

dgtdt= A (vt ;pt)

T gt

pt = F (gt;Zt)

dZt= −νZtdt + σdWt

19

Page 33: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Step 2: Linearize discretized system

• Discretized system with aggregate shocks

ρvt = u (vt) + A (vt ;pt) vt +1

dtEt [dvt ]

dgtdt= A (vt ;pt)

T gt

pt = F (gt;Zt)

dZt= −νZtdt + σdWt

• Write in general form

Et

dvtdgt0

dZt

= f (vt ,gt ,pt , Zt)dt,vtgtptZt

=

controlendog state

pricesexog state

19

Page 34: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Step 2: Linearize discretized system

• Discretized system with aggregate shocks

ρvt = u (vt) + A (vt ;pt) vt +1

dtEt [dvt ]

dgtdt= A (vt ;pt)

T gt

pt = F (gt;Zt)

dZt= −νZtdt + σdWt• Linearize using automatic differentiation (code: @myAD)

Et

d vtd gt0

dZt

=Bvv 0 Bvp 0

Bgv Bgg Bgp 0

0 Bpg −I BpZ0 0 0 −ν

︸ ︷︷ ︸

B

vtgtptZt

dt

19

Page 35: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Linearization: three steps

1. Compute non-linear approximation to non-stochastic steady state• Finite difference method from Achdou et al. (2017)• Steady state reduces to sparse matrix equations• Borrowing constraint absorbed into boundary conditions

2. Compute first-order Taylor expansion around steady state• Automatic Differentiation: exact numerical derivatives• Efficient Matlab implementation for sparse systems• Different slopes at each point in state space

3. Solvelinearstochastic differentialequation

• Moderately-sized systems =⇒ standard methods OK• Large systems =⇒ dimensionality reduction

20

Page 36: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Linearization: three steps

1. Compute non-linear approximation to non-stochastic steady state• Finite difference method from Achdou et al. (2017)• Steady state reduces to sparse matrix equations• Borrowing constraint absorbed into boundary conditions

2. Compute first-order Taylor expansion around steady state• Automatic Differentiation: exact numerical derivatives• Efficient Matlab implementation for sparse systems• Different slopes at each point in state space

3. Solvelinearstochastic differentialequation• Moderately-sized systems =⇒ standard methods OK• Large systems =⇒ dimensionality reduction

20

Page 37: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Model-Free Reduction Method

• Key insight: only need distribution gt to forecast prices

1. Krusell & Smith: guess moments ex-ante, check accuracyex-post

2. Our approach: computer chooses “moments”, guaranteeaccuracy

• Approximate N-dimensional distribution with k-dimensional basisgt ≈ γ1tx1 + ...+ γktxk

⇒ how to choose the basis x1, ..., xk?

• State-space reduction tools from engineering literature (Reiter 2010)• use “observability” criterion ≡ matching impulse responses• adapt to problems with forward-looking decisions

21

Page 38: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Approximate Aggregation in Krusell & Smith Model

0 10 20 30 40 500

0.2

0.4

0.6

0.8

0 10 20 30 40 500

0.2

0.4

0.6

0.8

0 10 20 30 40 500.02

0.04

0.06

0.08

0.1

0.12

0.14

0 10 20 30 40 50-0.5

0

0.5

1

1.5

2

2.5

• Comparison of full distribution vs. k = 1 approximation=⇒ recovers Krusell & Smith’s “approximate aggregation”

22

Page 39: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Approximate Aggregation in Krusell & Smith Model

0 10 20 30 40 500

0.2

0.4

0.6

0.8

0 10 20 30 40 500

0.2

0.4

0.6

0.8

0 10 20 30 40 500.02

0.04

0.06

0.08

0.1

0.12

0.14

0 10 20 30 40 50-0.5

0

0.5

1

1.5

2

2.5

• Large-scale models in applications require k = 300=⇒ no approximate aggregation

22

Page 40: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Our Method Is Fast, Accurate in Krusell & Smith Model

Ourmethodisfast

w/oReduction w/ReductionSteady State 0.082 sec 0.082 secLinearize 0.021 sec 0.021 secReduction × 0.007 secSolve 0.14 sec 0.002 secTotal 0.243 sec 0.112 sec

• JEDC comparison project (2010): fastest alternative ≈ 7 minutes

Ourmethodisaccurate

Agg Shock σ 0.01% 0.1% 0.7% 1% 5%Den Haan Error 0.000% 0.002% 0.053% 0.135% 3.347%

• JEDC comparison project: most accurate alternative ≈ 0.16%

22

Page 41: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Our Method Is Fast, Accurate in Krusell & Smith Model

Ourmethodisfast

w/oReduction w/ReductionSteady State 0.082 sec 0.082 secLinearize 0.021 sec 0.021 secReduction × 0.007 secSolve 0.14 sec 0.002 secTotal 0.243 sec 0.112 sec

• JEDC comparison project (2010): fastest alternative ≈ 7 minutes

Ourmethodisaccurate

Agg Shock σ 0.01% 0.1% 0.7% 1% 5%Den Haan Error 0.000% 0.002% 0.053% 0.135% 3.347%

• JEDC comparison project: most accurate alternative ≈ 0.16%22

Page 42: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Applications

22

Page 43: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

A Model of Distribution of Income, Wealth, and MPCs

• Households: two-asset incomplete markets (Kaplan-Moll-Violante)• liquid asset• illiquid assets subject to transaction cost

• Aggregate production function with growth rate shocks

Yt = QtKαt N1−αt

d logQt = ZtdtdZt = −ηZtdt + σdWt

• Market clearing:• Kt = illiquid assets• B = liquid assets (fixed supply)

23

Page 44: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Application 1: Inequality Matters for C + Y Dynamics

• Campbell-Mankiw (1989): how match aggregate C + Y dynamics?

• Calibrate model to match

1. Household side: distribution of income, wealth, and MPCs2. Firm side: dynamics of ∆ log Yt

0400

0.1

0.2

300 30

0.3

20

0.4

200 10

0.5

0.6

0100 -10

-200

24

Page 45: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Application 1: Inequality Matters for C + Y Dynamics

• Campbell-Mankiw (1989): how match aggregate C + Y dynamics?

• Calibrate model to match

1. Household side: distribution of income, wealth, and MPCs2. Firm side: dynamics of ∆ log Yt

Data ModelsRep agent Two-Asset CM

SensitivitytoIncomeIV(∆ logCt on ∆ log Yt 0.503 0.247 0.656

using ∆ log Yt−1)Smoothnessσ(∆ logCt)σ(∆ log Yt)

0.518 0.709 0.51424

Page 46: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Application 1: Inequality Matters for C + Y Dynamics

• Campbell-Mankiw (1989): how match aggregate C + Y dynamics?

• Calibrate model to match

1. Household side: distribution of income, wealth, and MPCs2. Firm side: dynamics of ∆ log Yt

Data ModelsRep agent Two-Asset CM

SensitivitytoIncomeIV(∆ logCt on ∆ log Yt 0.503 0.247 0.656 0.505

using ∆ log Yt−1)Smoothnessσ(∆ logCt)σ(∆ log Yt)

0.518 0.709 0.514 0.67624

Page 47: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Application 2: Agg Shocks Matter for Inequality

• With Cobb-Douglas prod’n, labor income inequality exogenous

labor income = wt × zjt

• Modify production function to generate endogenous inequality

Yt =[µ(ZUt N

Ut )σ + (1− µ)

(λKρt + (1− λ)(NSt )ρ

) σρ

] 1σ

• NUt : unskilled labor w/ low persistent productivity zjt• NSt : skilled labor w/ high persistent productivity zjt• ZUt : unskilled-specific productivity shock

• Calibrate σ and ρ to generate capital-skill complementarity25

Page 48: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Unskilled-Specific Shock Increases Inequality...

1 2 3 4 5 6 7 8 9 10-0.6

-0.5

-0.4

-0.3

-0.2

-0.1

0

1 2 3 4 5 6 7 8 9 100

0.01

0.02

0.03

0.04

• Fluctuations in income inequality ≈ aggregate income26

Page 49: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

... And Generates Sharp Consumption Bust

1 2 3 4 5 6 7 8 9 10-0.1

-0.08

-0.06

-0.04

-0.02

0

0.02

• Many low-skill households hand-to-mouth=⇒ larger consumption drop than in rep agent model

27

Page 50: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

One-Asset HANK Model

28

Page 51: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

One-Asset HANK – Model Outline• For details see https://github.com/gregkaplan/phact/blob/master/examples/

one_asset_HANK/docs/one_asset_hank_no_capital.pdf

• Households:• as in Krusell-Smith model + endogenous labor supply• policy functions ct(a, z), ℓt(a, z), distribution gt(a, z)

• Firms:• monopolistic intermediate-good producers, labor demand Lt• quadratic price adjustment costs à la Rotemberg (1982)• ⇒ New Keynesian Phillips curve

• Government: issues liquid debt Bgt , spends, taxes/transfers

• Monetary authority: sets nominal rate based on a Taylor rule• Equilibrium:

Bgt =

∫agt(a, z)dadz, Lt =

∫ℓt(a, z)gt(a, z)dadz 29

Page 52: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Walking you through the code

• https://sehyoun.com/EXAMPLE_one_asset_HANK_web.html

30

Page 53: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Macro With Inequality: No More Excuses!

1. Efficient and easy-to-use computational method• open source Matlab toolbox online now

2. Use methodology to illustrate interaction of macro + inequality

• match micro behavior⇒ realistic aggregate C + Y dynamics• aggregate shocks generate inequality dynamics...• ... and IRFs in HA model can differ dramatically from RA case

3. Check out one-asset HANK model athttps://sehyoun.com/EXAMPLE_one_asset_HANK_web.html

• Estimating models w/ micro data on distributions within reach

• Lots of cool applications: come talk to us!31

Page 54: When Inequality Matters for Macro and Macro Matters for ... · Motivation • Last 30 years:a lot of progress developing macro models with rich heterogeneityin income,wealth,consumption

Fully recursive notation Back

w(g, Z) = (1− α)eZK(g)α, r(g, Z) = αeZK(g)α−1 − δ (P)

K(g) =

∫ag(a, z)dadz (K)

ρV (a, z, g, Z) = maxcu(c) + ∂aV (a, z, g, Z)(w(g, Z)z + r(g, Z)a − c)

+ λz(V (a, z′, g, Z)− V (a, z, g, Z))

+∂ZV (a, z, g, Z)(−νZ) +1

2∂ZZV (a, z, g, Z)σ

2

+

∫δV (a, z, g, Z)

δg(a, z)(KZg)(a, z)dadz

(∞d HJB)(KZg)(a, z) = −∂a[s(a, z, g, Z)g(a, z)]− λzg(a, z) + λz ′g(a, z ′)

(KF operator)s(a, z, g, Z) = w(g, Z)z + r(g, Z)a − c∗(a, z, g, Z)

• δV/δg(a, z): functional derivative of V wrt g at point (a, z)32