Dear Forum,
I have a panel of firm-year observations from different countries. A given firm will be constantly attributed to one specific country at all times and furthermore be assigned to a treatment or control group ("Treat"=0 or 1 respectively).
Years pre-treatment are coded as Post=0 and years post-treatment with Post=1
I want to run a difference-in-difference accounting for country specific characteristics that influence the level of the dependent variable. Therefore my idea is to include country fixed-effects.
The countries feature a varying amount of firms and also the proportion of firms with Treat=0 or = 1 varies between countries. idc is unique per firm.
My formal model looks like this:
Array
I estimate it using reghdfe and cluster standard errors on firm level:
xtset idc year
reghdfe DepV Post Treat Interaction (list of controls), absorb (country) vce(cluster idc)
The regression runs fine. My question is if it is alright to use fixed effects in a DID model, since demeaning also influences the Treat, Post and Interaction. And if it is okay, if reghdfe is a proper way to do so?
Thank you for your support!
Related Posts with Inclusion of country-fixed effects in a difference-in-difference model, specified on firm-year level and using REGHDFE
First Difference RegressionHi, I'm looking for the right command to run first difference regression and have found it. I found …
How to get first difference of count variable for poisson regressionPoisson regression (xtpoisson) requires the dependent variable to be a non-negative count variable. …
Store the outcome from xttest0Hi Guys I meet the problem when I am trying to store the result from xttest0. I learned how to stor…
Unable to replicate Stata 16 code local x = r(table)[1,1] in Stata 15Dear all, I have run into a problem trying to replicate some code from Stata 16 in Stata 15. Do you…
ADF, Stationarity at 5 and 10%Hi All If variables after first difference are stationary only at the 5% and 10% critical values, a…
Subscribe to:
Post Comments (Atom)
0 Response to Inclusion of country-fixed effects in a difference-in-difference model, specified on firm-year level and using REGHDFE
Post a Comment