Latent Variables and Real-Time Forecasting in DSGE Models with - - PowerPoint PPT Presentation

latent variables and real time forecasting in dsge models
SMART_READER_LITE
LIVE PREVIEW

Latent Variables and Real-Time Forecasting in DSGE Models with - - PowerPoint PPT Presentation

Latent Variables and Real-Time Forecasting in DSGE Models with Occasionally Binding Constraints. Can Non-Linearity Improve Our Understanding of the Great Recession? Massimo Giovannini and Marco Ratto JRC, European Commission Outline I


slide-1
SLIDE 1

Latent Variables and Real-Time Forecasting in DSGE Models with Occasionally Binding

  • Constraints. Can

Non-Linearity Improve Our Understanding of the Great Recession?

Massimo Giovannini and Marco Ratto

JRC, European Commission

slide-2
SLIDE 2

Outline

I Motivation I Contribution I Methods I Implementation I Model set-up I Conclusions

Massimo Giovannini Latent Variables and Real-Time..

slide-3
SLIDE 3

Motivation

I Methodological: recently lots of effort in modeling

non-linearities, in particular Occasionally Binding Constraints (OBC) especially for the study of ZLB (Guerrieri and Iacoviello, 2015; Holden)

I But need to understand shocks contributions in explaining

  • bservables in this non-linear context, especially for policy

analysis.

I Additivity of shocks no longer holds in non-linear models.

I Theoretical: Linde et al. show the need of non Gaussian

models to “predict” the Global Financial Crisis (GFC)

Massimo Giovannini Latent Variables and Real-Time..

slide-4
SLIDE 4

Motivation (cont’d)

Massimo Giovannini Latent Variables and Real-Time..

slide-5
SLIDE 5

Contribution

I We propose an algorithm that allows us to compute historical

contribution of smoothed shocks onto observables in models with piecewise linear solution.

I We implement the algorithm in a model with financial OBC

and ask whether non-linearities (in the financial sector) may allow us to predict extreme events within Gaussian assumptions

Massimo Giovannini Latent Variables and Real-Time..

slide-6
SLIDE 6

Methodology- Obtaining estimates of latent variables

  • 1. Guess an initial sequence of regimes for each historical period

R(0)

t

for t = 1, .., T . (similar to Anzoategui et al. 2015)

  • 2. Given the sequence of regimes, compute the sequence of state

space matrices Υ(0)

t

following the piecewise linear solution method of Guerrieri et al. (2015).

  • 3. For each iteration j = 1, .., n :

3.1 feed the state space matrices Υ(j−1)

t

to a Kalman Filter / Fixed interval smoothing algorithm to determine initial conditions, smoothed variables y (j)

t

and shocks ✏(j)

t . (Kulish 2014 )

3.2 given initial conditions and shocks perform Occbin simulations that endogenously determine a new sequence of regimes R(j)

t ,

from which a new sequence of states space matrices is derived Υ(j)

t .

  • 4. The algorithm stops when R(j)

t

= R(j1)

t

for all t = 1, .., T.

Massimo Giovannini Latent Variables and Real-Time..

slide-7
SLIDE 7

Methodology-caveat with piecewise linear solution

In this environment the contribution of individual smoothed shocks, is not the mere additive superposition of each shock propagated by the sequence of state space matrices Υt estimated with the smoother. The occurrence of a specific regime at time t, in fact, is a non-linear function of the states in t − 1, yt1 and of the whole set

  • f shocks simultaneously affecting the economy, that is

Υt = f (✏1t, .., ✏kt, yt1), t = 1, .., T. Hence, the sequence of regimes will change when taking subsets of shocks or individual shocks alone.

Massimo Giovannini Latent Variables and Real-Time..

slide-8
SLIDE 8

Methodology-proposal

We propose two definitions, Main and Total effects, that generalize the concept of shock contributions to the non-linear case, and that will be based on simulations conditional to given shock patterns, i.e. performing counterfactuals opportunely choosing combinations

  • f shocks and initial conditions.

Massimo Giovannini Latent Variables and Real-Time..

slide-9
SLIDE 9

Methodology-Main and Total effects

Suppose we have a non-linear model y = f (x1, .., xn) From ANOVA theory, we can decompose y into main effects and interactions: y = f0 +

n

X

i=1

fi (xi) +

n

X

i=1

X

j>i

fij (xixj) + .. + f1,..,n (x1, .., xn) If we are interested into the main effect of xithat would simply be: E (y | xi) = f0 + fi (xi) If we are interested into the joint main effect of xi, xj that would be: E (y | xi, xj) = f0 + fi (xi) + fj (xj) + fij (xixj)

