+ All Categories
Home > Documents > DSGE Model Nonlinearities

DSGE Model Nonlinearities

Date post: 08-Dec-2021
Category:
Upload: others
View: 8 times
Download: 0 times
Share this document with a friend
35
DSGE Model Nonlinearities Frank Schorfheide University of Pennsylvania, CEPR, NBER, PIER June 2017 JEDC Plenary Lecture 2017 SCE/CEF Conference Papers and software available at https://web.sas.upenn.edu/schorf/
Transcript
Page 1: DSGE Model Nonlinearities

DSGE Model Nonlinearities

Frank SchorfheideUniversity of Pennsylvania, CEPR, NBER, PIER

June 2017

JEDC Plenary Lecture2017 SCE/CEF Conference

Papers and software available at https://web.sas.upenn.edu/schorf/

Page 2: DSGE Model Nonlinearities

DSGE Model Nonlinearities

Large body of recent work on DSGE model nonlinearities:

stochastic volatility;

effective lower bound on nominal interest rates;

occasionally-binding financial constraints;

general nonlinear dynamics in macro-financial models;

(...)

F. Schorfheide DSGE Model Nonlinearities

Page 3: DSGE Model Nonlinearities

Three Tasks

1 Model Solution

2 Model Estimation

3 Model Assessment

I will provide an overview of some of my recent collaborative research in these areas.

F. Schorfheide DSGE Model Nonlinearities

Page 4: DSGE Model Nonlinearities

Task 1 – Model Solution

F. Schorfheide DSGE Model Nonlinearities

Page 5: DSGE Model Nonlinearities

Nonlinear Model Solution

Reference: B. Aruoba, P. Cuba-Borda, and F. Schorfheide (2017): “Macroeconomic Dynamics Near the ZLB: A

Tale of Two Countries,” Review of Economic Studies, forthcoming.

Perturbation solutions capture some nonlinearities but not all−→ not well suited for occasionally-binding constraints.

Example: ZLB/ELB for nominal interest rates

Rt = max {1, R∗t eεR,t} , R∗t =

[rπ∗

(πtπ∗

)ψ1(Yt

Y ∗t

)ψ2]1−ρR

RρRt−1.

Two Challenges:1 capture “kinks” in decision rules;2 solution needs to be accurate in region of state-space that is relevant according to model

AND according to data.

Other issue in paper: multiplicity of equilibria, sunspots ...

F. Schorfheide DSGE Model Nonlinearities

Page 6: DSGE Model Nonlinearities

Challenge 1 – Kinks

Consider decision rule π(St), states St = (Rt−1, y∗t−1, dt , gt , zt , εR,t)

“Stitch” two functions for each decision rule (endogenous “seam”):

π(St ; Θ) =

f 1π (St ; Θ) if R(St) > 1

f 2π (St ; Θ) if R(St) = 1

f ij are linear combinations of a complete set Chebyshev polynomials up to 4th order, withweights Θ.

F. Schorfheide DSGE Model Nonlinearities

Page 7: DSGE Model Nonlinearities

Sample Decision Rules - Small-Scale NK Model for U.S.

g-6 -4 -2 0

0

1

2

3

Interest Rate

g-6 -4 -2 0

0

2

4

In.ation

g-6 -4 -2 0

-4

-3

-2

-1

0

1Output

g-6 -4 -2 0

0.5

1

1.5

2

2.5Consumption

F. Schorfheide DSGE Model Nonlinearities

Page 8: DSGE Model Nonlinearities

Challenge 2 – Accuracy Where it Matters

Choose Θ to minimize sum squared residuals from the (intertemporal) equilibrium conditionsover particular grid of points in state space

1 1.01 1.02 1.031.23

1.25

1.27

1.29

1.31

R−1

y−1

Ergodic Distribution(s=1) Ergodic Distribution(s=0) 2000−2008 2009(s=0) 2009−2015(s=1)

1 1.01 1.02 1.030.39

0.42

0.45

0.48

0.51

R−1

g

1 1.01 1.02 1.03−0.02

−0.01

0

0.01

0.02

R−1

z

1 1.01 1.02 1.03−8

−4

0

4

8x 10

−3

R−1

εR

1 1.01 1.02 1.03−0.2

−0.1

0

0.1

0.2

R−1

d

Ergodic Distribution(s=1) Ergodic Distribution(s=0) 2000−2008 2009(s=0) 2009−2015(s=1)

