Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: how to find a second largest element in a matrix


From   Wu Zhang <[email protected]>
To   STATA LIST <[email protected]>
Subject   st: how to find a second largest element in a matrix
Date   Thu, 11 Apr 2013 14:22:44 -0700 (PDT)

Hi there,

   Could you help me find the second largest element of a matrix? I know  "max" can find the largest one, but for the second largest?

Thanks,

Wu 


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index