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/