Massimo Giovannini Latent Variables and Real-Time..

slide-10
SLIDE 10

Methodology-Main and Total effects (cont’d)

So, again given our decomposition y = f0 +

n

X

i=1

fi (xi) +

n

X

i=1

X

j>i

fij (xixj) + .. + f1,..,n (x1, .., xn) we can define the Total effect of xi as ytot (xi) = fi (xi) + X

j6=i

fij (xixj) + .. + f1,..,n (x1, .., xn) that is the complement of all other x’s main effects: ytot (xi) = y − E (y | xj6=i)

Massimo Giovannini Latent Variables and Real-Time..

slide-11
SLIDE 11

Methodology-Main effect contribution

I Denote with ✏lt the shock or group of shocks of interest, while

˜ ✏lt indicates the complementary set of shocks in the model.

I We define the Main effect contribution, the effect computed

via Monte Carlo counterfactuals drawing respectively ˜ ✏ltand the initial conditions y0from their normal distributions, or E (yt | ✏lt)which can be simplified as yt (✏lt, ˜ ✏lt = 0, y0 = 0).

Massimo Giovannini Latent Variables and Real-Time..

slide-12
SLIDE 12

Methodology-Total Effect Contribution

I Denote with ✏lt the shock or group of shocks of interest, while

˜ ✏lt indicates the complementary set of shocks in the model.

I We define the Total Effect contribution, the effect computed

as the difference of the states variables yt and the contributions of ˜ ✏ltand of y0 obtained by integrating out ✏lt via Monte Carlo counterfactuals drawing ✏ltfrom its normal distribution, or yt − E (yt | ˜ ✏lt, y0)which can be simplified as yt − yt (˜ ✏lt, y0, ✏lt = 0).

Massimo Giovannini Latent Variables and Real-Time..

slide-13
SLIDE 13

The model

I We apply the above methods to an estimated closed economy

version of Kollmann et al. (EER, 2016) for the Euro Area

I The model is a standard NK model, with public sector, and

with non Ricardian households

I The “twist” is represented by financial frictions which translate

into lending (borrowing) constraints, and by OBC for the ZLB.

I One type of constraint is a constraint on total risky private

assets held by the households: always binding

I A second constraint limits the amount of loans between

households and firms: occasionally binding (2 model settings: 1) constraint internalized by lenders (Justiniano et al. 2015) 2) internalized by borrowers)

Massimo Giovannini Latent Variables and Real-Time..

slide-14
SLIDE 14

The model - Financial constraints

I As in Jermann et al. (2012), firms may raise funds either by

issuing equity or through a debt contract with limited enforceability

I We assume an always binding constraints on total (nominal)

risky private assets, equity shares Ps

t St plus loans to the firms

Lt, held by Ricardian households. In particular we assume an upper bound proportional to the beginning of period firms’ capital value: Lt + PS

t St = mtotzF t

⇣ PI

t Kt1

Massimo Giovannini Latent Variables and Real-Time..

slide-15
SLIDE 15

The model -Financial constraints (cont’d)

I We also assume the presence of an OBC tying the amount of

loans to the stock of capital, which in period of financial distress, reduces the possibility to substitute between risky assets: Lt ≤ mlzF

t

⇣ PI

t Kt1

I zF t is an AR(1) process describing the financial conditions of

the economy

I Under one exercise this constraint will be part of the HHs’

problem (lending constraint), in a second exercise it will be part of the firms’ problem (borrowing constraint).

Massimo Giovannini Latent Variables and Real-Time..

slide-16
SLIDE 16

The key equations

Under the lending constraints the equations affected by the OBC are the Euler equations for loans and equity shares : 1 + µs,tot

t

+ µs,l

t

= Et  e zC

t

s

t+1

s

t

Pt Pt+1 ⇣ 1 + il

t

−sL ✓ ↵L

0 + zL t + ↵L 1

✓ Lt PI

t Kt

− L PIK ◆◆◆ 1+µs,tot

t

= Et  e zC

t

s

t+1

s

t

Pt Pt+1 ✓ 1 + is

t+1 − sS

✓ ↵S

0 + zS t + ↵S 1

PS

t St

PtYt ◆◆

Massimo Giovannini Latent Variables and Real-Time..

slide-17
SLIDE 17

The key equations (cont’d)

Under the borrowing constraint specification, the multiplier on the OBC will disappear from the HH FOC for loans, and show up in the Firms’ FOC for Capital and Loans: Qt = Et " Mt+1 Mt PI

t+1

Pt+1 Pt PI

t

✓ ⌧ K − u

0 (CUt+1 − 1) − u 1

