News-Shock Subroutine for “Prof. Uhlig’s Toolkit” ∗ K N Graduate School of Economics, University of Tokyo, and the JSPS Research Fellow [email protected] Revised: October 23, 2007 (Fisrt draft: October 7, 2007)

Abstract The roles of “news shocks” in dynamic general equilibrium models have been highlighted since Beaudry and Portier (2004). In this paper, we explain how to use “news-shock subroutine for Prof. Uhlig’s toolkit.” This subroutine can make to calculate the responses to news-shock easily. Users of the toolkit by Professor Harald Uhlig can do the news-shock experiments by this subroutine.

1

Introduction

The roles of news about future, “news shocks,” in dynamic general equilibrium models (DGE models, hereafter) have been highlighted since Beaudry and Portier (2004). Especially, economists have made many efforts to construct models that can generate the Pigou cycles:1 the news about future causes the boom at the current period.2 It is well known that the simple RBC model cannot generate the Pigou cycles. In this paper, we explain how to use “news-shock subroutine for Prof. Uhlig’s toolkit.” This subroutine can make to calculate the responses to news-shock easily. The toolkit by Professor Harald Uhlig (Prof. Uhlig’s, toolkit hereafter) is often used to solve the non-linear dynamic general equilibrium model by the linear approximation. Users of Prof. Uhlig’s toolkit3 can do the news-shock experiments by this subroutine. The organization of this recipe is as follows. In the next section, we describe the files contained in “news shock kit.zip,” and explain how to use it briefly. In Section 3, we describe the analytical explanation for the calculation of the responses to news shocks. The application ∗

I would like to thank Tomoyuki Nakajima, Keiichiro Kobayashi, and Masaru Inaba and for helpful comments. I would also thank to Harald Uhlig and members of the toolkit news group for the development of an excellent toolkit. The latest version of this file and the subroutine file are downlodable from my website: “http://kengo.nutahara.googlepages.com/” 1 Some economists call this phenomenon various names: the news-driven cycle, the expectations-driven cycle, the boom-bust cycle, and so on. 2 As recent papers, see Christiano, Motto and Rostagno (2006), Jaimovich and Rebelo (2006), Kobayashi, Nakajima and Inaba (2007), Kobayashi and Nutahara (2007), and so on. 3 Prof. Uhlig’s toolkit is downloadable from “http://www2.wiwi.hu-berlin.de/institute/wpol/html/toolkit.htm.”

1

“N-S S  P. U’ T”

K N (U-T / JSPS)

to simple RBC model is shown in Section 4. Section 5 applies our toolkit to the model of Kobayashi and Nutahara (2007) which can produce Pigou cycle; the news about future causes a boom at the current period.

2

How to Use

The files contained the zip file “news shock kit.zip” are followings: ¶

³

1. “do news shock.m”: the subroutine file for the news shock experiments. This file calculate the responses to news shocks, and draw graphs. 2. “manual news.pdf”: you are reading it now! 3. “example1-simpleRBC”(folder): the application of do news shock.m to the simple RBC model. 4. “example2-Kobayashi-Nutahara2007”(folder): the application of do news shock.m to the model of Kobayashi and Nutahara (2007). µ

´

It is quite easy to use the news-shock subroutine. Users of “Prof. Uhlig’s toolkit” can do newsshock experiments just replacing “do it” by “do news shock” in their matlab codes! Generally, user should do the followings: ¶

³

1. Define the matrices A, B, C, D, F, G, H, J, K, L, M, and N for (1), (2) and (3). 2. Assign names of variables to VARNAMES, and GNP INDEX. 3. Set PERIOD. It is 1, 4, and 12 if the model is specified to annual, quarterly, and monthly one, respectively. 4. (If you want to change) Set options: NEWS LAG, NEWS SIM HORIZON, and NEWS NUM. 5. Write “do news shock” in your matlab code! µ

´

The followings are options for news-shock subroutine; 1. NEWS LAG: after ”NEWS LAG” periods, the news realizes (default; 1 year) 2. NEWS SIM HORIZON : horizon (periods) for news shock experiments in the graph (default; 5 year) 3. NEWS NUM : news is about ”NEWS NUM”-th exogenous variable (default; 1) Specifying these options, users can do many types of news-shock experiments. Some users might have motivations to produce the original figure from the results of this subroutine. The main output variables are as follows. • xtil 1: simulated endogenous variables if the news turns to be false. (The rows mean variables, and the columns mean periods. The order of the variables is the same as in VARNAMES.) • xtil 2: simulated endogenous variables if the news is correct. 2