F. Schorfheide DSGE Model Nonlinearities

Page 9: DSGE Model Nonlinearities

Task 2 – Model Estimation

F. Schorfheide DSGE Model Nonlinearities

Page 10: DSGE Model Nonlinearities

Model Estimation – A Plug for Bayesian Inference...

p(θ|Y ) =p(Y |θ)p(θ)∫p(Y |θ)p(θ)dθ

Treat uncertainty with respect to shocks, latent states, parameters, and modelspecifications uncertainty symmetrically.

Condition inference on what you know (the data Y ) instead of what you don’t know (theparameter θ).

Make optimal decision conditional on observed data.

Large set of computational tools available.

F. Schorfheide DSGE Model Nonlinearities

Page 11: DSGE Model Nonlinearities

Model Estimation

Bayesian inference is implemented by sampling draws θi from the posterior p(θ|Y ).

Posterior samplers require evaluation of likelihood function:θ −→ model solution −→ state-space representation −→ p(Y |θ).

State-space representation −→ p(Y ,S |θ):

yt = Ψ(st , t; θ) + ut , ut ∼ Fu(·; θ)

st = Φ(st−1, εt ; θ), εt ∼ Fε(·; θ).

In order to obtain p(Y |θ) =∏T

t=1 p(yt |Y1:t−1, θ)we need to integrate out latent states S from p(Y ,S |θ) −→ use filter:

Initialization: p(st−1|Y1:t−1, θ)

Forecasting: p(st |Y1:t−1, θ), p(yt |Yt−1)

Updating: p(st |yt ,Y1:t−1) = p(st |Y1:t).

F. Schorfheide DSGE Model Nonlinearities

Page 12: DSGE Model Nonlinearities

Particle Filtering

Particle Filtering: represent p(st−1|Y1:t−1) by {s jt−1,Wjt−1}Mj=1 such that

1

M

M∑j=1

h(s jt−1)W jt−1 ≈

∫h(st−1)p(st−1|Y1:t−1)dst−1.

Example: Bootstrap particle filter

Mutation/Forecasting: turn s jt−1 into s jt : sample s jt ∼ p(st |s jt−1).

Correction/Updating: change particle weights to: W jt ∝ p(yt |s jt )W j

t−1.

Selection (Optional): Resample to turn {s jt , W jt }Mj=1 into {s jt ,W j

t = 1}Mj=1.

Problem: naive forward simulation of Bootstrap PF leads to uneven particle weights−→ inaccurate likelihood approximation!

F. Schorfheide DSGE Model Nonlinearities

Page 13: DSGE Model Nonlinearities

Tempered Particle Filter

Reference: E. Herbst and F. Schorfheide (2017): “Tempered Particle Filtering,” NBER Working Paper, 23448.

Construct a sequence “bridge distributions” with inflated measurement errors. Define

pn(yt |st , θ) ∝ φd/2n |Σu(θ)|−1/2 exp

{− 1

2(yt −Ψ(st , t; θ))′

×φnΣ−1u (θ)(yt −Ψ(st , t; θ))

}, φ1 < φ2 < . . . < φNφ = 1.

Bridge posteriors given st−1:

pn(st |yt , st−1, θ) ∝ pn(yt |st , θ)p(st |st−1, θ).

Bridge posteriors given Y1:t−1:

pn(st |Y1:t) =

∫pn(st |yt , st−1, θ)p(st−1|Y1:t−1)dst−1.

Traverse these bridge distributions with “static” Sequential Monte Carlo method (Chopin,2002). References in stats lit: Godsill and Clapp (2001), Johansen (2016)

F. Schorfheide DSGE Model Nonlinearities

Page 14: DSGE Model Nonlinearities

Bridge Posteriors: pn(st |Y1:t), n = 1, . . . ,Nφ

−4−3

−2−1 0 1

φn

0.00.2

0.40.6

0.81.0

0.0

0.5

1.0

1.5

2.0

2.5

3.0

F. Schorfheide DSGE Model Nonlinearities

Page 15: DSGE Model Nonlinearities

Distribution of Log-lh Approx Error – Great Recession Sample

−350 −300 −250 −200 −150 −100 −50 00.00

0.05

0.10

0.15

0.20

0.25

0.30

Den

sity

TPF (r ∗ = 2), M = 40000

TPF (r ∗ = 2), M = 4000

TPF (r ∗ = 3), M = 40000

TPF (r ∗ = 3), M = 4000

