> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Tuesday, November 19, 2002 9:26 AM
> To: [email protected]
> Subject: RE: st: Column and row maximums
>
>
> Sorry if I was ambiguous; from the datasheet
>
> > A B C D E F
> > 1 2 3 4 5 6
> > 2 8 5 4 9 6
> > 3 5 7 8 6 1
> > 7 4 5 6 8 1
> > 2 4 6 4 1 6
>
> I would simply like Stata to return something of the sort:
>
> "Highest value in E was" 9 "and the corresponding value in B was" 8
>
Ignorring ties:
gsort -E
di "Highest value in E was " E[1] " and the corresponding value
in B was " B[1]
--Nick Winter
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/