Hello,
I have formulated the following state space model :
Code: Select all
@signal lgdp=trend+cycle
@state trend=c(1) + trend(-1) + [var=exp(c(2))]
@state cycle=c(3) * cycle(-1) + c(4) *lcycle(-1) + [var=exp(c(5))]
@state lcycle=cycle(-1)
@signal dhouse_p=c(6)*dhouse_p(-1) + c(7)*cycle + [var=exp(c(8))]
param c(1)0.66 c(2) -8.767 c(3) 1.17 c(4) -0.31 c(5) -8.767 c(6) 0.86 c(7) -0.11 c(8) -8.767
@mprior a0
@vprior v0
The results look alright
Now I want to modify that code (as Trubador suggested), so with the help of that topic :
http://forums.eviews.com/viewtopic.php? ... 46&p=16856 I formulated the following HPMV model where I have imposed the following constraint:
(variance of noise / variance of the signal)=1600 (lambda)
Code: Select all
@signal lgdp=trend+cycle + [var=exp(c(5))]
@state trend=c(1) + trend(-1) + [var=exp(c(5))/lambda]
@state cycle=c(3) * cycle(-1) + c(4) *lcycle(-1) + [var=exp(c(5))/lambda]
@state lcycle=cycle(-1)
@signal dhouse_p=c(6)*dhouse_p(-1) + c(7)*cycle+ [var=exp(c(5))]
param c(1)0.66 c(3) 1.17 c(4) -0.31 c(5) -8.767 c(6) 0.86 c(7) -0.11
@mprior a0
@vprior v0
I feel like my model is mispecified. Especially since in the unconstrained SSPACE model (the 1st one) I did not include an error term in the first signal equation. Also, I am a bit confused by the fact that here I have two signal equations, and I'm not sure if I should impose the same coefficient for variance.
I'd be very grateful for any help
Regards