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
Finite mixture model vs. Latent class modelHi scholars, Would you please explain the difference between Finite mixture model and Latent class …
Generating unique ID variable from numeric and categorical variablesHello all, I am new to forum and I have a question about generating new IDs. Thanks for your patienc…
Graph optionsDear Stata users, I'm trying to combine multiple lqregpred (lqregpred adjs, for(v1) plotvs(v1)) gra…
Interpretation of the margins plot with categorical variablesHello every one, Iam having trouble interpreting a margins plot and the margins output as well whiil…
Plot log outcome on predicted propensity of TreatmentHey, I would like to draw a graph like the one below. How to i do that? The one in the bottom i hav…
Subscribe to:
Post Comments (Atom)
0 Response to Two questions on fixed effects in stata
Post a Comment