[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: capture minimum/maximum
Try --
sysuse auto, clear
sum mpg
return list
di "`r(min)'"
di "`r(max)'"
--- Shehzad Ali <[email protected]> wrote:
> Hi,
>
> This is perhapa a very basic question. Like r(mean)
> captures the mean value
> after summarize, is there a function in stata that
> captures minimum or
> maximum value of a variable?
>
> Thanks,
>
> Shehzad
> *
> * 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/
>
*
* 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/