Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: Basic question on "estimates"


From   "Pancho Villa" <panchovillainnyc@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: Basic question on "estimates"
Date   Tue, 26 Sep 2006 16:45:04 -0400

Philipp Rehm <Philipp.Rehm@gmx.de> 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/



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