Hello,
Can someone please help me understand two issues I have?
I am doing a gravity model with panel data on several countries. My goal is to estimate a treatment effect that is observed for one country. The main issue I am having is properly including exporter-time and importer-time fixed effects. Xtset is pair_id year.
My questions:
(1) If I put the treatment variables : i.treat##i.time BEFORE exporter-time fixed effects, I can estimate treatment. But if put them AFTER exporter-time fixed effects, results for treatment are completely omitted. I suspect that the latter is correct, since it seems that maybe Stata accounts for exporter-time fixed effects first then the treatments?
(2) I understand that my group of exporters are all either treated or not treated, and this is why they are dropping out of my fixed effects. However I really do not want to omit exporter fixed effects, is there any obvious work around?
thank you,
Donovan.
Related Posts with Two questions on fixed effects in stata
Building Index based on dummy and ordered multinomial variablesDear Stata users, I am working on the replication of a poverty index based on 34 socieconomic varia…
Displaying thousands with "K" suffixI wish that my data will display shortened numbers, for example: I wish to display the number "1000…
int() and round()I am rounding values of a variable to the closest integer. For some reason, int(x) and round(x) give…
Creating an indicator for when different observations in a group have the same value on a variableCould someone please take a look at a line of code and tell me where I am going wrong. Of my 3,000 U…
Question about Generalized DIDHi everyone, I have a research project trying to investigate the impact of a policy shock, and the …
Subscribe to:
Post Comments (Atom)
0 Response to Two questions on fixed effects in stata
Post a Comment