Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[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 <wuzhang50@yahoo.com>
To   STATA LIST <statalist@hsphsun2.harvard.edu>
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index