Statalist The Stata Listserver


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

st: RE: transform areg R-sqr to xtreg R-sqr or weight for xtreg?


From   "Schaffer, Mark E" <[email protected]>
To   <[email protected]>
Subject   st: RE: transform areg R-sqr to xtreg R-sqr or weight for xtreg?
Date   Fri, 27 Apr 2007 07:39:53 +0100

Weiwei,

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> [email protected]
> Sent: 27 April 2007 02:16
> To: [email protected]
> Subject: st: transform areg R-sqr to xtreg R-sqr or weight for xtreg?
> 
> Hi,    I am running a fixed-effect model for my analysis. I 
> use areg because
> xtreg does not allow me to use analytical weights (actually 
> any weights).
> However, for me, the within R-sqr reported by xtreg is more 
> relevant than areg adjusted R-sqr.

-xtivreg2- will estimate basic fixed effect models with exogenous
regressors, allows aweights, and reports a within R-sq.  From within
Stata,

findit xtivreg2

and follow the links.

Cheers,
Mark

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-3296
email: [email protected]
web: http://www.sml.hw.ac.uk/ecomes
 


> Could anybody tell me how 
> to transform "areg adjusted R-sqr" to  "within R-sqr"; or how 
> to make xtreg allow aweights for a FE model? Thanks for your help!
> 
> *
> *   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