“N-S S  P. U’ T”

K N (U-T / JSPS)

• ztil 2: simulated exogenous variables if the news is correct. • qtr: horizontal axis for the graph.

3 Theory for News-Shock Experiments Here, we explain how to compute the responses to news shocks. Our strategy is as follows. 1. Use the policy functions for the model without news shocks. 2. Use the equilibrium system, calculate the (variant) policy functions with news shocks for each periods. This process is the same as in “do news shock.m”.

3.1 Linearized System and Policy Functions without News Shocks First, we employ the log-linear approximation to approximate the de-trended equilibrium system. Following Uhlig (1999), the matrix representation of the linearized equilibrium system without news shocks is Axt + Bxt−1 + Cyt + Dzt = 0,   Et Fxt+1 + Gxt + Hxt−1 + Jyt+1 + Kyt + Lzt+1 + M zt = 0,   zt+1 = N zt + εt+1 , Et εt+1 = 0,

(1) (2) (3)

where xt , yt , and zt denote vectors of endogenous state variables, endogenous jump variables, and exogenous variables, respectively. By the method of Uhlig (1999), we obtain the policy functions; xt = Pxt−1 + Qzt , yt = Rxt−1 + Szt .

(4) (5)

For our news-shock experiments, we introduce the more simple form of the equilibrium system and the policy functions. (1) and (2) can be summarized as follows:   ˜ ˜ ˜ ˜ ˜ Et F x˜ t+1 + G x˜ t + H x˜ t−1 + Lzt+1 + M zt = 0, (6) where

" x˜ t =

xt yt

#

" ,

F˜ =

0 0 F J

#

" ,

˜ = G

# A C , G K

"

# 0 , L

L˜ =

" ˜ = M

# D . M

(7)

Similar to this, (4) and (5) can be summarized as follows: ˜ t, x˜ t = P˜ x˜ t−1 + Qz where

" x˜ t =

xt yt

#

" ,

P˜ =

# P 0 , R 0 3

(8) " Q˜ =

# Q , S

(9)

“N-S S  P. U’ T”

K N (U-T / JSPS)

3.2 Policy Functions with News Shocks Our news-shock experiment is the same as Christiano, Motto and Rostagno (2005). The procedure is the followings; 1. For t < T a , the economy is at the steady-state. 2. At t = T a , news arrives; zTb = z¯ , 0 occurs at T b . 3. At t = T b , agents know that news is correct or not. The important point is that the policy functions with news shocks are variant. For t = T b , since there is no news shock, the policy functions are ˜ Tb . x˜ Tb = P˜ x˜ Tb −1 + Qz

(10)

We obtain the policy functions in a backward way using (10) and (6). At t = T b −1, (6) becomes   ˜ ˜ ˜ ˜ ˜ ETb −1 F x˜ Tb + G x˜ Tb −1 + H x˜ Tb −2 + LzTb + M zTb −1 = 0,   ˜ ˜ x˜ Tb −1 + H ˜ ˜ ˜ x˜ Tb −2 + L¯ ˜ z = 0. ⇐⇒ F P x˜ Tb −1 + Q¯z + G (11) Then, the policy functions for t = T b − 1 are x˜ Tb −1 = W Tb −1 x˜ T b−2 + V Tb −1 z¯ .

(12)

where 

−1 ˜ ˜ ˜ ˜ W Tb −1 = − F P + G H,  −1   ˜ ˜ ˜ ˜ ˜ ˜ V Tb −1 = − F P + G FQ + L .

(13) (14)

For t = T b − 2, (6) is 

 ˜ ˜ ˜ ˜ ˜ Et F x˜ t+1 + G x˜ t + H x˜ t−1 + L˜zt+1 + M z˜ t = 0,   ˜ x˜ t + H ˜ ˜ x˜ t−1 = 0. ⇐⇒ F W t+1 x˜ t + V t+1 z¯ + G

(15)

