Dynamic stochastic general equilibrium models in Stata 15

Size: px
Start display at page:

Download "Dynamic stochastic general equilibrium models in Stata 15"

Transcription

1 Dynamic stochastic general equilibrium models in Stata 15 David Schenck Senior Econometrician Stata October 11, 2017 Schenck (Stata) DSGE October 11, / 25

2 Motivation Models used in macroeconomics for policy analysis Schenck (Stata) DSGE October 11, / 25

3 Motivation Models used in macroeconomics for policy analysis Suppose you want to understand the effect of some policy Schenck (Stata) DSGE October 11, / 25

4 Motivation Models used in macroeconomics for policy analysis Suppose you want to understand the effect of some policy You need a model Schenck (Stata) DSGE October 11, / 25

5 Motivation Models used in macroeconomics for policy analysis Suppose you want to understand the effect of some policy You need a model Dynamic Schenck (Stata) DSGE October 11, / 25

6 Motivation Models used in macroeconomics for policy analysis Suppose you want to understand the effect of some policy You need a model Dynamic Stochastic Schenck (Stata) DSGE October 11, / 25

7 Motivation Models used in macroeconomics for policy analysis Suppose you want to understand the effect of some policy You need a model Dynamic Stochastic General equilibrium Schenck (Stata) DSGE October 11, / 25

8 Motivation Models used in macroeconomics for policy analysis Suppose you want to understand the effect of some policy You need a model Dynamic Stochastic General equilibrium and you need to estimate the model parameters Schenck (Stata) DSGE October 11, / 25

9 Here s a model in words Consumers Consume and save output Take inflation and interest rate as given Schenck (Stata) DSGE October 11, / 25

10 Here s a model in words Consumers Consume and save output Take inflation and interest rate as given Producers Produce output and set prices Take demand as given Schenck (Stata) DSGE October 11, / 25

11 Here s a model in words Consumers Consume and save output Take inflation and interest rate as given Producers Produce output and set prices Take demand as given Central bank Sets interest rate Adjusts interest rate in response to inflation Schenck (Stata) DSGE October 11, / 25

12 Here s a model in words Consumers Consume and save output Take inflation and interest rate as given Producers Produce output and set prices Take demand as given Central bank Sets interest rate Adjusts interest rate in response to inflation In equilibrium, this is a model that simultaneously determines output, inflation, and the interest rate Schenck (Stata) DSGE October 11, / 25

13 Here s a model in equations I Consumers demand output (x t ), given inflation (π t ), the interest rate (r t ), and latent factors (z t ): x t = E t (x t+1 ) (r t E t (π t+1 ) z t ) Schenck (Stata) DSGE October 11, / 25

14 Here s a model in equations I Consumers demand output (x t ), given inflation (π t ), the interest rate (r t ), and latent factors (z t ): x t = E t (x t+1 ) (r t E t (π t+1 ) z t ) Producers set prices, given output demand: π t = βe t (π t+1 ) + κx t Schenck (Stata) DSGE October 11, / 25

15 Here s a model in equations I Consumers demand output (x t ), given inflation (π t ), the interest rate (r t ), and latent factors (z t ): x t = E t (x t+1 ) (r t E t (π t+1 ) z t ) Producers set prices, given output demand: π t = βe t (π t+1 ) + κx t Central bank sets interest rate, given inflation r t = 1 β π t + u t Schenck (Stata) DSGE October 11, / 25

16 Here s a model in equations II The model s endogenous variables are characterized by equations: x t = E t (x t+1 ) (r t E t (π t+1 ) z t ) π t = βe t (π t+1 ) + κx t r t = 1 β π t + u t Schenck (Stata) DSGE October 11, / 25

17 Here s a model in equations II The model s endogenous variables are characterized by equations: x t = E t (x t+1 ) (r t E t (π t+1 ) z t ) π t = βe t (π t+1 ) + κx t r t = 1 β π t + u t The model is completed by adding equations for the state variables: z t+1 = ρ z z t + ξ t+1 u t+1 = ρ u u t + ε t+1 Schenck (Stata) DSGE October 11, / 25

18 Here s a model in Stata The model equations: x t = E t (x t+1 ) (r t E t (π t+1 ) z t ) π t = βe t (π t+1 ) + κx t r t = 1 β π t + u t z t+1 = ρ z z t + ξ t+1 u t+1 = ρ u u t + ε t+1 Schenck (Stata) DSGE October 11, / 25

19 Here s a model in Stata The model equations: x t = E t (x t+1 ) (r t E t (π t+1 ) z t ) π t = βe t (π t+1 ) + κx t r t = 1 β π t + u t In Stata: z t+1 = ρ z z t + ξ t+1 u t+1 = ρ u u t + ε t+1. dsge (x = E(F.x) - (r - E(F.p) - z), unobserved) /// (p = {beta}*e(f.p) + {kappa}*x) /// (r = 1/{beta}*p + u) /// (F.z = {rhoz}*z, state) /// (F.u = {rhou}*u, state) Schenck (Stata) DSGE October 11, / 25

20 Data and data management We will use data on inflation and interest rates Available from the Federal Reserve Economic Database (FRED) repository. import fred GDPDEF FEDFUNDS, aggregate(quarterly, eop). generate dateq = qofd(daten). tsset dateq, quarterly. generate lprice = ln(gdpdef). generate p = 400*D.lprice. rename FEDFUNDS r Schenck (Stata) DSGE October 11, / 25

21 Data figure q3 1970q3 1985q3 2000q3 2015q3 Date (quarters) Growth rate of prices (GDPDEF) Federal funds rate (FEDFUNDS) Schenck (Stata) DSGE October 11, / 25

