I am getting a strange error when I run some code and wasted many hours trying to work out what is wrong as the error message has nothing to do with what I am doing. I am using EV7.2
If (-di_jp_uk(-1)+(1200*(FDS_JPYGBP_ZM/S_JPYGBP(-1)))>1) then
series rFS_JPYGBP_ZM = (-di_jp_uk+(1200*(D(S_JPYGBP)/S_JPYGBP(-1))))
else
series rFS_JPYGBP_ZM = (di_jp_uk(-1)-(1200*(D(S_JPYGBP)/S_JPYGBP(-1))))
endif
Crashes on the if condition with the error
-1 is not a valid index for vector-series-coefficient S_JPYGBP in "IF (-DI_JP_UK(-1)+(1200*(FDS_JPYGBP_ZM/S_JPYGBP(-1)))>1) THEN ...
I am not using a vector, or a coefficient of any sort , it is an ordinary time series !
I have checked all the series names in the if statement they exist and are fine. when I execute the "series test = 1200*(FDS_JPYGBP_ZM/S_JPYGBP(-1))" on the command line to create a series to test it , that works fine, but it does not work in the if statement.
I think this is a Bug and am getting desperate - help please Gareth.
Bug in Error Message : vector-series-coefficient
Moderators: EViews Gareth, EViews Moderator
Bug in Error Message : vector-series-coefficient
Last edited by johnvaz on Fri Aug 03, 2012 5:58 am, edited 1 time in total.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Bug in Error Message : vector-series-coefficient
Thanks- I must say I am surprised - Any suggestions on how would I process a series to achieve what I am doing rather than observation by observation,
Last edited by johnvaz on Fri Aug 03, 2012 8:30 am, edited 1 time in total.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Who is online
Users browsing this forum: No registered users and 2 guests