Thus, the policy functions for t = T b − 2 are computed as follows; x˜ t = W t x˜ t−1 + V t z¯ ,

(16)

where  −1 ˜ H, ˜ t+1 + G ˜ W t = − FW  −1 ˜ ˜ ˜ t+1 . V t = − FW t+1 + G FV In the same logic, the policy functions for T a ≤ t ≤ T b − 3 are the same as (16) - (18).

4

(17) (18)

“N-S S  P. U’ T”

4

K N (U-T / JSPS)

Application I: Simple RBC Model

Here, we explain how to use our toolkit through the application to the simple RBC model.

4.1 Definition of Variables The followings are the variables in the model. • ct : consumption • nt : labor • kt : capital stock at the end of period • it : investment • wt : wage rate • rt : rental rate of capital • ζt : Harrod neutral technology (trend stationary) • gt : growth rate of ζt (gt := log(ζt /ζt−1 )) • yt : output

4.2 The Economy Households: max E0 ct ,nt ,it

∞ X t=0



(1 − nt )ξ c1−ξ β t 1−ε t

1−ε ,

s.t. ct + it ≤ wt nt + rt kt , kt = (1 − δ)kt−1 + it .

(19) (20) (21)

Firms: max yt − rt kt − wt nt , kt ,nt  1−α α s.t. yt = kt ζt nt .

(22)

ct + +it = yt .

(24)

log(ζt+1 /ζt ) = ρg log(ζt /ζt−1 ) + (1 − ρg ) log(¯g) + εgt ,

(25)

(23)

Market Clearing Conditions:

Exogenous Technology:

where ρg is less than one. 5

“N-S S  P. U’ T”

K N (U-T / JSPS)

4.3 Equilibrium System Given the evolution of the exogenous variables, the equilibrium system is the following: (1 − ξ)ct(1−ξ)(1−)−1 (1 − nt )ξ(1−) = λt , ξ ct · = wt , 1 − ξ 1 − nt " # λt+1  1 = β Et rt+1 + 1 − δ , λt  α  yt = kt−1 ζt nt 1−α , yt rt = α · , kt−1 yt wt = (1 − α) · , nt ct + it = yt , kt = (1 − δ)kt−1 + it .

(26) (27) (28) (29) (30) (31) (32) (33)

There are 7 equations and 7 variables: c t , n t , k t , i t , y t , w t , rt . For the de-trended system, we introduce the following notation: a˜ t :=

at , ζt

(34)

for at = ct , kt , it , wt , and yt . The de-trended system is (1 − nt )ξ(1−ε) = λ˜ t , (1 − ξ)˜c(1−ξ)(1−ε)−1 t ξ c˜ t · = w˜ t , 1 − ξ 1 − nt "  # λ˜ t+1 (1−ξ)(1−ε)−1 1 = β Et (1 + gt+1 ) rt+1 + 1 − δ , λ˜ t #α " k˜ t−1 , n1−α y˜ t = t 1 + gt y˜ t rt = α · (1 + gt ), k˜ t−1 y˜ t w˜ t = (1 − α) · , nt c˜ t + ˜it = y˜ t , 1−δ ˜ kt−1 + ˜it . k˜ t = 1 + gt There are 7 equations and 7 variables: c˜ t , nt , k˜ t , ˜it , y˜ t , w˜ t , rt . 6

(35) (36) (37) (38) (39) (40) (41) (42)

“N-S S  P. U’ T”

K N (U-T / JSPS)

4.4 News-Shock Experiments To solve the policy function, we divide the equilibrium system into two parts: • Intra-temporal Conditions (1): (35), (36), (38), (39), (40), (41), and (42). • Inter-temporal Conditions (2): (37). Variables are x := [k˜ t ], yt := [˜ct , nt , ˜it , y˜ t , rt , w˜ t ]0 , and z := [gt ]. The matlab file “simple RBC news.m” takes the log-linear approximation of the model.4 Figure 1 shows the responses to news shock about one percent deviation after one year, and it turns out to be false after one year.5 It is easily check that the simple RBC model cannot produce the Pigou cycle; labor, investment and output fall when the news arrives. consumption

-0.5 -1 0

2

2 1 0

4

0

-1 -2

4

0

-5 -10 -15 4

years capital rental rate

0 -1 -2 0