2 (CUt+1 − 1)2 + (1 − ) Qt+1 + (1 − ↵) µY

t+1

Pt+1 PI

t+1

Yt+1 K tot

t

+ µl

t+1Pt+1mlzF t+1

!# Et Mt+1 Mt Pt Pt+1 1 1 − µl

tPt

⇣ 1 + il

t

⌘ = 1

Massimo Giovannini Latent Variables and Real-Time..

slide-18
SLIDE 18

Results - Regimes sequence

Massimo Giovannini Latent Variables and Real-Time..

slide-19
SLIDE 19

Smoothed Shocks - lending

10 20 30 40 50 60 70

  • 6
  • 4
  • 2

2 4 ×10-3 EPS_INOM_EA 10 20 30 40 50 60 70

  • 0.04
  • 0.02

0.02 0.04 0.06 EPS_LTV_EA 10 20 30 40 50 60 70

  • 0.2
  • 0.1

0.1 0.2 EPS_MUY_EA 10 20 30 40 50 60 70

  • 0.02
  • 0.01

0.01 0.02 EPS_UC_EA 10 20 30 40 50 60 70

  • 2
  • 1

1 2 3 ×10-3 EPS_T_EA 10 20 30 40 50 60 70

  • 0.1
  • 0.05

0.05 0.1 EPS_TAX_EA 10 20 30 40 50 60 70

  • 3
  • 2
  • 1

1 ×10-4 EPS_GAYTREND_EA 10 20 30 40 50 60 70

  • 6
  • 4
  • 2

2 4 ×10-4 EPS_LAYTREND_EA 10 20 30 40 50 60 70

  • 0.04
  • 0.02

0.02 0.04 EPS_U_EA Linear Piecewise

Massimo Giovannini Latent Variables and Real-Time..

slide-20
SLIDE 20

Smoothed Shocks - borrowing

10 20 30 40 50 60 70

  • 6
  • 4
  • 2

2 4 ×10-3 EPS_INOM_EA 10 20 30 40 50 60 70

  • 0.04
  • 0.02

0.02 0.04 0.06 EPS_LTV_EA 10 20 30 40 50 60 70

  • 0.2
  • 0.1

0.1 0.2 EPS_MUY_EA 10 20 30 40 50 60 70

  • 0.02
  • 0.01

0.01 0.02 EPS_UC_EA 10 20 30 40 50 60 70

  • 2
  • 1

1 2 3 ×10-3 EPS_T_EA 10 20 30 40 50 60 70

  • 0.1
  • 0.05

0.05 0.1 EPS_TAX_EA 10 20 30 40 50 60 70

  • 3
  • 2
  • 1

1 ×10-4 EPS_GAYTREND_EA 10 20 30 40 50 60 70

  • 6
  • 4
  • 2

2 4 ×10-4 EPS_LAYTREND_EA 10 20 30 40 50 60 70

  • 0.04
  • 0.02

0.02 0.04 EPS_U_EA Linear Piecewise

Massimo Giovannini Latent Variables and Real-Time..

slide-21
SLIDE 21

Smoothed latent - lending

10 20 30 40 50 60 70 0.48 0.49 0.5 0.51 0.52 0.53 0.54

LTV

10 20 30 40 50 60 70 0.97 0.98 0.99 1 1.01 1.02 1.03 1.04 1.05 1.06 1.07

ZEPS LTV

10 20 30 40 50 60 70 0.035 0.04 0.045 0.05 0.055 0.06 0.065 0.07 0.075

MUK

10 20 30 40 50 60 70

  • 0.005

0.005 0.01 0.015 0.02 0.025

MUK SHAD

Massimo Giovannini Latent Variables and Real-Time..

slide-22
SLIDE 22

Smoothed latent - borrowing

10 20 30 40 50 60 70 0.48 0.49 0.5 0.51 0.52 0.53 0.54

LTV

10 20 30 40 50 60 70 0.97 0.98 0.99 1 1.01 1.02 1.03 1.04 1.05 1.06 1.07

ZEPS LTV

10 20 30 40 50 60 70 0.035 0.04 0.045 0.05 0.055 0.06 0.065 0.07 0.075

MUK

10 20 30 40 50 60 70

  • 0.01

0.01 0.02 0.03 0.04 0.05 0.06 0.07

MUK SHAD

Massimo Giovannini Latent Variables and Real-Time..

slide-23
SLIDE 23

Lending vs Borrowing OBC

10 20 30 40 50 60 70 0.01 0.02 0.03 0.04

INOML

10 20 30 40 50 60 70 4.5 5 5.5 6

LOANS

10 20 30 40 50 60 70 26 28 30 32 34

EQUITY PRICE