22 Parameter estimation. dsge (x = E(F.x) - (r - E(F.p) - z), unobserved) /// > (p = {beta}*e(f.p) + {kappa}*x) /// > (r = 1/{beta}*p + u) /// > (F.z = {rhoz}*z, state) /// > (F.u = {rhou}*u, state), nolog DSGE model Sample: 1955q1-2015q4 Number of obs = 244 Log likelihood = OIM Coef. Std. Err. z P> z [95% Conf. Interval] /structural beta kappa rhoz rhou sd(e.z) sd(e.u) Schenck (Stata) DSGE October 11, / 25

23 Policy questions What is the effect of an unexpected increase in interest rates? Estimated DSGE model provides an answer to this question. We can subject the model to a shock, then see how that shock feeds through the rest of the system. Schenck (Stata) DSGE October 11, / 25

24 Impulse response setup First we set up the impulse response file:. irf set dsge_irf. irf create model1 Schenck (Stata) DSGE October 11, / 25

25 Impulse response setup First we set up the impulse response file:. irf set dsge_irf. irf create model1 Then we draw the graph:. irf graph irf, impulse(u) response(x p r u) byopts(yrescale) yline(0) Schenck (Stata) DSGE October 11, / 25

26 Impulse responses from the estimated model 0 model1, u, p.6 model1, u, r model1, u, u 0 0 model1, u, x step Graphs by irfname, impulse, and response 95% CI impulse response function (irf) Schenck (Stata) DSGE October 11, / 25

27 Solving a DSGE Model Solution to a model is the key to estimation and generating impulse responses Schenck (Stata) DSGE October 11, / 25

28 Solving a DSGE Model Solution to a model is the key to estimation and generating impulse responses Solution expresses endogenous variables as a function of state variables alone Schenck (Stata) DSGE October 11, / 25

29 Viewing solution matrices You may wish to view the solution matrices Use the postestimation commands estat policy and estat transition. estat policy Policy matrix Delta-method Coef. Std. Err. z P> z [95% Conf. Interval] x p r z u z u z u Schenck (Stata) DSGE October 11, / 25

30 Predictions of observed variables We can use the DSGE model to generate one-step-ahead predictions of the observed variables. predict p_pred r_pred (option xb assumed; fitted values) Schenck (Stata) DSGE October 11, / 25

31 Prediction of inflation rate, p q3 1970q3 1985q3 2000q3 2015q3 Date (quarters) Growth rate of prices (GDPDEF) xb prediction, p, onestep Schenck (Stata) DSGE October 11, / 25

32 Prediction of interest rate, r q3 1970q3 1985q3 2000q3 2015q3 Date (quarters) Federal funds rate (FEDFUNDS) xb prediction, r, onestep Schenck (Stata) DSGE October 11, / 25

33 Predictions of latent states We can use the DSGE model to generate estimates of the latent states. predict z u, state Schenck (Stata) DSGE October 11, / 25

34 Prediction of latent demand state, z xb states prediction, z, onestep q3 1970q3 1985q3 2000q3 2015q3 Date (quarters) Schenck (Stata) DSGE October 11, / 25

35 Prediction of latent monetary state, u xb states prediction, u, onestep q3 1970q3 1985q3 2000q3 2015q3 Date (quarters) Schenck (Stata) DSGE October 11, / 25

36 Using constraints to fix some parameters You might want to fix some parameters and estimate others. x t = E t (x t+1 ) (r t E t (π t+1 ) z t ) π t = βe t (π t+1 ) + κx t r t = ψπ t + u t z t+1 = ρ z z t + ξ t+1 u t+1 = ρ u u t + ε t+1 (Output demand) (Pricing) (Interest rate) (Demand shock) (Monetary shock) New: the ψ parameter in the third equation. New: β no longer appears in multiple equations. Assume: you wish to fix β and estimate the remaining parameters conditional on your choice of β. Schenck (Stata) DSGE October 11, / 25

37 Constrained model in Stata. constraint 1 _b[beta]=0.96. dsge (x = E(F.x) - (r - E(F.p) - z), unobserved) /// (p = {beta}*e(f.p) + {kappa}*x) /// (r = {psi=1.5}*p + u) /// (F.z = {rhoz}*z, state) /// (F.u = {rhou}*u, state), constraint(1) nolog Schenck (Stata) DSGE October 11, / 25

38 Parameter estimation with constraints DSGE model Sample: 1955q1-2015q4 Number of obs = 244 Log likelihood = ( 1) [/structural]beta =.96 OIM Coef. Std. Err. z P> z [95% Conf. Interval] /structural beta.96 (constrained) kappa psi rhoz rhou sd(e.z) sd(e.u) Schenck (Stata) DSGE October 11, / 25

39 Conclusion dsge estimates the parameters of DSGE models Impulse response functions trace the effect of a shock on the model View the model s estimated reduced-form matrices Predictions of observable variables and latent states Constrained estimation Other features: solve a model at a particular parameter point (calibration), identification and stability diagnostics Schenck (Stata) DSGE October 11, / 25

40 Thank You! Schenck (Stata) DSGE October 11, / 25

Estimating dynamic stochastic general equilibrium models in Stata

Estimating dynamic stochastic general equilibrium models in Stata Estimating dynamic stochastic general equilibrium models in Stata David Schenck Senior Econometrician Stata 2017 Canadian Stata User Group Meeting June 9, 2017 Schenck (Stata) DSGE June 9, 2017 1 / 21

More information

Title. Description. Remarks and examples. stata.com. stata.com. Introduction to DSGE models. intro 1 Introduction to DSGEs and dsge

Title. Description. Remarks and examples. stata.com. stata.com. Introduction to DSGE models. intro 1 Introduction to DSGEs and dsge Title stata.com intro 1 Introduction to DSGEs and dsge Description Remarks and examples References Also see Description In this entry, we introduce DSGE models and the dsge command. We begin with an overview