2

2

4

years wage rate % deviation

0

2

2

0

years output % deviation

% deviation

years investment

0

labor % deviation

0

% deviation

% deviation

capital

4

0.5 0 -0.5 0

years

2

4

years

% deviation

0.1 0.05 0 -0.05 0

2

4

years

Figure 1: News-Shock Experiments (1): simple RBC (not realized)

4 5

To run the program, users have to install the symbolic math toolbox for matlab. News-shock subroutine draw two figure: both the news realizes and not.

7

“N-S S  P. U’ T”

5

K N (U-T / JSPS)

Application II: Kobayashi and Nutahara (2007)

In this section, we explain the model of Kobayashi and Nutahara (2007). The features of this model are followings: 1. input cost is subject to collateral constraint because of the lack of commitment problem. (capital is collateralized.) 2. adjustment cost of capital (Φ(it /kt ) where Φ(0) = 0, Φ(δ) = δ, Φ0 (x) > 0, and Φ00 (x) < 0) Through this friction, the model can produce the Pigou cycle: the news about future technology growth causes the boom at the current period.6

5.1 Definition of Variables The followings are the variables in this model.7 • ct : consumption • nt : labor supply of worker • n˜ t : labor demand of manager • kt : capital stock at the end of period • it : input of investment • zt : output of investment • wt : wage rate • πt : profit of manager • At : Hicks neutral technology (log level stationary) • ζt : Harrod neutral technology (trend stationary) • gt : growth rate of ζt (gt := log(ζt /ζt−1 )) • mt : material input • θt : gross output • yt : value added • qt : shadow price of capital (Tobin’s Q)

6

This model is one of two models in Kobayashi and Nutahara (2007). Two-agent version of this model is also explained in Koabayashi and Nutahara (2007), and it can produce the recession if the news turns to be false. 7 Some notations are different from the paper.

8

“N-S S  P. U’ T”

K N (U-T / JSPS)

5.2 The Economy (Consolidated) Households: pair of worker and manager max E0

ct ,nt ,kt

∞ X

h βt

γ c1−γ t (1 − nt )

1−ε

t=0

i1−ε ,

s.t. ct + it ≤ wt nt + πt , πt := θt − wt nt − mt ,

 (1−η)(1−α) (1−η)α θt := At · mηt · kt−1 · ζt nt , wt nt + mt ≤ ϕqt kt−1 , kt = (1 − δ)kt−1 + zt ,  i  t zt = Φ kt−1 . kt−1

(43) (44) (45) (46) (47) (48) (49)

Market Clearing Conditions: ct + c0t + it = yt , yt = θt − mt .

(50) (51)

log(zt+1 ) = ρz log(zt+1 ) + (1 − ρz ) log(¯z) + εzt , log(ζt+1 /ζt ) = ρg log(ζt /ζt−1 ) + (1 − ρg ) log(¯g) + εgt ,

(52) (53)

Exogenous Technology:

where ρz and ρg are less than one.

9

“N-S S  P. U’ T”

K N (U-T / JSPS)

5.3 Equilibrium System Given the evolution exogenous variables, the equilibrium system is ct γ (1 − η)(1 − α) θt · = · , 1 − γ 1 − nt 1 + xt nt  c(1−γ)(1−ε)−1 (1 − n )γ(1−ε)  θt t+1 qt = βEt t+1 (1 − δ + ϕxt )qt+1 + (1 − η)α · (1−γ)(1−ε)−1 γ(1−ε) kt−1 ct (1 − nt )   i   i  i  t t t + qt+1 Φ − Φ0 , kt−1 kt−1 kt−1  (1−η)(1−α) η (1−η)α θt = zt · mt · kt−1 · ζt nt , γ ct · nt + mt = ϕqt kt−1 , 1 − γ 1 − nt θt 1=η· − xt , mt   i −1 t qt = Φ0 , kt−1  i  t kt = (1 − δ)kt−1 + Φ kt−1 , kt−1 ct + it = yt , yt = θt − mt .

(54)

(55) (56) (57) (58) (59) (60) (61) (62)

