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

Re: st: Basic fixed effects estimator question


From   Mark Schaffer <[email protected]>
To   [email protected], [email protected]
Subject   Re: st: Basic fixed effects estimator question
Date   Sat, 18 Dec 2004 11:58:10 +0000 (GMT)

Alejandro,

Try using Ben Jann's -center- command, downloadable from ssc in the usual 
way.  If you use it with the -casewise- option, it will generated a 
demeaned set of variables that you can use to do fixed-effects estimation 
by hand.  The standard errors will be wrong because you need to account 
for the degrees of freedom lost by the implicitly estimated fixed effects, 
but that can be fixed by hand as well.

Hope this helps.

--Mark

Quoting [email protected]:

> Hi Stata users,
>  
> I have a question about the estimator for fixed effects in
> the linear model. That is 
>  
> . xtreg, fe
>  
> I have seen in the XT manual ( version 8, p. 207) that this
> is estimated by running OLS on:
>  
> yit -yi(bar) + y (double bar) = ......
>  
> I was wondering if there is an easy way to force Stata to do
> the traditional version of this estimator, that is run OLS
> on:
>  
> yit - yi (bar) = ....
>  
> I know that I could transform the data but I will like to
> know if Stata can do this automatically. 
>  
> Thanks, 
> Alejandro 
> 
> *
> *   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-3294
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/



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