Statalist


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

st: time invariant vars and fixed effects


From   "Stefano Costalli" <stefano.costalli@imtlucca.it>
To   statalist@hsphsun2.harvard.edu
Subject   st: time invariant vars and fixed effects
Date   Fri, 02 May 2008 18:43:29 +0200

Dear all, 

I'm searching for ways to obtain coefficients of time invariant variables in a fixed effects model. I have tried with -xtfevd-, a command recently written and discussed on this forum, but I'd like to do some comparisons.
I found a paper where the author says that he calculated the coefficients of time invariant variables in two steps. First, he runs the fixed effects model with all indep. vars. and then he runs an ols regression of the time invariant variables on the results of the fixed effects (that in this step embody the dep. var.). I have some problems in understanding this step. 
Could someone help me? How would you transtale it in stata language? I mean, the first step is easy (-xtreg- with -fe- option), but then how should I save the results of the fixed effects? And, finally: do you think the solution he proposes is correct?
Many thanks, 

Stefano
*
*   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