Statalist The Stata Listserver


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

st: can we collect the r^2 of an OLS regression with statsby


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: can we collect the r^2 of an OLS regression with statsby
Date   Sun, 6 Aug 2006 12:31:17 -0400


webuse grunfeld
statsby e(r2) e(r2_a), by(company) clear: reg mvalue kstock

Run a regression and do ereturn list to see all the statistics that may be retrieved and saved by statsby.


Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index