Bjornland-Leitemo JME 2009

Use this forum for posting example programs or short bits of sample code.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Bjornland-Leitemo JME 2009

Unread post by TomDoan »

From the description of @VARIRF:

ACCUMULATE=||vector of positions||
Indicates which variables (by position in the model) need to be accumulated (integrated)

With the model set up with

var gap dpi compi2 dlrsp intr

that means the responses of dpi (which is the first difference of the inflation rate), compi2 and dlrsp are all accumulated ("undifferenced"). The DPI is fairly obvious, since then you get the response of the inflation rate rather than the change in the inflation rate. The DLRSP gives you the response of log stock prices (rather than returns), which should have a zero long run response to the monetary policy stock because of the restriction in the SVAR. COMPI2 doesn't really matter much.

What you would do with a different model will depend upon the variables and the model.
istiak
Posts: 29
Joined: Sun Nov 11, 2012 9:03 pm

Re: Bjornland-Leitemo JME 2009

Unread post by istiak »

Hi Tom,
It seems to me that when we are creating a monetary policy shock and a stock price shock, we are creating a 1% change of the corresponding variables, am I right? Is there any way of changing the code and creating a 1 standard deviation change of the corresponding variables to create the shock?
Thank you.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Bjornland-Leitemo JME 2009

Unread post by TomDoan »

Other than for the decomposition of variance, this does shocks normalized to unit impacts. Prior to the normalization, they're standard deviations. So you just eliminate (or comment out) lines that look like:

*
* Normalize the shocks
*
compute f=%ddivide(f,%xdiag(f))


Last bumped by TomDoan on Mon Jan 06, 2025 3:43 pm.
Post Reply