Statalist The Stata Listserver


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

st: Can we collect the R^2 (R-squared) of a OLS regression with statsby?


From   =?gb2312?B?1cW48Q==?= <rereach@sohu.com>
To   "StataList" <statalist@hsphsun2.harvard.edu>
Subject   st: Can we collect the R^2 (R-squared) of a OLS regression with statsby?
Date   Sun, 6 Aug 2006 23:59:16 +0800

Hi,

I use stata 9 intercool to regress a panel data. And I can collect the
coefficients and standard errors for every regression like this:
    statsby _b _se, by (x1) saving(my_rg): regress x2 x3 x4

But how can I collect the R^2 (R-squared) with statsby? And the "Adjusted
R-squared"?

Thanks a lot.

Alex



*
*   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