I am trying to replicate figure 2 from Romer and Romer's (2004) paper on monetary shocks (http://eml.berkeley.edu/~dromer/papers/AER_September04.pdf). Essentially, having generated a series for monetary shocks, they run the following ADL regression:

$\Delta y_t=a_0+\sum_{k=1}^{11}a_kD_{kt}+\sum_{i=1}^{24}b_i \Delta y_{t-1}+\sum_{j=1}^{36}c_jS_{t-j}+e_t$

where $y$ is the log of industrial production, $S$ are monetary shocks and the $D_k$'s are monthly dummies. The say that the "estimated response of log output after one month is $c_1$, the coefficient on the first lag of $S$; the estimated response of log output after two months is $c_1+(c_2+b_1c_1)$; and so on."

My question is: how do I iterate this forward to produce figure 2, i.e., what is the formula for the response after three months etc?


Sorry for any confusion in my previous answer but there are 2 steps to this process 1) tracing out the impact on the $\Delta$y's and the lags of the shocks and then 2) accumulating the shocks to get the cumulative response (Note that my original answer tried to do this simultaneously). So in the first step (ignoring the intercept, the dummies and the residual terms) we get

$\tilde{\Delta y_1}$ : $c_1$

$\tilde{\Delta y_2}$: $c_2 + b_1c_1 = c_2 + b_1\tilde{\Delta y_1} $

$\tilde{\Delta y_3}$ : $c_3+ b_1(c_2 + b_1c_1) + b_2c1 = c_3 + b_1\tilde{\Delta y_2} + b_2 \tilde{\Delta y_1}$

$\tilde{\Delta y_4}$ : $c_4 + b_1\tilde{\Delta y_3} + b_2 \tilde{\Delta y_2} + b_3 \tilde{\Delta y_1}$

Can you see the pattern? So the general rule is

$\tilde{\Delta y_i}$= $c_{i}+\sum_{r=0}^{i-1}b_{r}\tilde{\Delta y_{i-r}}$

When $\tilde{\Delta y_0}=c_0=b_0=0$ and where $c_i=0$ for $i>36$ and $b_r=0$ for $r>24$.

Now the next step to is to accumulate the shocks so that the IRF value for a given month is

$IRF_i = \sum^i_{j=0} \tilde{\Delta y_j}$

This should give you the results you are looking for. Technically if you were to trace out the exact values of the regression that you specified then you would also need to include the dummy variables but from the sounds of it they only care about tracing out the effects of the monetary shocks.

  • $\begingroup$ Hi Andrew, thanks so much for getting back to me. I think I get the intuition now. I've re-run RR's regression and get exactly the same results as in the paper. However, when I plot the impulse response based on the formula you kindly provided, the results are a bit off after about 12 months. I have uploaded an example to EmpireBox (expirebox.com/download/10e1930362e430866e0fcd5b861308be.html). The simplest way in Excel seemed to be: $month_i=month_{i-1}+c_i+(b_{i-1}*month_{i-1})$. I think this is the same as the general rule you provided. Any thoughts would be greatly appreciated. $\endgroup$ – ts_highbury Nov 14 '16 at 10:35
  • $\begingroup$ Hi I fixed my answer to account for the fact that the shocks accumulate both through the lagged shocks terms and through the lagged $\Delta$y's. Hopefully this should do the trick although it will be less easier to do in excel. $\endgroup$ – Andrew M Nov 14 '16 at 15:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.