I run the regression model reghdfe log_depvar varminus4 varminus3 varminus2 varminus1 var_event varplus1 varplus2 varplus3 varplus4 firmid i.country#year, absorb(firmid year ) vce(cluster firmid). I added i.country#year to assign each country its own country specific time trend but it doesn't seem to be working.
My intention is to make sure that the period varminus4-var_event has a flat trend, but this is not the case.
Can someone help with model specification to include a country specific time trend.
My intention is to make sure that the period varminus4-var_event has a flat trend, but this is not the case.
Can someone help with model specification to include a country specific time trend.
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float firmid double year float(varminus4 varminus3 varminus2 varminus1 var_event varplus1 varplus2 varplus3 varplus4 log_depvar countrynum industrycode country_year country_ind ind_year firmid_year) 1 1993 0 1 0 0 0 0 0 0 1 0 2 5 10 8 146 1 1 1994 0 0 1 0 0 0 0 0 0 0 2 5 11 8 147 2 1 1995 0 0 0 1 0 0 0 0 0 .6931472 2 5 12 8 148 3 1 1996 0 0 0 0 1 0 0 0 0 0 2 5 13 8 149 4 1 1997 0 0 0 0 0 1 0 0 0 0 2 5 14 8 150 5 end

Comment