10 20 30 40 50 60 70 0.97 0.98 0.99 1

SDF

10 20 30 40 50 60 70 0.9 0.95 1 1.05

Tobin's Q

Lender Borrower Linear

Massimo Giovannini Latent Variables and Real-Time..

slide-24
SLIDE 24

Lending vs Borrowing OBC (cont’d)

I The Lagrange multiplier on the lending OBC induces an

increase in the loan rate whereas the opposite occurs from the firms loans demand

I This means that, in equilibrium, loans under the lending OBC

will be higher (but clearly lower than in the linear case)

I Combining the two financial constraints when both are binding

  • ne obtains a constant share

Lt Lt+PS

t St =

ml mtot hence under

lending OBC also Ps

t will be higher I In turn this will reduce the expectedd real return from equity

and increase the SDF under lending OBC

I On the contrary, the lower SDF under borrowing OBC is

responsible of the reduction in Tobin’s Q.

Massimo Giovannini Latent Variables and Real-Time..

slide-25
SLIDE 25

Shocks contributions - lending

2000 2004 2008 2012 2016

  • 6
  • 4
  • 2

×10-3 TFP EA 2000 2004 2008 2012 2016

  • 5

5 ×10-3 Fiscal EA 2000 2004 2008 2012 2016

  • 6
  • 4
  • 2

2 4 6 ×10-3 Monetary EA 2000 2004 2008 2012 2016

  • 5

5 10 ×10-3 Price Mark-up EA 2000 2004 2008 2012 2016

  • 4
  • 2

2 4 6 8 ×10-4 Bond premium EA 2000 2004 2008 2012 2016

  • 0.02
  • 0.01

0.01 Private savings shock EA 2000 2004 2008 2012 2016

  • 0.06
  • 0.04
  • 0.02

0.02 LTV EA 2000 2004 2008 2012 2016

  • 4
  • 3
  • 2
  • 1

1 2 ×10-3 Labor market EA 2000 2004 2008 2012 2016

  • 0.01
  • 0.005

0.005 0.01 Others

Massimo Giovannini Latent Variables and Real-Time..

slide-26
SLIDE 26

Shocks contribution - borrowing

2000 2004 2008 2012 2016

  • 6
  • 4
  • 2

×10-3 TFP EA 2000 2004 2008 2012 2016

  • 4
  • 2

2 4 6 ×10-3 Fiscal EA 2000 2004 2008 2012 2016

  • 6
  • 4
  • 2

2 4 6 ×10-3 Monetary EA 2000 2004 2008 2012 2016

  • 4
  • 2

2 4 ×10-3 Price Mark-up EA 2000 2004 2008 2012 2016

  • 4
  • 2

2 4 6 8 ×10-4 Bond premium EA 2000 2004 2008 2012 2016

  • 0.02
  • 0.01

0.01 Private savings shock EA 2000 2004 2008 2012 2016

  • 0.04
  • 0.02

0.02 LTV EA 2000 2004 2008 2012 2016

  • 4
  • 2

2 ×10-3 Labor market EA 2000 2004 2008 2012 2016

  • 0.01
  • 0.005

0.005 0.01 Others

Massimo Giovannini Latent Variables and Real-Time..

slide-27
SLIDE 27

Real Time forecasting

What we are interested in is E (yt+k | yt1)integrating over all possible ✏t+k, k = 0, .., T with (Quasi) Monte Carlo simulations. So given an initial condition yt1|t1:

  • 1. For each j Monte Carlo simulation, j = 1, .., N
  • 2. For k = 0, .., T
  • 3. Draw one realization of shocks ✏j

t+k, and run Occbin

simulations to get yj

t+k = g

⇣ yj

t+k1, ✏j t+k

⌘ The Monte Carlo sample yj

t+k with j = 1, .., N provides us an

estimate of the predictive density of the piecewise linear model.

Massimo Giovannini Latent Variables and Real-Time..

slide-28
SLIDE 28

Real Time forecast 2009Q1- lending

Massimo Giovannini Latent Variables and Real-Time..

slide-29
SLIDE 29

Real Time forecast 2009Q1- borrowing

Massimo Giovannini Latent Variables and Real-Time..

slide-30
SLIDE 30

Conclusions

I We proposed an algorithm which allows for the measuring of

historical shock decomposition of observables in models with OBC solved with piecewise linear solution.

I We applied the algorithm to a closed economy model with

OBC in the financial relationship between households and firms

I We showed that the degree of non-linearity caused by OBC

may allow us to include extreme events such as the GFC into the model’s predictive density, without invoking non-Gaussian exogenous processes

I Thanks!

Massimo Giovannini Latent Variables and Real-Time..