Philipp Rehm <[email protected]> wrote:
You may want to try this:
statsby _b, by(_3) saving(C:\da_temp\coef.dta, replace) : reg _19 _7
[iw=_22]
(in one line - or delimited - , of course)
That worked! There's an error message, but it does work.
Thank you, Philipp.
**********************************************************************************************
. statsby _b, by(_3) saving(C:\da_temp\coef3.dta) : reg _19 _7 [iw=_22]
_b command not found
r(111);
end of do-file
r(111);
*
* 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/