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   "Svetlana Mira " <[email protected]>
To   [email protected]
Subject   Re: st: R2-within(xtreg,fe) and R2_adj(areg)?
Date   Fri, 11 Jun 2004 19:13:51 GMT0BST

Mark,

thanks a lot for your help! Yes, indeed, I am evaluting the same 
model based on the xtreg, fe and areg, absorb, cluster and the 
coefficients in both regressions are the same (i.e., as you have 
explained the R2-within will be the same). But what about F-test? All 
our t-values have changed (most of them became lower in the robust 
model not higher!). How would I be able to re-calculate the F-test 
for areg to be comparable with F-test from xtreg, fe?

Thanks again for all your suggestions,
Svetlana

   On 11 Jun 2004 at 18:12, Mark Schaffer wrote:

> Svetlana,
> 
> 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.
> 
> Cheers,
> Mark
> 
> > 
> > Thanks a lot in advance,
> > Svetlana
> > 
> > *
> > *   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/
> > 
> 
> 
> 
> 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]
> web: http://www.sml.hw.ac.uk/ecomes
> ________________________________________________________________
> 
> DISCLAIMER:
> 
> 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:
> *   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