I estimate a Panel VAR model, the panel consists in 20 countries and 42 observations for each country, the dataset is perfectly balanced. Additionally, I have three variables (X1, X2 and X3), two lags and two deterministic variables (a country fixed effect and a country-specific linear trend) in the VAR.
I then calculate the impulse and the total cumulated impulse functions. Could you please help me telling me how I can compute the accumulated IRF plus their confidence bands?
For the accumulated IRF, I guess this code is sufficient:
Code: Select all
do j = 1,nbvar
accumulate irfm(j) / cirfm(j)
end do jI hope you got my point.
Thank you in advance,
Best,
Romain