How about -statsby-
-statsby "reg returns factor" _b, by(year)-
Scott
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Subhankar Nayak
Sent: Friday, June 25, 2004 2:46 PM
To: [email protected]
Subject: st: Multiple commands under "By varlist"?
Hello all,
Is it possible to give multiple commands following a particular
by varlist
command?
Can I give something like:
by month: {
regress returns factor
replace tintcp = _b[_con]
replace tslope = _b[factor]
}
Of course, what I give here is not working, but is there anyway to make it
functional?
Thanks.
*
* 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/
*
* 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/