| From | Kit Baum <[email protected]> |
| To | [email protected] |
| Subject | st: re statsby: collecting betas |
| Date | Mon, 13 Dec 2004 15:01:27 -0500 |
webuse grunfeld,clear
forv i=1/10 {
qui reg invest mvalue kstock if company==`i'
mat results = nullmat(results) \ e(b)
}
mat list results
seems to work fine in assembling these results from each firm.
Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html
*
* 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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |