Statalist The Stata Listserver


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

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


From   Philipp Rehm <[email protected]>
To   [email protected]
Subject   Re: st: Can we collect the R^2 (R-squared) of a OLS regression withstatsby?
Date   Sun, 06 Aug 2006 18:07:46 +0200

I don't know whether -statsby- can do that, but I do know that it can be
done using -parmby- from Roger Newson's very useful -parmest-.
Type -findit parmest-.

HTH,
Ph

�Ÿ� wrote:
> 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/
> 
> 
*
*   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