More information

STATA LINEARIZED DYNAMIC STOCHASTIC GENERAL EQUILIBRIUM REFERENCE MANUAL

STATA LINEARIZED DYNAMIC STOCHASTIC GENERAL EQUILIBRIUM REFERENCE MANUAL STATA LINEARIZED DYNAMIC STOCHASTIC GENERAL EQUILIBRIUM REFERENCE MANUAL RELEASE 15 A Stata Press Publication StataCorp LLC College Station, Texas Copyright c 1985 2017 StataCorp LLC All rights reserved

More information

Postestimation commands predict estat Remarks and examples Stored results Methods and formulas

Postestimation commands predict estat Remarks and examples Stored results Methods and formulas Title stata.com mswitch postestimation Postestimation tools for mswitch Postestimation commands predict estat Remarks and examples Stored results Methods and formulas References Also see Postestimation

More information

Estimating Markov-switching regression models in Stata

Estimating Markov-switching regression models in Stata Estimating Markov-switching regression models in Stata Ashish Rajbhandari Senior Econometrician StataCorp LP Stata Conference 2015 Ashish Rajbhandari (StataCorp LP) Markov-switching regression Stata Conference

More information

Cointegration and Error-Correction

Cointegration and Error-Correction Chapter 9 Cointegration and Error-Correction In this chapter we will estimate structural VAR models that include nonstationary variables. This exploits the possibility that there could be a linear combination

More information

Signaling Effects of Monetary Policy

Signaling Effects of Monetary Policy Signaling Effects of Monetary Policy Leonardo Melosi London Business School 24 May 2012 Motivation Disperse information about aggregate fundamentals Morris and Shin (2003), Sims (2003), and Woodford (2002)

More information

A primer on Structural VARs

