Page 1 of 1

max index of vector

Posted: Tue Apr 25, 2017 9:28 pm
by ravage
Hi,
I have a vector of values and want to find the index of the maximum value. Say if the third value is the biggest it will return 3. Is this possible?
thanks

Re: max index of vector

Posted: Tue Apr 25, 2017 9:31 pm
by EViews Gareth

Code: Select all

=@imax(x)