Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: maximum of a list of values


From   "NEYMOTIN, FLORENCE" <[email protected]>
To   [email protected]
Subject   st: maximum of a list of values
Date   Tue, 28 Jun 2005 11:01:37 -0700

also, one more question:

If I want to get the maximum of the first entry of a bunch of entries, then is there a way to do this in shorthand? i.e. suppose I want the maximum of x1[1,1], x2[1,1], x3[1,1], x4[1,1], x5[1,1], x6[1,1], x7[1,1] x8[1,1], then I thought it was possible to write: max(x1[1,1],...,x8[1,1]) but this isn't giving me all of the values in between.
thanks,
florence
*
* 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/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index