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
Triple-Difference (DDD) Estimation and coefficientsDear Everyone, I have a question regarding the estimation of the following dataset example using Tr…
Can we copy the contents of one data frame to another without destroying hidden frames attached to the second?Fellow Statalisters (especially StataCorp) I have a Stata 16 query about data frames. Is it possibl…
Invalid Chi2I have this code that keeps throwing "Invalid Chi2" Where am I wrong please? Code: local varie_eff…
Breusch-Pagan TestHello I am trying to do a Breusch-Pagan test to test for heteroscedasticity. I have to regression m…
Random of Fixed Effects?I am currently writing a dissertation on the effect of foreign aid on the human development index. …
Subscribe to:
Post Comments (Atom)
0 Response to Two questions on fixed effects in stata
Post a Comment