Impulse response function in AR(2) model

Hi all, I am trying to calculate the impulse response for an AR(2) model with panel data. The regression is the following:
g(i,t)= Country fixed effects + a1*g(i,t-1) + a2*g(i,t-2) + alpha1*D1(i,t) + alpha2*D1(i,t-1) + alpha3*D1(i,t-2)+ beta1*D2(i,t) + beta2*D2(i,t-1) + beta3*D2(i,t-2)+ theta1*D3(i,t) + theta2*D3(i,t-1) + theta3*D3(i,t-2) + error
where g(i,t) is the growth rate of output in country i at year t and D's are dummies for crises. D3=D1*D2 (so it is 1 whenever both D1 and D2 is one, zero otherwise).
I estimate this and get the estimates for alpha, beta and theta coefficients from STATA. I need to calculate the impulse response of growth to D3, and interpret it as the amplification effect arising from co-occurence of D1 and D2 (on the top of individiaul impacts of D1 and D2). Can somebody help me with this?
Thank you in advance!

답변 (0개)

카테고리

도움말 센터File Exchange에서 Octave에 대해 자세히 알아보기

질문:

2017년 9월 6일

편집:

2017년 9월 6일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by