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

st: Re: adjusted R squared


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   st: Re: adjusted R squared
Date   Tue, 10 Dec 2002 21:07:56 -0600

after xtreg ,fe you could

disp "R2 =" 1 - e(rss)/e(tss)

disp "adj R2 =" 1 -(e(rss)/e(df_r))/(e(tss)/(e(N) -1))

which will give you the same results as areg.

Scott

----- Original Message -----
From: "paula garcia" <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 10, 2002 2:56 PM
Subject: st: adjusted R squared


> Hi everybody!
>
> I would like to know if someone has made a routine to estimate the adjusted
r-squared for the xtreg, fe and for the xtreg,re. I know that a possibility to
obtain r2 for fixed effects is with areg. What about random effects?
>
> I would appreciate a lot any help!
>
> Paula
>
>
> _________________________________________________________
> http://www.latinmail.com.  Gratuito, latino y en espa�ol.
>
> *
> *   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