<>
Sergiy is quite right that -tabstat- is a good way to deal with
Martin's issue. However to be useful you would want to add the 'save'
option, as otherwise -tabstat-
does not place its results in r().
Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html
On Jan 27, 2009, at 02:33 , Sergiy wrote:
tabstat is more flexible and does both casewise and non-casewise
statistics:
. tabstat mpg rep78, stat(sum)
*
* 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/