Command to assign the highest of two series
Posted: Tue May 23, 2017 6:59 am
Hi,
Is there a command to assign an observation the highest of two series?
So for example, suppose:
series a=1
series b=2
Is there then a command of the form
series c=@...(a,b)
which would return c=b, because b is greater than a?
In other languages the command 'max' often seems to do this. However, in EViews @max returns the maximum value within a vector.
Thanks,
Marc
Is there a command to assign an observation the highest of two series?
So for example, suppose:
series a=1
series b=2
Is there then a command of the form
series c=@...(a,b)
which would return c=b, because b is greater than a?
In other languages the command 'max' often seems to do this. However, in EViews @max returns the maximum value within a vector.
Thanks,
Marc