BSPF , M = 40000

F. Schorfheide DSGE Model Nonlinearities

Page 16: DSGE Model Nonlinearities

Putting it All Together

Once a reasonably accurate likelihood approximation has been obtained, it can beembedded in a posterior sampler.

The Full Monty is a real pain: see Gust, C., E. Herbst, D. Lopez-Salido, and M. E. Smith(2017): “The Empirical Implications of the Interest-Rate Lower Bound,” AmericanEconomic Review, forthcoming.

Potential shortcuts:

less accurate model solution;

cruder state extraction / likelihood approximation;

non-likelihood-based parameterization of model.

Schorfheide, Song, Yaron (2017): slight short-cut in model solution −→conditionally-linear state-space representation −→ efficient particle filter approximation oflikelihood −→ full Bayesian estimation.

F. Schorfheide DSGE Model Nonlinearities

Page 17: DSGE Model Nonlinearities

Part III – Model Assessment

F. Schorfheide DSGE Model Nonlinearities

Page 18: DSGE Model Nonlinearities

Can the nonlinearities in DSGE models correctly reproduce thenonlinearities in the data?

Model Assessment (see Fernandez-Villaverde, Rubio-Ramirez, and Schorfheide (2016): “Solution and

Estimation of DSGE Models,” Handbook of Macroeconomics, Vol 2., Elsevier):

Relative fit: comparison with other models.

Absolute fit: can the DSGE reproduce salient features of the data? Violation ofover-identifying restrictions?

Linear VARs have been useful benchmark / reference model for the evaluation of linearizedDSGE models:

testing over-identifying restrictions; model oddscomparison of model-implied autocovariances, spectra, impulse responses(...)

No obvious benchmark for evaluation of nonlinear models: generalized autoregressive models?

bilinear models? ARCH-M? LARCH? regime-switching models? time-varying coefficient models? threshold

autoregressions? smooth transition autoregressions?

F. Schorfheide DSGE Model Nonlinearities

Page 19: DSGE Model Nonlinearities

Assessing Nonlinearities Can Be Delicate... An Example

Many papers argue that it is important to incorporate stochastic volatility in DSGEmodels.

Important nonlinearity or device to capture rare events like Great Moderation, GreatRecession?

Diebold, Schorfheide, Shin (2016): Evaluate forecast performance of DSGE model withstochastic volatility versus structural break in volatility

Posterior Mean Structural Shock Volatilities / Final Data Vintage

F. Schorfheide DSGE Model Nonlinearities

Page 20: DSGE Model Nonlinearities

Assessing Nonlinearities Can Be Delicate... An Example: DSS (2016)

Coverage Rates of 70% Interval Forecasts, h = 1, ..., 8

Log Predictive Scores, h = 4

F. Schorfheide DSGE Model Nonlinearities

Page 21: DSGE Model Nonlinearities

Assessing a DSGE Model With Smooth Nonlinearities

Reference: B. Aruoba, L. Bocola, and F. Schorfheide (2017): “Assessing DSGE Model Nonlinearities,”

Manuscript.

Small-scale DSGE model with nominal price and wage rigidities.

Price and wage adjustment costs are potentially asymmetric to capture downward rigidity,see Kim and Ruge-Murcia (JME, 2009):

Φ(x) = ϕ

(exp(−ψ(x − x∗)) + ψ(x − x∗)− 1

ψ2

).

Model consists of

householdsintermediate goods producersfinal goods producerscentral bank / fiscal authority

F. Schorfheide DSGE Model Nonlinearities

Page 22: DSGE Model Nonlinearities

DSGE Model Estimation

Some evidence for downward nominal rigidities:

1960:Q1-2007:Q4 1984:Q1-2007:Q4Parameter Mean 90% Interval Mean 90% Interval

Price RigidityPC Slope κ(ϕp) 0.02 [0.01, 0.04] 0.21 [0.12, 0.35]Price Asymmetry ψp 150 [130, 175] 165 [130, 192]

Wage RigidityWage Adj Costs ϕw 18.7 [8.47, 38.1] 11.7 [5.34, 20.2]Wage Asymmetry ψw 67.4 [33.2, 99.5] 59.4 [21.7, 90.9]

Φ(x) = ϕ

(exp(−ψ(x − x∗)) + ψ(x − x∗)− 1

ψ2

).

F. Schorfheide DSGE Model Nonlinearities

