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

st: Re: Fixed effects and time dummy variables


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   st: Re: Fixed effects and time dummy variables
Date   Mon, 9 Jun 2003 20:33:52 -0500

----- Original Message ----- 
From: "Liliana Ramirez" <[email protected]>
To: <[email protected]>
Sent: Monday, June 09, 2003 5:17 PM
Subject: st: Fixed effects and time dummy variables


> Dear statalist,
>
> I am trying to perform regressions using xtreg command and fe.
> But when I am trying to control for time effects using dummy variables
> stata drops them inmediately. I have the same problem when controlling for
> geography.
>
> my regression looks like the following:
>
> xtreg loggdpp disteq openk ki kg unempl yr_1970 yr1980, fe
>
> Thanks for your help.
>
> Liliana

Just a guess and more questions, but did you -tsset- your data set correctly
with the panel variable first and then the time variable?  How did you
create the time dummies ( -xi- or -tab, gen()- )?  Are you sure your other
variables vary across time and space?

Scott




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