--- On Fri, 19/6/09, Martin Weiss wrote:
> Unfortunately, -statsby- will only accept
> -scalar- results, otherwise we could even do away with the
> loop....
not true:
sysuse auto, clear
recode rep78 1/2=3
statsby, by(rep78) clear: reg price foreign mpg
list
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
*
* 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/