There are 9 equations and 9 variables: ct , nt , qt , kt , it , mt , yt , θt , xt . Note that qt equals to the ration of the Lagrange multiplier of the evolution of capital evolution to that of budget constraint. xt denote the power of collateral constraint, which is the ratio of the Lagrange multipliers of collateral constraint to that of budget constraint. For the de-trended system, we introduce the following notation: a˜ t := for at = ct , kt , it , mt , yt , and θt .

10

at , ζt

(63)

“N-S S  P. U’ T”

K N (U-T / JSPS)

The de-trended system is c˜ t (1 − η)(1 − α) θ˜t γ · = · , 1 − γ 1 − nt 1 + xt nt  c˜ (1−γ)(1−ε)−1 (1 − n )γ(1−ε) t+1 qt = βEt t+1 (1 + gt+1 )(1−γ)(1−ε)−1 (1−γ)(1−ε)−1 γ(1−ε) c˜ t (1 − nt )  θ˜t (1 − δ + ϕxt )qt+1 + (1 − η)α · (1 + gt ) k˜ t−1   ˜i   ˜  ˜i  t t 0 it + qt+1 Φ (1 + gt ) − Φ (1 + gt ) (1 + gt ) , k˜ t−1 k˜ t−1 k˜ t−1  k˜ (1−η)α t−1 · nt(1−η)(1−α) , θ˜t = zt · m ˜ ηt · 1 + gt k˜ t−1 (1 − η)(1 − α) θ˜t · nt + m ˜ t = ϕqt , 1 + xt nt 1 + gt θ˜t 1=η· − xt , m ˜t   ˜i −1 t 0 qt = Φ (1 + gt ) , k˜ t−1  ˜i  k˜ 1−δ ˜ t−1 t k˜ t = kt−1 + Φ (1 + gt ) , 1 + gt 1 + gt k˜ t−1 c˜ t + ˜it = y˜ t , y˜ t = θ˜t − m ˜ t.

(64)

(65) (66) (67) (68) (69) (70) (71) (72)

There are 9 equations and 9 variables: c˜ t , nt , qt , k˜ t , ˜it , m ˜ t , y˜ t , θ˜t , xt .

5.4 News-Shock Experiments To solve the policy function, we divide the equilibrium system into two parts: • Intra-temporal Conditions (1): (64), (66), (67), (68), (69), (70), (71), and (72). • Inter-temporal Conditions (2): (65). Variables are x := [k˜ t ], yt := [˜ct , nt , ˜it , xt , θ˜t , y˜ t , m ˜ t , qt ]0 , and z := [gt , zt ]. The matlab file “KN2007.m” takes the log-linear approximation of the model.8 Figure 2 shows the responses to news shock about one percent deviation of technology growth after one year, and it turns out to be false after one year.9 It is easily check that this model can produce the Pigou cycle; consumption, labor, investment and output increase when the news arrives! Furthermore, this model can produce the procyclical movement of Tobin’s Q.10 8

To run the program, users have to install the symbolic math toolbox for matlab. News-shock subroutine draw two figure: both the news realizes and not. 10 Many other models for the Pigou cycle cannot produce the procyclical movement of Tobin’s Q. The model with collateral constraints like Kobayashi and Nutahara (2007) has an advantage in this sense. 9

11

“N-S S  P. U’ T”

0.2

0

2

4

1

0

4 2 0 0

2

-5 -10

4

0

years

2

0

4

4

2 0 2 years

4

4 2 0

0

2

4

years value added

4

0

2

years gross output

% deviation

% deviation

% deviation 2

0

years Tobins Q

5

0

4

0

years material

0

2

5

years inefficiency (x) % deviation

% deviation

years labor

0

% deviation

0

investment % deviation

consumption % deviation

% deviation

capital

K N (U-T / JSPS)

4

5

0

0

2

4

years

Figure 2: News-Shock Experiments (2): Kobayashi and Nutahara (2007) (not realized)

