This question is not strictly related to Stata, I will remove if it is inappropriate.
In a diff-in-diff framework, I have discovered that a control variable (say variable x) differently affects the outcome variable, depending on the treatment status. Variable x is time-varying but constant across treated and controls. Therefore, if I insert x as a regressor I will not capture the different impact fro treated and untreated, of x on y.
One way I have in mind is: generating interaction terms between x and dummy variables for treatment/control and include them in the regression as regressors in place of x.
I mean:x_treat=x* DummyTreatment and x_control=x*(1-DummyTreatment)
Probably the fact that a control variable differently affects the outcome variables can be problematic for the parallel trend assumption. However, I am wondering whether we can solve this problem with this approach.
Thank you!
Cross-posted here: https://www.econjobrumors.com/topic/...1#post-5011971
Related Posts with Diff-in-diff and parallel trend assumption
desperately in need of helping with exporting sum stats tableI am desperately looking for the solution on exporting the summary stats tables. I typed commands as…
difference in difference with cem matching and clusteringHi Statalist users I have a panel data with project panel observations. However, each project has o…
moderation with quantile regressionDear all i hope you are doing good i'm working on my research paper and i want to try the moderate…
Removing Outliers Survey in Stata (For variables time)Hi guys, Appreciate any help. Basically I will want to remove outliers on certain criteria of (time …
Clogit with Additional Dummy VariablesHi, I am estimating a non-linear model by using clogit. My group variable is "industry by year". I …
Subscribe to:
Post Comments (Atom)
0 Response to Diff-in-diff and parallel trend assumption
Post a Comment