Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Multiple commands under "By varlist"?


From   "Subhankar Nayak" <[email protected]>
To   <[email protected]>
Subject   st: Multiple commands under "By varlist"?
Date   Fri, 25 Jun 2004 15:46:13 -0400

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/



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