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
Tabulating (counting) within many groups in a dataset does one company appearHello, I'm working with a many:1 dataset where each observation represents a single insurance polic…
Is it possible to tag duplicates sequentially?Hi Everyone! My data looks like below and I request for any syntax that helps to tag the duplicates …
Using -xtologit- postestimation tools (particularly margins) when independent variables include an interaction of two binary variablesHi Users, Long time quiet reader, first time poster - I hope I have followed the community recommen…
dpplot command, use xline() option but not showing the vertical line in graphDear Statalist: I am trying to draw a density probability plots. I am using dpplot in Stata 17 MP.…
Merging two datasetsHello, I have to merge two datasets. The key variable is str32. The problem I'm facing is that in o…
Subscribe to:
Post Comments (Atom)
0 Response to controlling for fixed effects
Post a Comment