A primer on Structural VARs A primer on Structural VARs Claudia Foroni Norges Bank 10 November 2014 Structural VARs 1/ 26 Refresh: what is a VAR? VAR (p) : where y t K 1 y t = ν + B 1 y t 1 +... + B p y t p + u t, (1) = ( y 1t...

More information

S TICKY I NFORMATION Fabio Verona Bank of Finland, Monetary Policy and Research Department, Research Unit

S TICKY I NFORMATION Fabio Verona Bank of Finland, Monetary Policy and Research Department, Research Unit B USINESS C YCLE DYNAMICS UNDER S TICKY I NFORMATION Fabio Verona Bank of Finland, Monetary Policy and Research Department, Research Unit fabio.verona@bof.fi O BJECTIVE : analyze how and to what extent

More information

Inference Based on SVARs Identified with Sign and Zero Restrictions: Theory and Applications

Inference Based on SVARs Identified with Sign and Zero Restrictions: Theory and Applications Inference Based on SVARs Identified with Sign and Zero Restrictions: Theory and Applications Jonas Arias 1 Juan F. Rubio-Ramírez 2,3 Daniel F. Waggoner 3 1 Federal Reserve Board 2 Duke University 3 Federal

More information

A Journey to Latent Class Analysis (LCA)

A Journey to Latent Class Analysis (LCA) A Journey to Latent Class Analysis (LCA) Jeff Pitblado StataCorp LLC 2017 Nordic and Baltic Stata Users Group Meeting Stockholm, Sweden Outline Motivation by: prefix if clause suest command Factor variables

More information

Identifying the Monetary Policy Shock Christiano et al. (1999)

Identifying the Monetary Policy Shock Christiano et al. (1999) Identifying the Monetary Policy Shock Christiano et al. (1999) The question we are asking is: What are the consequences of a monetary policy shock a shock which is purely related to monetary conditions

More information

Macroeconomics II. Dynamic AD-AS model

Macroeconomics II. Dynamic AD-AS model Macroeconomics II Dynamic AD-AS model Vahagn Jerbashian Ch. 14 from Mankiw (2010) Spring 2018 Where we are heading to We will incorporate dynamics into the standard AD-AS model This will offer another

More information

Dynamic AD-AS model vs. AD-AS model Notes. Dynamic AD-AS model in a few words Notes. Notation to incorporate time-dimension Notes

Dynamic AD-AS model vs. AD-AS model Notes. Dynamic AD-AS model in a few words Notes. Notation to incorporate time-dimension Notes Macroeconomics II Dynamic AD-AS model Vahagn Jerbashian Ch. 14 from Mankiw (2010) Spring 2018 Where we are heading to We will incorporate dynamics into the standard AD-AS model This will offer another

More information

Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations

Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations Sungbae An Singapore Management University Bank Indonesia/BIS Workshop: STRUCTURAL DYNAMIC MACROECONOMIC MODELS IN ASIA-PACIFIC

More information

Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models

Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models Fall 22 Contents Introduction 2. An illustrative example........................... 2.2 Discussion...................................

More information

Vector Autogregression and Impulse Response Functions

Vector Autogregression and Impulse Response Functions Chapter 8 Vector Autogregression and Impulse Response Functions 8.1 Vector Autogregressions Consider two sequences {y t } and {z t }, where the time path of {y t } is affected by current and past realizations

More information

GMM Estimation in Stata

GMM Estimation in Stata GMM Estimation in Stata Econometrics I Department of Economics Universidad Carlos III de Madrid Master in Industrial Economics and Markets 1 Outline Motivation 1 Motivation 2 3 4 2 Motivation 3 Stata and

More information

Lecture#12. Instrumental variables regression Causal parameters III

Lecture#12. Instrumental variables regression Causal parameters III Lecture#12 Instrumental variables regression Causal parameters III 1 Demand experiment, market data analysis & simultaneous causality 2 Simultaneous causality Your task is to estimate the demand function

More information

Dynamic stochastic general equilibrium models. December 4, 2007

Dynamic stochastic general equilibrium models. December 4, 2007 Dynamic stochastic general equilibrium models December 4, 2007 Dynamic stochastic general equilibrium models Random shocks to generate trajectories that look like the observed national accounts. Rational

More information

Handout 12. Endogeneity & Simultaneous Equation Models

Handout 12. Endogeneity & Simultaneous Equation Models Handout 12. Endogeneity & Simultaneous Equation Models In which you learn about another potential source of endogeneity caused by the simultaneous determination of economic variables, and learn how to

More information

Autoregressive and Moving-Average Models

Autoregressive and Moving-Average Models Chapter 3 Autoregressive and Moving-Average Models 3.1 Introduction Let y be a random variable. We consider the elements of an observed time series {y 0,y 1,y2,...,y t } as being realizations of this randoms

More information

Introduction to Markov-switching regression models using the mswitch command

Introduction to Markov-switching regression models using the mswitch command Introduction to Markov-switching regression models using the mswitch command Gustavo Sánchez StataCorp May 18, 2016 Aguascalientes, México (StataCorp) Markov-switching regression in Stata May 18 1 / 1

More information

Modelling Czech and Slovak labour markets: A DSGE model with labour frictions

Modelling Czech and Slovak labour markets: A DSGE model with labour frictions Modelling Czech and Slovak labour markets: A DSGE model with labour frictions Daniel Němec Faculty of Economics and Administrations Masaryk University Brno, Czech Republic nemecd@econ.muni.cz ESF MU (Brno)

More information

Problem Set 4. Graduate Macro II, Spring 2011 The University of Notre Dame Professor Sims

Problem Set 4. Graduate Macro II, Spring 2011 The University of Notre Dame Professor Sims Problem Set 4 Graduate Macro II, Spring 2011 The University of Notre Dame Professor Sims Instructions: You may consult with other members of the class, but please make sure to turn in your own work. Where

More information

Point, Interval, and Density Forecast Evaluation of Linear versus Nonlinear DSGE Models

Point, Interval, and Density Forecast Evaluation of Linear versus Nonlinear DSGE Models Point, Interval, and Density Forecast Evaluation of Linear versus Nonlinear DSGE Models Francis X. Diebold Frank Schorfheide Minchul Shin University of Pennsylvania May 4, 2014 1 / 33 Motivation The use

More information

Case of single exogenous (iv) variable (with single or multiple mediators) iv à med à dv. = β 0. iv i. med i + α 1

Case of single exogenous (iv) variable (with single or multiple mediators) iv à med à dv. = β 0. iv i. med i + α 1 Mediation Analysis: OLS vs. SUR vs. ISUR vs. 3SLS vs. SEM Note by Hubert Gatignon July 7, 2013, updated November 15, 2013, April 11, 2014, May 21, 2016 and August 10, 2016 In Chap. 11 of Statistical Analysis

More information

Unemployment Rate Example

Unemployment Rate Example Unemployment Rate Example Find unemployment rates for men and women in your age bracket Go to FRED Categories/Population/Current Population Survey/Unemployment Rate Release Tables/Selected unemployment

More information

Y t = log (employment t )

Y t = log (employment t ) Advanced Macroeconomics, Christiano Econ 416 Homework #7 Due: November 21 1. Consider the linearized equilibrium conditions of the New Keynesian model, on the slide, The Equilibrium Conditions in the handout,

More information

Stochastic simulations with DYNARE. A practical guide.

Stochastic simulations with DYNARE. A practical guide. Stochastic simulations with DYNARE. A practical guide. Fabrice Collard (GREMAQ, University of Toulouse) Adapted for Dynare 4.1 by Michel Juillard and Sébastien Villemot (CEPREMAP) First draft: February

More information

A Primer on Vector Autoregressions

A Primer on Vector Autoregressions A Primer on Vector Autoregressions Ambrogio Cesa-Bianchi VAR models 1 [DISCLAIMER] These notes are meant to provide intuition on the basic mechanisms of VARs As such, most of the material covered here

More information

9) Time series econometrics

9) Time series econometrics 30C00200 Econometrics 9) Time series econometrics Timo Kuosmanen Professor Management Science http://nomepre.net/index.php/timokuosmanen 1 Macroeconomic data: GDP Inflation rate Examples of time series

More information

Perceived productivity and the natural rate of interest

Perceived productivity and the natural rate of interest Perceived productivity and the natural rate of interest Gianni Amisano and Oreste Tristani European Central Bank IRF 28 Frankfurt, 26 June Amisano-Tristani (European Central Bank) Productivity and the

More information

David M. Drukker Italian Stata Users Group meeting 15 November Executive Director of Econometrics Stata

David M. Drukker Italian Stata Users Group meeting 15 November Executive Director of Econometrics Stata Estimating the ATE of an endogenously assigned treatment from a sample with endogenous selection by regression adjustment using an extended regression models David M. Drukker Executive Director of Econometrics

More information

Nonperforming Loans and Rules of Monetary Policy

Nonperforming Loans and Rules of Monetary Policy Nonperforming Loans and Rules of Monetary Policy preliminary and incomplete draft: any comment will be welcome Emiliano Brancaccio Università degli Studi del Sannio Andrea Califano andrea.califano@iusspavia.it

More information

Soc 63993, Homework #7 Answer Key: Nonlinear effects/ Intro to path analysis

Soc 63993, Homework #7 Answer Key: Nonlinear effects/ Intro to path analysis Soc 63993, Homework #7 Answer Key: Nonlinear effects/ Intro to path analysis Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised February 20, 2015 Problem 1. The files

More information

