I'm struggling to know how to implement a triple differences specification in reghdfe into xtdidregress. If I have a regression like
y = b0 + b1*x1 + b2*x2 + b3*treatment
+ b4*x1*x2 + b5*x1*treatment + b6*x2*treatment
+ b7*x1*x2*treatment + fixed effects + ...
=> reghdfe y x1 treatment#x1 x2#x1 treatment#x1#x2, vce(cluster ..) absorb(…)
but it seems that xtdidregress isn’t made for this kind of triple interaction DnD. It seems it’s built more for the simpler form (?)
y = b0 + b1*x1 + b2*x2 + b3*treatment + fixed effects + ...
question: is there any way to implement the triple interaction form into xdidregress.
Thanks
Related Posts with xtdidregress and reghdfe
Labeling multiple variables using the foreach loopI am trying to learn the foreach loop command in Stata 13.0. I want to label multiple variables usin…
destringingHello, I was wondering if anyone could help me destring certain variable in my dataset. I have a var…
Merging two databases. With different dates. Best method?Dear members, These days I am working on my (master) thesis and I am working with Stata in order t…
defining perfect sequence pairs and average non-perfect pairs of dataDear all, In the data structure below I have a perfect sequences Buy (B) Sell (S). Sometimes Buy or…
bootstrapping after xtregHi, I am using xtreg for a panel-data analysis and after xtreg, I need to do bootstrap. The problem …
Subscribe to:
Post Comments (Atom)
0 Response to xtdidregress and reghdfe
Post a Comment