References [1] Beaudry, P. and F. Portier. (2004) “An exploration into Pigou’s theory of cycles”, Journal of Monetary Economics 51, pp1183-1216. [2] Christiano, L. J., R. Motto and M. Rostagno. (2006) “Monetary policy and a stock market boom-bust cycle,” mimeo, Northwestern University. [3] Jaimovich, N. and S. Rebelo. (2006) “Can news about the future drive the business cycle?,” NBER Working Paper 12537. [4] Kobayashi, K., T. Nakajima, and M. Inaba. (2007) “Collateral constraint and news-driven cycles,” RIETI Discussion Paper Series 07-E-013. [5] Kobayashi, K. and K. Nutahara. (2007) “Collateralized capital and news-driven cycles,” Economics Bulletin 5, No.18, pp1-9. [6] Uhlig, H. (1999) “A toolkit for analyzing nonlinear dynamic stochastic models easily,” in: Marimon, R., and A. Scott, eds., Computational Methods for the Study of Dynamic Economies. (Oxford University Press, Oxford) pp30-61.

12

News-Shock Subroutine for “Prof. Uhlig's Toolkit”

cycles,” RIETI Discussion Paper Series 07-E-013. [5] Kobayashi, K. and K. Nutahara. (2007) “Collateralized capital and news-driven cycles,”. Economics Bulletin ...

93KB Sizes 0 Downloads 24 Views

Recommend Documents

DefendingDACA ToolKit For DREAMers.pdf
Together we will overcome. ______. Copyright 2017: @NYChavez & @HYAdames. Page 1 of 1. DefendingDACA ToolKit For DREAMers.pdf. DefendingDACA ...

DefendingDACA ToolKit For DREAMers.pdf
Page 1 of 1. Page 1 of 1. DefendingDACA ToolKit For DREAMers.pdf. DefendingDACA ToolKit For DREAMers.pdf. Open. Extract. Open with. Sign In. Main menu.

ICRACE ToolKit for POC.pdf
Page 1 of 1. Surviving & Resisting Hate: A Toolkit For People of Color. #ICRaceLab. Dr. Hector Y. Adames & Dr. Nayeli Y. Chavez-Dueñas. 1. Stay physically and psychologically. healthy, by eating healthy, sleeping (7-8. hours a night), taking breaks

Prof. Akeel Bilgrami - Groups
Portuguese. Stanford University. [ 3.45-5.15pm ]. Chaired by Prof. Amitabha Dasgupta. 17 June, 2016 (Friday). C.V. Raman Auditorium (Science Complex).

Prof. M.M.Mulokozi.pdf
... Examining (for Literature and Language). University of Dodoma, Tanzania 2012 -. University of Botswana (2 MA disserations) 2009. Makerere University (MA & PhD dissertations/theses) 2007 - 2009. Masinde Muliro University of Technolgy, Kenya 2008 -

PROF-ED.pdf
Sign in. Loading… Page 1. Whoops! There was a problem loading more pages. Retrying... PROF-ED.pdf. PROF-ED.pdf. Open. Extract. Open with. Sign In.

Python Cryptography Toolkit - GitHub
Jun 30, 2008 - 1 Introduction. 1.1 Design Goals. The Python cryptography toolkit is intended to provide a reliable and stable base for writing Python programs that require cryptographic functions. ... If you're implementing an important system, don't

Summer_2018 PROF PROG.pdf
Page 1 of 1. *see note at the bottom regarding university fees. In-State Out-of-State. Professional Programs*. Master of Accountancy. Full-Time 4,912.00 ...

Prof Didik tamtomo.pdf
Page 3 of 62. • General Practitioner/ Family Doctor. • Doctors who have undergone postgraduate. training in general practice. • General Practice/ Family ...

Prof Igor Wilkomirsky.pdf
Whoops! There was a problem loading more pages. Retrying... Prof Igor Wilkomirsky.pdf. Prof Igor Wilkomirsky.pdf. Open. Extract. Open with. Sign In. Main menu.

Prof Lianzhou Wang_cv_short.pdf
Shanghai Institute of Ceramics, Chinese Academy of Sciences in 1999. ... he has worked at two leading national research institutions (NIMS and AIST) of Japan as a ... nanomaterials for use in renewable energy conversion/storage systems ...

A Public Toolkit and ITS Dataset for EEG
Using these per-epoch features, the pipeline derives a set of higher-level features (e.g. mean, variance) for each trial. Our word-exposure classifier used 5 features - the means of each of the alpha, beta, gamma, theta, delta features of the epochs.

Prof. Anand Kumar.pdf
students about various aspects of power, culture, poverty, society, media and social change,. including globalization. His current research work includes political ...

Parecer Prof. Scheibe.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Parecer Prof.