A Theory of Data-Oriented Identification with a SVAR Application

A Theory of Data-Oriented Identification with a SVAR Application A Theory of Data-Oriented Identification with a SVAR Application Nikolay Arefiev Higher School of Economics August 20, 2015 The 11th World Congress of the Econometric Society, Montréal, Canada and August

More information

Monetary and Exchange Rate Policy Under Remittance Fluctuations. Technical Appendix and Additional Results

Monetary and Exchange Rate Policy Under Remittance Fluctuations. Technical Appendix and Additional Results Monetary and Exchange Rate Policy Under Remittance Fluctuations Technical Appendix and Additional Results Federico Mandelman February In this appendix, I provide technical details on the Bayesian estimation.

More information

10) Time series econometrics

10) Time series econometrics 30C00200 Econometrics 10) Time series econometrics Timo Kuosmanen Professor, Ph.D. 1 Topics today Static vs. dynamic time series model Suprious regression Stationary and nonstationary time series Unit

More information

ECON 594: Lecture #6

ECON 594: Lecture #6 ECON 594: Lecture #6 Thomas Lemieux Vancouver School of Economics, UBC May 2018 1 Limited dependent variables: introduction Up to now, we have been implicitly assuming that the dependent variable, y, was

More information

The Dark Corners of the Labor Market

The Dark Corners of the Labor Market The Dark Corners of the Labor Market Vincent Sterk Conference on Persistent Output Gaps: Causes and Policy Remedies EABCN / University of Cambridge / INET University College London September 2015 Sterk

More information

Dealing With and Understanding Endogeneity

Dealing With and Understanding Endogeneity Dealing With and Understanding Endogeneity Enrique Pinzón StataCorp LP October 20, 2016 Barcelona (StataCorp LP) October 20, 2016 Barcelona 1 / 59 Importance of Endogeneity Endogeneity occurs when a variable,

More information

Recurent Hyperinflations and Learning

Recurent Hyperinflations and Learning 1 / 17 Recurent Hyperinflations and Learning Albert Marcet and Juan P. Nicolini (AER,2003) Manuel M. Mosquera T. UC3M November 24, 2015 2 / 17 Motivation of Literature Expectations play a key role in macroeconomics

More information

A Dynamic Model of Aggregate Demand and Aggregate Supply

A Dynamic Model of Aggregate Demand and Aggregate Supply A Dynamic Model of Aggregate Demand and Aggregate Supply 1 Introduction Theoritical Backround 2 3 4 I Introduction Theoritical Backround The model emphasizes the dynamic nature of economic fluctuations.

More information

DSGE Model Forecasting

DSGE Model Forecasting University of Pennsylvania EABCN Training School May 1, 216 Introduction The use of DSGE models at central banks has triggered a strong interest in their forecast performance. The subsequent material draws

More information

Latent class analysis and finite mixture models with Stata

Latent class analysis and finite mixture models with Stata Latent class analysis and finite mixture models with Stata Isabel Canette Principal Mathematician and Statistician StataCorp LLC 2017 Stata Users Group Meeting Madrid, October 19th, 2017 Introduction Latent

More information

Decomposing the effects of the updates in the framework for forecasting

Decomposing the effects of the updates in the framework for forecasting Decomposing the effects of the updates in the framework for forecasting Zuzana Antoničová František Brázdik František Kopřiva Abstract In this paper, we develop a forecasting decomposition analysis framework

More information

Introduction to Numerical Methods

Introduction to Numerical Methods Introduction to Numerical Methods Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan "D", "S", & "GE" Dynamic Stochastic General Equilibrium What is missing in the abbreviation? DSGE

More information

GCOE Discussion Paper Series

GCOE Discussion Paper Series GCOE Discussion Paper Series Global COE Program Human Behavior and Socioeconomic Dynamics Discussion Paper No.34 Inflation Inertia and Optimal Delegation of Monetary Policy Keiichi Morimoto February 2009

More information

Introduction to Coding DSGE Models with Dynare

