Setting an SVAR in State Space Form
Posted: Fri Apr 08, 2016 9:50 am
Dear all,
I have defined a SVAR model in Eviews.
The SVAR has 9 variables in this order:
FFED, LOG(BAA_T10Y), L_CPI, L_GDP, L_COMMP, L_WGDP, L_REER, YIELD_C, D_HOUSING
3 lags, and one specific structure for the variance-covariance matrix as below:
@e1=c(1)*@u1
@e2=c(6)*@u2
@e3=c(9)*@u3+c(10)*@e4+c(11)*@e5
@e4=c(12)*@u4+c(13)*@e5
@e5=c(14)*@u5
@e6=c(15)*@e5+c(16)*@u6
@e7=c(17)*@e1+c(18)*@e2+c(19)*@e3+c(20)*@e4+c(21)*@e5+c(22)*@e6+c(23)*@u7+c(29)*@e8
@e8=c(24)*@e1+c(26)*@e2+c(28)*@u8
@e9=c(30)*@e1+c(31)*@e4+c(32)*@u9
I have Eviews 8, I want to convert this SVAR in Sspace form to use the Kalman Filter and its forecasting options as indicated in the attached file (Conditional Forecasts on SVAR models using the Kalman Filter, Gonzalo Camba-Mendez).
I have general knowledge of state space models as studied in the context of Real Business Cycle Models and Intertemporal Consumption Decission Models.
However, I have not used them before in Eviews and I am struggling with converting my SVAR into the Sspace form.
Would it be possible to have your guidance on this? Any good starting point, or any related example I can look?
Thanks very much in advance.
Kind regards,
Carolina M
I have defined a SVAR model in Eviews.
The SVAR has 9 variables in this order:
FFED, LOG(BAA_T10Y), L_CPI, L_GDP, L_COMMP, L_WGDP, L_REER, YIELD_C, D_HOUSING
3 lags, and one specific structure for the variance-covariance matrix as below:
@e1=c(1)*@u1
@e2=c(6)*@u2
@e3=c(9)*@u3+c(10)*@e4+c(11)*@e5
@e4=c(12)*@u4+c(13)*@e5
@e5=c(14)*@u5
@e6=c(15)*@e5+c(16)*@u6
@e7=c(17)*@e1+c(18)*@e2+c(19)*@e3+c(20)*@e4+c(21)*@e5+c(22)*@e6+c(23)*@u7+c(29)*@e8
@e8=c(24)*@e1+c(26)*@e2+c(28)*@u8
@e9=c(30)*@e1+c(31)*@e4+c(32)*@u9
I have Eviews 8, I want to convert this SVAR in Sspace form to use the Kalman Filter and its forecasting options as indicated in the attached file (Conditional Forecasts on SVAR models using the Kalman Filter, Gonzalo Camba-Mendez).
I have general knowledge of state space models as studied in the context of Real Business Cycle Models and Intertemporal Consumption Decission Models.
However, I have not used them before in Eviews and I am struggling with converting my SVAR into the Sspace form.
Would it be possible to have your guidance on this? Any good starting point, or any related example I can look?
Thanks very much in advance.
Kind regards,
Carolina M