Page 23: DSGE Model Nonlinearities

Review: Perturbation Solution

State (si,t) and control (ci,t) variables evolve according to

ci,t = ψ1i (θ) + ψ2ij(θ)sj,t + ψ3ijk(θ)sj,tsk,t

sendi,t+1 = ζend

1i (θ) + ζend2ij (θ)sj,t + ζend

3ijk(θ)sj,tsk,t

sexoi,t+1 = ζexo

2i (θ)sexoi,t + ζexo

3i (θ)εi,t+1.

Perturbation solutions are easy to compute (DYNARE), improve accuracy near steadystate (though not necessarily globally).

BUT: are ψ3ijk(θ)sj,tsk,t and ζend3ijk(θ)sj,tsk,t consistent with data?

F. Schorfheide DSGE Model Nonlinearities

Page 24: DSGE Model Nonlinearities

Our Approach – Posterior Predictive Checks

Develop a nonlinear time series model that mimics structure of DSGE solution.

Compare estimates of this model based on actual data and DSGE model-generated data.

Alternative approaches:

Barnichon and Matthes (2016): create nonlinear benchmark or DSGE evaluation usingGaussian mixture approximation of moving ave. representation.

Ruge-Murcia (2016): indirect inference based on a VAR with higher-order terms and someDSGE model-implied zero restrictions.

Time-variation as / versus nonlinearity: literature on TVP VARs building on Cogley andSargent (2002, 2005) and Primiceri (2005); evidence from time-varying model weights as inDel Negro, Hasegawa, and Schorfheide (2016).

F. Schorfheide DSGE Model Nonlinearities

Page 25: DSGE Model Nonlinearities

A “Naive” Quadratic Autoregressive Model

Generalized autoregressive (GAR) models (e.g. Mittnik, 1990): add quadratic terms to astandard autoregressive:

yt = φ0 + φ1(yt−1 − φ0) + φ2(yt−1 − φ0)2 + σut

Unattractive features: (i) multiple steady states; (ii) explosive dynamics.

Δ yt

y**y*

Δ yt = (φ

1−1)y

t−1 + φ

2y2

t−1

yt−1

Problem is well-known in DSGE model solution literature −→ pruning, e.g., Kim, Kim,

Schaumburg, and Sims (2008), Lombardo (2010), Andreasen, Fernandez-Villaverde, and Rubio-Ramirez

(2016) (...).

F. Schorfheide DSGE Model Nonlinearities

Page 26: DSGE Model Nonlinearities

QAR(1,1): Specification

We set fuu = 0 to maintain a conditional Gaussian distribution and consider the system asa nonlinear state-space model:

yt = φ0 + φ1(yt−1 − φ0) + φ2s2t−1 + (1 + γst−1)σut

st = φ1st−1 + σut uti.i.d.∼ N (0, 1)

Important properties:

Conditional linear structure facilitates calculation of moments; see Andreasen et al.

Stationary if |φ1| < 1.

Nonlinear impulse responses and conditional heteroskedasticity.

F. Schorfheide DSGE Model Nonlinearities

Page 27: DSGE Model Nonlinearities

Relationship Between Nonlinear Dynamics and TVP Models

Write nonlinear model as

yt = f (yt−1) + σut = φ(yt−1)︸ ︷︷ ︸φt

yt−1 + σut .

Could treat the estimation of φ(yt−1) nonparametrically, e.g., with prior

φ(0) ∼ N(ρ, λ), φ(y)− φ(0) ∼ N(0, δ|y |

).

This is ex ante different from assuming that

yt = φtyt−1 + σut , φt = φt−1 + σηηt .

State (yt) dependence versus time dependence of φt .

F. Schorfheide DSGE Model Nonlinearities

Page 28: DSGE Model Nonlinearities

Estimation of QAR(1,1) Model on U.S. Data – Φ2

60−83 60−07 60−12 84−07 84−12−0.2

−0.1

0

0.1

0.2GDP Growth

φ2

60−83 60−07 60−12 84−07 84−12−0.2

−0.1

0

0.1

0.2Wage Growth

φ2

60−83 60−07 60−12 84−07 84−12−0.2

−0.1

0

0.1

0.2Inflation

φ2

60−83 60−07 60−12 84−07 84−12−0.4

−0.2

0

0.2Federal Funds Rate

φ2

yt = φ0 + φ1(yt−1 − φ0) + φ2s2t−1 + (1 + γst−1)σut , st = φ1st−1 + σut

