Hello everyone,
I am currently writing my Master Thesis and I try to explore the effect of leaving a trade agreement on trade flows. Therefore I collected panel data from 2000-2013 for 2 different countries. My independent variable is imports and my dependent variable of interest is the dummy exitATPDEA, which turns 1 if the treatment applies. I am using HS-6 digit data and have the trade flows precisely for roughly 5500 product categories. My id grouping includes productcode and country.
My question: My professor recommended me to use the reghdfe command in stata to explore my independent and depend variable. However, when I run the following code:
reghdfe limports exitATPDEA i.year, absorb(id) vce(robust)
, I don't get significant results. When I do the same with the normal xtreg command my result are significant. What could be possible reasons for my insignificant results?
So far I have only come up with that I might have an unbalanced data set in which my treatment observations are underrepresented. Furthermore, I read that with reghdfe one should have more than 50 clustering groups. Since I am new to this, I do not know how many groups I have.
Overall, I am pretty lost with this approach since, even after reading up the paper by Correia and the help page, I do not seem to get the grip of why I need to apply reghdfe in my model.
I know that these questions are on the beginners level but I would anyway appreciate any comments on my post. Thank you so much in advance. Kind regards.
Array
Related Posts with Difference in Difference Analysis with Panel Data via REGHDFE, missing significance.
Fontsize of atrisk table in survival sts graphHi all! I struggle to define the fontsize for the atrisk table displayed in the graph when running …
Diff in Diff as random effects modelHi, i have a short question: Is it possible to perform a diff in diff analysis with a random effec…
Loops and local macroGreetings everybody, I have one big dataset with variables starting from v4 to v66, and I want to d…
Direct Effects, Indirect Effects and post-estimation commands after spmlregHi Stata Users I have managed to run a Spatial Durbin Model using the SPMLREG using the following c…
maximum number of iterations exceeded" with predictnl commandPlease stata show me this message "maximum number of iterations exceeded" when i use the predictnl c…
Subscribe to:
Post Comments (Atom)
0 Response to Difference in Difference Analysis with Panel Data via REGHDFE, missing significance.
Post a Comment