Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: re: SUREG by year


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: re: SUREG by year
Date   Mon, 2 Nov 2009 09:26:24 -0500

<>
Valeriano said

What about dummy invariant variables? If I run panel fixed effects they will disappear. Will it occur using SUREG? Dummy invariant variables are important in my model and I have some.


If you lie to Stata about how the panel is set up, it will run xtreg,fe with fixed effects by time rather than unit. In that context unit-specific variables (that do not vary over time) will be admissible. E.g.

webuse grunfeld, clear
tsset year company
 xtreg invest mvalue i.company, fe

Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html
   An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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