Dear Statalist Community,
I am new to Stata and I need some help for my thesis, I am an Economics major. I have to run a gravity equation to study how trade flows (exports) between countries vary according to a certain risk index. This index changes over time and it is defined only for the importing country.
My problem is that if I include importer fixed effects, the variable drops. From what I have read in guides on gravity equations (e.g. WTO handbook), it seems standard to include exporter×year and importer×year fixed effects (to capture multilateral resistance), and country-pair fixed effects plus year fixed effects. But if I do that, I cannot estimate the effect of my risk index (importer-specific variable) anymore.
This is the specification I tried to use:
ppmlhdfe tradeflow_baci ln_risk ln_dista contig comcol, absorb(exp_id#year imp_id#year pair_id)
With gives me the following result
note: 1 variable omitted because of collinearity: ln_risk
So my questions are:
1. Is it always necessary to include the full sets of fixed effects (exporter×year, importer×year, and pair FE) for the model to be empirically sound?
2. If my research question is specifically about the effect of this importer-specific, time-varying variable, is it acceptable to drop the exporter FE + year FE so that I can estimate its effect?
If you have any suggestions of theory references or practical advice on what specification would be sound in this situation, I would be extremely grateful. I am not too familiar with gravity models or STATA.
Thank you very much!
I am new to Stata and I need some help for my thesis, I am an Economics major. I have to run a gravity equation to study how trade flows (exports) between countries vary according to a certain risk index. This index changes over time and it is defined only for the importing country.
My problem is that if I include importer fixed effects, the variable drops. From what I have read in guides on gravity equations (e.g. WTO handbook), it seems standard to include exporter×year and importer×year fixed effects (to capture multilateral resistance), and country-pair fixed effects plus year fixed effects. But if I do that, I cannot estimate the effect of my risk index (importer-specific variable) anymore.
This is the specification I tried to use:
ppmlhdfe tradeflow_baci ln_risk ln_dista contig comcol, absorb(exp_id#year imp_id#year pair_id)
With gives me the following result
note: 1 variable omitted because of collinearity: ln_risk
So my questions are:
1. Is it always necessary to include the full sets of fixed effects (exporter×year, importer×year, and pair FE) for the model to be empirically sound?
2. If my research question is specifically about the effect of this importer-specific, time-varying variable, is it acceptable to drop the exporter FE + year FE so that I can estimate its effect?
If you have any suggestions of theory references or practical advice on what specification would be sound in this situation, I would be extremely grateful. I am not too familiar with gravity models or STATA.
Thank you very much!
Comment