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

Re: st: R2-within(xtreg,fe) and R2_adj(areg)?

From   Mark Schaffer <[email protected]>
To   [email protected], Svetlana Mira <[email protected]>
Subject   Re: st: R2-within(xtreg,fe) and R2_adj(areg)?
Date   Fri, 11 Jun 2004 18:12:09 +0100 (BST)


Quoting Svetlana Mira  <[email protected]>:

> Dear Statalist members,
> Using a panel dataset, I run a xtreg, fe and use areg, absord (id)
> cluster (id) to correct for autocorrelation and heteroskedasticity
> in
> the model. The xtreg, fe give us a R2-within while areg R2-adj. Is
> there a way of obtaining/converting the R2-adj from the areg into
> a
> R2 that would be comparable with R2-within? I know that I could
> use
> areg, absorb (id) to obtain a R2-adj for the xtreg, fe, but I am
> interested in the opposite transformation (R2-adj into R2-within).
> Any suggestions are more than welcome!

The R2s depend on the coefficient estimates but not on the estimated 
variance-covariance matrix.  It looks like you are using xtreg,fe and areg 
to estimate the same model, and so the coefficients reported by the two 
estimators should be the same.  If they are, then you can simply use the 
R2s reported by xtreg,fe.


> Thanks a lot in advance,
> Svetlana
> *
> *   For searches and help try:
> *
> *
> *

Prof. Mark Schaffer
Director, CERT
Department of Economics
School of Management & Languages
Heriot-Watt University, Edinburgh EH14 4AS
tel +44-131-451-3494 / fax +44-131-451-3008
email: [email protected]


This e-mail and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom it is addressed.  If you are not the intended recipient
you are prohibited from using any of the information contained
in this e-mail.  In such a case, please destroy all copies in
your possession and notify the sender by reply e-mail.  Heriot
Watt University does not accept liability or responsibility
for changes made to this e-mail after it was sent, or for
viruses transmitted through this e-mail.  Opinions, comments,
conclusions and other information in this e-mail that do not
relate to the official business of Heriot Watt University are
not endorsed by it.
*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index