Hi,
This may be a weird question but I am trying to run a Difference in differences model in which I have two years of data and the treatment occurs in the second year. My post variable takes a value of 1 if the observation is from the second year and 0 otherwise. I was running my model and noticed something odd. Why is it that when I run the model: reg outcome DD post treat i.year i.month i.state i.year#i.month i.year#i.state and reg outcome DD post treat i.month i.state i.year#i.month i.year#i.state , I get different results? Does not the post variable account for year fe anyways?
Related Posts with controlling for fixed effects
Formatting Dates and TimesI am trying to convert a string date-time to numeric. However, when I do this, it seems that the tim…
Panel Data ECM interpretation with xtpmgHi! I'm using xtpmg for Panel Data ECM, but I don´t know how to interpret it. Has it the same inter…
Out-of-sample prediction after -fp-Is there other than "manual" way to calculate out-of-sample predictions after fractional polynomial …
Negative log likelihoodHi Everyone, I am running an ARDL - ECM on time series data containing continuous variables. 3 of m…
Independent Variable Significance for Similar DependentsHi All, I'm running a panel regression, with my dependent variable being the foreign value-added sh…
Subscribe to:
Post Comments (Atom)
0 Response to controlling for fixed effects
Post a Comment