Statalist The Stata Listserver


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

st: RE: xtreg, fe and weights


From   "Schaffer, Mark E" <M.E.Schaffer@hw.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: xtreg, fe and weights
Date   Thu, 28 Sep 2006 21:33:41 +0100

Daniel,

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu 
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of 
> Daniel H. Simon
> Sent: 28 September 2006 21:25
> To: statalist@hsphsun2.harvard.edu; statalist@hsphsun2.harvard.edu
> Subject: st: xtreg, fe and weights
> 
> Hi - I'm estimating a weighted fixed-effects model. I'm using 
> -areg- to do so. However, I want to obtain the within 
> r-squared. When I try and run -xtreg, fe- with any of the 
> weights options, I get an error message that weights are not 
> allowed. So, is there any other way to get the within 
> r-squared while estimated a weighted fe model? thanks. Daniel

-xtivreg2- supports weights, and straight LSDV as well as IV, so it
should do want you want.

--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: m.e.schaffer@hw.ac.uk
web: http://www.sml.hw.ac.uk/ecomes

 
> 
> *
> *   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index