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
Bootstrapping with aregDear All, I am having difficulty bootstrapping with areg. I have a low number of clusters and have …
Lasso: Fitting mixed-effects logit modelsHi, I haven't been able to find a reference for doing this in Stata, but was wondering if anyone ha…
How do you generate a categorical variable which takes on values 0 and 1 in 60% and 40% observations respectively?The problem is that the output always shows a little or above it. For example, there are 10000 obser…
Generating a random variable with a specific mean and sdHi, I would like to generate a random variable with a specific mean and standard deviation. It does…
Month-wise regressions using daily dataDear Stata comunity, I need to run month-wise fama and french three factor model regressions using …
Subscribe to:
Post Comments (Atom)
0 Response to controlling for fixed effects
Post a Comment