I would like to estimate the following model using sspace object:
(1) Y = alpha + beta_{t}*X + eps_{t}
(2) beta_{t} = B_{t} + C_{t}
(3) B_{t} = B_{t-1} + w_{t}
(4) C_{t} = phi*C_{t-1} + v_{t}
where eps_{t}, w_{t} and v_{t} - random disturbances, beta_{t} - time-varying coefficient.
How should I represent properly the above model in Eviews 6.0? Since the eq. (2) can not be putted directly (state equation must be in the one-period lag of the states), my solution is:
Code: Select all
@signal Y = c(1) + (sv1+sv2)*X + [var = exp(c(2))]
@state sv1 = sv1(-1) + [var = exp(c(3))]
@state sv2 = c(4)*sv2(-1) + [var = exp(c(5))]Thank You in advance.