F. Schorfheide DSGE Model Nonlinearities

Page 29: DSGE Model Nonlinearities

Estimation of QAR(1,1) Model on U.S. Data – γ

60−83 60−07 60−12 84−07 84−12

−0.2

−0.1

0

0.1

0.2

0.3GDP Growth

γ

60−83 60−07 60−12 84−07 84−12−0.1

0

0.1

0.2

0.3Wage Growth

γ

60−83 60−07 60−12 84−07 84−12−0.1

0

0.1

0.2

0.3

0.4Inflation

γ

60−83 60−07 60−12 84−07 84−12

0

0.2

0.4

Federal Funds Rate

γ

yt = φ0 + φ1(yt−1 − φ0) + φ2s2t−1 + (1 + γst−1)σut , st = φ1st−1 + σut

F. Schorfheide DSGE Model Nonlinearities

Page 30: DSGE Model Nonlinearities

Log Marginal Data Density Differentials: QAR(1,1) versus AR(1)

60−83 60−07 60−12 84−07 84−12−5

0

5

10

15

20GDP Growth

60−83 60−07 60−12 84−07 84−12−5

0

5

10

15

20Wage Growth

60−83 60−07 60−12 84−07 84−12−5

0

5

10

15

20Inflation

60−83 60−07 60−12 84−07 84−12−20

0

20

40

60

80Federal Funds Rate

F. Schorfheide DSGE Model Nonlinearities

Page 31: DSGE Model Nonlinearities

Some Properties: Impulse Responses of GDP Growth (in Absolute Terms),1984-2012 Sample

yt = 0.53 + 0.36(yt−1 − φ0)−0.09s2t−1 + (1−0.07st−1)0.28ut

st = 0.36st−1 + 0.28ut

F. Schorfheide DSGE Model Nonlinearities

Page 32: DSGE Model Nonlinearities

Posterior Predictive Checks

1960-2007 SampleGDP Wage Infl FFR0

5

10

φ0

GDP Wage Infl FFR0

0.5

1

φ1

GDP Wage Infl FFR−0.2

0

0.2

φ2

GDP Wage Infl FFR−0.2

0

0.2

γ

GDP Wage Infl FFR0

1

2

QAR estimates from actual and model-generated data are similar.Only interest rates exhibit noticeable differences.Except for wage and inflation γ, nonlinearities are generally weak.

1984-2007 SampleGDP Wage Infl FFR0

5

10

15

φ0

GDP Wage Infl FFR

0

0.5

1

φ1

GDP Wage Infl FFR−0.2

0

0.2

φ2

GDP Wage Infl FFR−0.2

0

0.2γ

GDP Wage Infl FFR0

1

Model does not generate nonlinearity (φ2) in GDP dynamics.

F. Schorfheide DSGE Model Nonlinearities

Page 33: DSGE Model Nonlinearities

Effect of Adjustment Costs on Nonlinearities: 1960-2007 Sample

Wage Infl

−0.1

−0.05

0

0.05

0.1

0.15φ2

Wage Infl−0.05

0

0.05

0.1

0.15

0.2

0.25

0.3γ

No asymmetric costs is ψp = ψw = 0 (light blue); high asymmetric costs is ψp = ψw = 300(dark blue). Large red dots correspond to posterior median estimates based on U.S. data.

F. Schorfheide DSGE Model Nonlinearities

Page 34: DSGE Model Nonlinearities

Summary of Empirical Results

Some nonlinearities in U.S. data:

Post 1983: output growth displays sharp declines and slow recoveries.

1960-2007: inflation and nominal wage growth display conditional heteroskedasticity.

Post 1983: downward adjustments in FFR seem to be easier than upward adjustments.

DSGE model captures some but not all nonlinearities:

Conditional heteroskedasticity in inflation and nominal wage growth through asymmetricadjustment costs that penalize downward movements.

But no nonlinearities in model-implied output growth and FFR.

F. Schorfheide DSGE Model Nonlinearities

Page 35: DSGE Model Nonlinearities

Conclusions

Literature on methods and applications for DSGE models is well and alive!

Significant progress in area of model solution and estimation techniques.

More work needed on the model assessment:

Do nonlinearities in one area of model correctly propagate to other areas?

Does model perform well in crisis times?

Are nonlinearities strong enough so that they are measurable in “short” samples?

F. Schorfheide DSGE Model Nonlinearities


Recommended