@ename e1
@ename e2
@evar var(e1)=exp(c(4))
@evar var(e2)=exp(c(5))
@signal ipg_norm = c(6)*sv(1)+e1
@state sv1 = c(1)*sv1(-1) + c(2)*sv2(-1) + c(3)*sv3(-1)+e2
@state sv2 = sv1(-1)
@state sv3 = sv2(-2)
the syntax error occurs on the @signal equation
syntax error in specifying state space model
Moderators: EViews Gareth, EViews Moderator
-
- Posts: 37
- Joined: Thu Aug 28, 2014 8:08 am
Re: syntax error in specifying state space model
Hi,
You have two typos,
That will work.
You have two typos,
Code: Select all
@ename e1
@ename e2
@evar var(e1)=exp(c(4))
@evar var(e2)=exp(c(5))
@signal ipg_norm = c(6)*sv1+e1 ' you wrote the state variable as a lead of orden one,this can not be done
@state sv1 = c(1)*sv1(-1) + c(2)*sv2(-1) + c(3)*sv3(-1)+e2
@state sv2 = sv1(-1)
@state sv3 = sv2(-1) ' you wrote the state variable 3 as a lag of orden two of the state variable 2 if you want another lag you should enter @state sv4=sv3(-1)
That will work.
Return to “Econometric Discussions”
Who is online
Users browsing this forum: No registered users and 25 guests