<>
Kit wrote of Gabi's previous solution:
> I can't see how that can work with colmax(A)[1,j] being hardcoded to look at only the first row of A.
I wondered about this as well at first, but the parentheses mean that
it's hardcoded to look at the first (and only) row of the rowvector
returned by colmax()- rather than the first row of A, so it's not
actually a problem.
Best,
Glenn.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/