![]() |
[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/