Introduction to Coding DSGE Models with Dynare Introduction to Coding DSGE Models with Macroeconomic Theory (MA1213) Juha Kilponen Bank of Finland Additional Material for Lecture 3, January 23, 2013 is preprocessor and a collection of Matlab (and GNU

More information

A Discussion of Arouba, Cuba-Borda and Schorfheide: Macroeconomic Dynamics Near the ZLB: A Tale of Two Countries"

A Discussion of Arouba, Cuba-Borda and Schorfheide: Macroeconomic Dynamics Near the ZLB: A Tale of Two Countries A Discussion of Arouba, Cuba-Borda and Schorfheide: Macroeconomic Dynamics Near the ZLB: A Tale of Two Countries" Morten O. Ravn, University College London, Centre for Macroeconomics and CEPR M.O. Ravn

More information

Description Remarks and examples Reference Also see

Description Remarks and examples Reference Also see Title stata.com example 20 Two-factor measurement model by group Description Remarks and examples Reference Also see Description Below we demonstrate sem s group() option, which allows fitting models in

More information

MFx Macroeconomic Forecasting

MFx Macroeconomic Forecasting MFx Macroeconomic Forecasting Structural Vector Autoregressive Models Part II IMFx This training material is the property of the International Monetary Fund (IMF) and is intended for use in IMF Institute

More information

APPENDIX TO RESERVE REQUIREMENTS AND OPTIMAL CHINESE STABILIZATION POLICY

APPENDIX TO RESERVE REQUIREMENTS AND OPTIMAL CHINESE STABILIZATION POLICY APPENDIX TO RESERVE REQUIREMENTS AND OPTIMAL CHINESE STABILIZATION POLICY CHUN CHANG ZHENG LIU MARK M. SPIEGEL JINGYI ZHANG Abstract. This appendix shows some additional details of the model and equilibrium

More information

Building and simulating DSGE models part 2

Building and simulating DSGE models part 2 Building and simulating DSGE models part II DSGE Models and Real Life I. Replicating business cycles A lot of papers consider a smart calibration to replicate business cycle statistics (e.g. Kydland Prescott).

More information

Lecture 15. Dynamic Stochastic General Equilibrium Model. Randall Romero Aguilar, PhD I Semestre 2017 Last updated: July 3, 2017

Lecture 15. Dynamic Stochastic General Equilibrium Model. Randall Romero Aguilar, PhD I Semestre 2017 Last updated: July 3, 2017 Lecture 15 Dynamic Stochastic General Equilibrium Model Randall Romero Aguilar, PhD I Semestre 2017 Last updated: July 3, 2017 Universidad de Costa Rica EC3201 - Teoría Macroeconómica 2 Table of contents

More information

Latent variables and shocks contribution in DSGE models with occasionally binding constraints

Latent variables and shocks contribution in DSGE models with occasionally binding constraints Latent variables and shocks contribution in DSGE models with occasionally binding constraints May 29, 2016 1 Marco Ratto, Massimo Giovannini (European Commission, Joint Research Centre) We implement an

More information

Animal Spirits, Fundamental Factors and Business Cycle Fluctuations

Animal Spirits, Fundamental Factors and Business Cycle Fluctuations Animal Spirits, Fundamental Factors and Business Cycle Fluctuations Stephane Dées Srečko Zimic Banque de France European Central Bank January 6, 218 Disclaimer Any views expressed represent those of the

More information

Instrumental Variables, Simultaneous and Systems of Equations

Instrumental Variables, Simultaneous and Systems of Equations Chapter 6 Instrumental Variables, Simultaneous and Systems of Equations 61 Instrumental variables In the linear regression model y i = x iβ + ε i (61) we have been assuming that bf x i and ε i are uncorrelated

More information

Interest Rate Determination & the Taylor Rule JARED BERRY & JAIME MARQUEZ JOHNS HOPKINS SCHOOL OF ADVANCED INTERNATIONAL STUDIES JANURY 2017

Interest Rate Determination & the Taylor Rule JARED BERRY & JAIME MARQUEZ JOHNS HOPKINS SCHOOL OF ADVANCED INTERNATIONAL STUDIES JANURY 2017 Interest Rate Determination & the Taylor Rule JARED BERRY & JAIME MARQUEZ JOHNS HOPKINS SCHOOL OF ADVANCED INTERNATIONAL STUDIES JANURY 2017 Monetary Policy Rules Policy rules form part of the modern approach

More information

Discussion Global Dynamics at the Zero Lower Bound

Discussion Global Dynamics at the Zero Lower Bound Discussion Global Dynamics at the Zero Lower Bound Brent Bundick Federal Reserve Bank of Kansas City April 4 The opinions expressed in this discussion are those of the author and do not reflect the views

More information

What You Match Does Matter: The Effects of Data on DSGE Estimation

What You Match Does Matter: The Effects of Data on DSGE Estimation Discussion of What You Match Does Matter: The Effects of Data on DSGE Estimation by Pablo Guerron-Quintana Marc Giannoni Columbia University, NBER and CEPR Workshop on Methods and Applications for DSGE

More information

Introduction to Econometrics

Introduction to Econometrics Introduction to Econometrics STAT-S-301 Introduction to Time Series Regression and Forecasting (2016/2017) Lecturer: Yves Dominicy Teaching Assistant: Elise Petit 1 Introduction to Time Series Regression

More information

New Keynesian Macroeconomics

New Keynesian Macroeconomics New Keynesian Macroeconomics Chapter 4: The New Keynesian Baseline Model (continued) Prof. Dr. Kai Carstensen Ifo Institute for Economic Research and LMU Munich May 21, 212 Prof. Dr. Kai Carstensen (LMU

More information

Nonlinear DSGE model with Asymmetric Adjustment Costs under ZLB:

Nonlinear DSGE model with Asymmetric Adjustment Costs under ZLB: Nonlinear DSGE model with Asymmetric Adjustment Costs under ZLB: Bayesian Estimation with Particle Filter for Japan Hirokuni Iiboshi Tokyo Metropolitan University Economic and Social Research Institute,

More information

Estimating a Nonlinear New Keynesian Model with the Zero Lower Bound for Japan

Estimating a Nonlinear New Keynesian Model with the Zero Lower Bound for Japan Estimating a Nonlinear New Keynesian Model with the Zero Lower Bound for Japan Hirokuni Iiboshi 1, Mototsugu Shintani 2, Kozo Ueda 3 August 218 @ EEA-ESEM 1 Tokyo Metropolitan University 2 University of

More information

DSGE-Models. Calibration and Introduction to Dynare. Institute of Econometrics and Economic Statistics

DSGE-Models. Calibration and Introduction to Dynare. Institute of Econometrics and Economic Statistics DSGE-Models Calibration and Introduction to Dynare Dr. Andrea Beccarini Willi Mutschler, M.Sc. Institute of Econometrics and Economic Statistics willi.mutschler@uni-muenster.de Summer 2012 Willi Mutschler

More information

Monetary Policy Regimes and Economic Performance: The Historical Record,

Monetary Policy Regimes and Economic Performance: The Historical Record, Monetary Policy Regimes and Economic Performance: The Historical Record, 1979-2008 Luca Benati Charles Goodhart European Central Bank London School of Economics Conference on: Key developments in monetary

More information

Learning, Expectations, and Endogenous Business Cycles

Learning, Expectations, and Endogenous Business Cycles Learning, Expectations, and Endogenous Business Cycles I.S.E.O. Summer School June 19, 2013 Introduction A simple model Simulations Stability Monetary Policy What s next Who we are Two students writing

More information

Extracting Rational Expectations Model Structural Matrices from Dynare

Extracting Rational Expectations Model Structural Matrices from Dynare Extracting Rational Expectations Model Structural Matrices from Dynare Callum Jones New York University In these notes I discuss how to extract the structural matrices of a model from its Dynare implementation.

More information

i (x i x) 2 1 N i x i(y i y) Var(x) = P (x 1 x) Var(x)

i (x i x) 2 1 N i x i(y i y) Var(x) = P (x 1 x) Var(x) ECO 6375 Prof Millimet Problem Set #2: Answer Key Stata problem 2 Q 3 Q (a) The sample average of the individual-specific marginal effects is 0039 for educw and -0054 for white Thus, on average, an extra

More information

Econometría 2: Análisis de series de Tiempo

Econometría 2: Análisis de series de Tiempo Econometría 2: Análisis de series de Tiempo Karoll GOMEZ kgomezp@unal.edu.co http://karollgomez.wordpress.com Segundo semestre 2016 IX. Vector Time Series Models VARMA Models A. 1. Motivation: The vector

More information

Estimating Macroeconomic Models: A Likelihood Approach

Estimating Macroeconomic Models: A Likelihood Approach Estimating Macroeconomic Models: A Likelihood Approach Jesús Fernández-Villaverde University of Pennsylvania, NBER, and CEPR Juan Rubio-Ramírez Federal Reserve Bank of Atlanta Estimating Dynamic Macroeconomic

More information

BEAR 4.2. Introducing Stochastic Volatility, Time Varying Parameters and Time Varying Trends. A. Dieppe R. Legrand B. van Roye ECB.

BEAR 4.2. Introducing Stochastic Volatility, Time Varying Parameters and Time Varying Trends. A. Dieppe R. Legrand B. van Roye ECB. BEAR 4.2 Introducing Stochastic Volatility, Time Varying Parameters and Time Varying Trends A. Dieppe R. Legrand B. van Roye ECB 25 June 2018 The views expressed in this presentation are the authors and

More information

ECON 4160: Econometrics-Modelling and Systems Estimation Lecture 9: Multiple equation models II

ECON 4160: Econometrics-Modelling and Systems Estimation Lecture 9: Multiple equation models II ECON 4160: Econometrics-Modelling and Systems Estimation Lecture 9: Multiple equation models II Ragnar Nymoen Department of Economics University of Oslo 9 October 2018 The reference to this lecture is:

More information

The Natural Rate of Interest and its Usefulness for Monetary Policy

The Natural Rate of Interest and its Usefulness for Monetary Policy The Natural Rate of Interest and its Usefulness for Monetary Policy Robert Barsky, Alejandro Justiniano, and Leonardo Melosi Online Appendix 1 1 Introduction This appendix describes the extended DSGE model

More information

Testing methodology. It often the case that we try to determine the form of the model on the basis of data

Testing methodology. It often the case that we try to determine the form of the model on the basis of data Testing methodology It often the case that we try to determine the form of the model on the basis of data The simplest case: we try to determine the set of explanatory variables in the model Testing for

More information

Vector Autoregressions as a Guide to Constructing Dynamic General Equilibrium Models

Vector Autoregressions as a Guide to Constructing Dynamic General Equilibrium Models Vector Autoregressions as a Guide to Constructing Dynamic General Equilibrium Models by Lawrence J. Christiano, Martin Eichenbaum and Robert Vigfusson 1 Background We Use VAR Impulse Response Functions

More information

Douglas Laxton Economic Modeling Division January 30, 2014

Douglas Laxton Economic Modeling Division January 30, 2014 Douglas Laxton Economic Modeling Division January 30, 2014 The GPM Team Produces quarterly projections before each WEO WEO numbers are produced by the country experts in the area departments Models used

More information

The Neo Fisher Effect and Exiting a Liquidity Trap

The Neo Fisher Effect and Exiting a Liquidity Trap The Neo Fisher Effect and Exiting a Liquidity Trap Stephanie Schmitt-Grohé and Martín Uribe Columbia University European Central Bank Conference on Monetary Policy Frankfurt am Main, October 29-3, 218

More information

CREDIT SEARCH AND CREDIT CYCLES

CREDIT SEARCH AND CREDIT CYCLES CREDIT SEARCH AND CREDIT CYCLES Feng Dong Pengfei Wang Yi Wen Shanghai Jiao Tong U Hong Kong U Science and Tech STL Fed & Tsinghua U May 215 The usual disclaim applies. Motivation The supply and demand

More information

Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework

Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework Dongpeng Liu Nanjing University Sept 2016 D. Liu (NJU) Solving D(S)GE 09/16 1 / 63 Introduction Targets of the

More information

Money in the utility model

Money in the utility model Money in the utility model Monetary Economics Michaª Brzoza-Brzezina Warsaw School of Economics 1 / 59 Plan of the Presentation 1 Motivation 2 Model 3 Steady state 4 Short run dynamics 5 Simulations 6

More information

News-Shock Subroutine for Prof. Uhlig s Toolkit

News-Shock Subroutine for Prof. Uhlig s Toolkit News-Shock Subroutine for Prof. Uhlig s Toolkit KENGO NUTAHARA Graduate School of Economics, University of Tokyo, and the JSPS Research Fellow ee67003@mail.ecc.u-tokyo.ac.jp Revised: October 23, 2007 (Fisrt

More information

Lars Svensson 2/16/06. Y t = Y. (1) Assume exogenous constant government consumption (determined by government), G t = G<Y. (2)

Lars Svensson 2/16/06. Y t = Y. (1) Assume exogenous constant government consumption (determined by government), G t = G<Y. (2) Eco 504, part 1, Spring 2006 504_L3_S06.tex Lars Svensson 2/16/06 Specify equilibrium under perfect foresight in model in L2 Assume M 0 and B 0 given. Determine {C t,g t,y t,m t,b t,t t,r t,i t,p t } that

More information

Autoregressive models with distributed lags (ADL)

Autoregressive models with distributed lags (ADL) Autoregressive models with distributed lags (ADL) It often happens than including the lagged dependent variable in the model results in model which is better fitted and needs less parameters. It can be

More information

Can News be a Major Source of Aggregate Fluctuations?

Can News be a Major Source of Aggregate Fluctuations? Can News be a Major Source of Aggregate Fluctuations? A Bayesian DSGE Approach Ippei Fujiwara 1 Yasuo Hirose 1 Mototsugu 2 1 Bank of Japan 2 Vanderbilt University August 4, 2009 Contributions of this paper

More information

Monetary Policy and Unemployment: A New Keynesian Perspective

Monetary Policy and Unemployment: A New Keynesian Perspective Monetary Policy and Unemployment: A New Keynesian Perspective Jordi Galí CREI, UPF and Barcelona GSE April 215 Jordi Galí (CREI, UPF and Barcelona GSE) Monetary Policy and Unemployment April 215 1 / 16

More information

Treatment interactions with nonexperimental data in Stata

Treatment interactions with nonexperimental data in Stata The Stata Journal (2011) 11, umber4,pp.1 11 Treatment interactions with nonexperimental data in Stata Graham K. Brown Centre for Development Studies University of Bath Bath, UK g.k.brown@bath.ac.uk Thanos

More information

LECTURE 3 The Effects of Monetary Changes: Statistical Identification. September 5, 2018

LECTURE 3 The Effects of Monetary Changes: Statistical Identification. September 5, 2018 Economics 210c/236a Fall 2018 Christina Romer David Romer LECTURE 3 The Effects of Monetary Changes: Statistical Identification September 5, 2018 I. SOME BACKGROUND ON VARS A Two-Variable VAR Suppose the

More information

The Price Puzzle: Mixing the Temporary and Permanent Monetary Policy Shocks.

The Price Puzzle: Mixing the Temporary and Permanent Monetary Policy Shocks. The Price Puzzle: Mixing the Temporary and Permanent Monetary Policy Shocks. Ida Wolden Bache Norges Bank Kai Leitemo Norwegian School of Management BI September 2, 2008 Abstract We argue that the correct

More information

Reply to Manovskii s Discussion on The Limited Macroeconomic Effects of Unemployment Benefit Extensions

Reply to Manovskii s Discussion on The Limited Macroeconomic Effects of Unemployment Benefit Extensions Reply to Manovskii s Discussion on The Limited Macroeconomic Effects of Unemployment Benefit Extensions Gabriel Chodorow-Reich Harvard University and NBER Loukas Karabarbounis University of Minnesota and

More information

Autocorrelation. Think of autocorrelation as signifying a systematic relationship between the residuals measured at different points in time

Autocorrelation. Think of autocorrelation as signifying a systematic relationship between the residuals measured at different points in time Autocorrelation Given the model Y t = b 0 + b 1 X t + u t Think of autocorrelation as signifying a systematic relationship between the residuals measured at different points in time This could be caused

More information

Economics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011

Economics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011 Department of Economics University of Maryland Economics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011 Objective As a stepping stone to learning how to work with and computationally

More information

A. Recursively orthogonalized. VARs

A. Recursively orthogonalized. VARs Orthogonalized VARs A. Recursively orthogonalized VAR B. Variance decomposition C. Historical decomposition D. Structural interpretation E. Generalized IRFs 1 A. Recursively orthogonalized Nonorthogonal

More information

12 TH RESEARCH MEETING OF NIPFP-DEA RESEARCH PROGRAMME

12 TH RESEARCH MEETING OF NIPFP-DEA RESEARCH PROGRAMME AN UNOBSERVED COMPONENTS PHILLIPS CURVE FOR INDIA 12 TH RESEARCH MEETING OF NIPFP-DEA RESEARCH PROGRAMME Ananya Kotia University of Oxford March 2014 UC Phillips Curve for India 1 TABLE OF CONTENTS 1 What

More information

Session 2 Working with Dynare

Session 2 Working with Dynare Session 2 Working with Dynare Seminar: Macroeconomics and International Economics Philipp Wegmüller UniBern Spring 2015 Philipp Wegmüller (UniBern) Session 2 Working with Dynare Spring 2015 1 / 20 Dynare

More information

Lecture 4 The Centralized Economy: Extensions

Lecture 4 The Centralized Economy: Extensions Lecture 4 The Centralized Economy: Extensions Leopold von Thadden University of Mainz and ECB (on leave) Advanced Macroeconomics, Winter Term 2013 1 / 36 I Motivation This Lecture considers some applications

More information

Learning about Monetary Policy using (S)VARs? Some Pitfalls and Possible Solutions

Learning about Monetary Policy using (S)VARs? Some Pitfalls and Possible Solutions Learning about Monetary Policy using (S)VARs? Some Pitfalls and Possible Solutions Michal Andrle and Jan Brůha Interim: B4/13, April 214 Michal Andrle: The views expressed herein are those of the authors

More information

Inference when identifying assumptions are doubted. A. Theory B. Applications

Inference when identifying assumptions are doubted. A. Theory B. Applications Inference when identifying assumptions are doubted A. Theory B. Applications 1 A. Theory Structural model of interest: A y t B 1 y t1 B m y tm u t nn n1 u t i.i.d. N0, D D diagonal 2 Bayesian approach:

More information