Statalist The Stata Listserver


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

st: RE: weighted least squares with fixed effects


From   "Schaffer, Mark E" <[email protected]>
To   <[email protected]>
Subject   st: RE: weighted least squares with fixed effects
Date   Tue, 16 May 2006 16:03:15 +0100

Maarten,

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Allers
> Sent: 16 May 2006 12:49
> To: [email protected]
> Subject: st: weighted least squares with fixed effects
> 
> Dear Stata users,
> 
> The -areg- command can estimate a fixed effects model with weights,
> e.g.: areg  depvar indepvars [fweight=population], absorb(countycode).
> However, when I do this, I get standard errors that are way 
> too low, because Stata artificially increases the sample size 
> with the weight variable (here: population). Adding -robust- 
> is no solution. Does anyone have a solution?

-xtivreg2- supports fixed effects, weights, and no instrumenting, which
I think is what you are looking for.

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
 


> Regards,
> 
> Maarten
> 
> *
> *   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