Page 1 of 1

Find the position of the minimun value in a vector

Posted: Fri Jun 01, 2018 12:51 pm
by lpando08
Hello,

How I can find the position of the minimun value in a vector like this (below) ? I know that the minimun value is in the position 63 but because I have seen it in the "Descriptive Stats", but how I can extract this value maybe in a scalar? I want to compute the number of the position.

vector (91) a
for !i=10 to 100
!j=!i-9
a(!j)=ssrt_!i
next

Thanks!

Re: Find the position of the minimun value in a vector

Posted: Fri Jun 01, 2018 12:57 pm
by EViews Gareth

Code: Select all

=@imin(a)