Element by element
Posted: Sun Apr 18, 2010 6:33 pm
Please i need your help....
Hi, I'm new in using Eviews and my question is about the element by element assessment of two column vectors, eg, x is a 9x1 vector w is another vector of 9x1, I need to evaluate element by element of W and X independently without extracting them to a scalar, because operators are not running >.<,=>,<= when working on vectors or matrix if one element does not meet the specified conditional.
program
if x <w Then
vector z = (x-w) +2
endif
with vectors, if an element w <x is not carried out
thank you very much!!!
Hi, I'm new in using Eviews and my question is about the element by element assessment of two column vectors, eg, x is a 9x1 vector w is another vector of 9x1, I need to evaluate element by element of W and X independently without extracting them to a scalar, because operators are not running >.<,=>,<= when working on vectors or matrix if one element does not meet the specified conditional.
program
if x <w Then
vector z = (x-w) +2
endif
with vectors, if an element w <x is not carried out
thank you very much!!!