Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Re: Re: no observation in while-loop


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: Re: no observation in while-loop
Date   Fri, 19 Jun 2009 19:17:15 +0000 (GMT)

--- 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/



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