please help!
i'm trying to estimate this model based on Harvey and Jaeger (1993) but it doesn't run!!
@signal log(y_cocoa)=trend+cycle+[var=exp(c(2))]
@state trend=trend(-1)+beta+[var=exp(c(3))]
@state beta=beta(-1)+[var=exp(c(4))]
@state cycle=rho*@cos(lamda)*cycle(-1)+rho*@sin(lamda)*cycle_star(-1)+[var=exp(c(5))]
@state cycle_star=rho*@cos(lamda)*cycle_star(-1)-rho*@sin(lamda)*cycle(-1)+[var=exp(c(6))]
you can find the error msg enclosed.
i'm a beginner and i don't know if i've forgotten some details. i need your advice please.
kalman filter
Moderators: EViews Gareth, EViews Moderator
kalman filter
- Attachments
-
- erro msg
- Capture.JPG (20.92 KiB) Viewed 4349 times
Re: kalman filter
Make sure the workfile contains rho and lamda objects. If they are coefficients to be estimated with the model, then define them accordingly (i.e. as c(7) and c(8)).
And note that state equation for trend cannot have another contemporaneous state variable (i.e. beta).
And note that state equation for trend cannot have another contemporaneous state variable (i.e. beta).
Re: kalman filter
It runs now. you're perfectly right. Thank you very much for your help.
Who is online
Users browsing this forum: No registered users and 1 guest
