I am using eviews 6 and I am trying a similar thing as described above but in my case, I have two series namely x and y and the condition is that x > y. how can I access each element of x and y? for example if x is a series as follows:
and y is
then the condition should be 4>2, 6>0, -1>6 and so on?
this is what I have tried but it says syntax error:
scalar a = 0
for !j=1 to !length-!ssize
a = @recode((x(!j) < y(!j)), a+1, a)