Hello everyone,
Happy to have joined Statalist after being a long-time lurker.
I'm a Master's student estimating his very first gravity model. I'm looking at bilateral trade flows for 40 countries between 1999-2019. My regressors are gdp (both for origin and destination), distance between countries, classic binary variables (contiguity, common language, colonial links and rta). Finally, my main variable of interest is an index (0-6) called EPS which measures environmental policy stringency for both origin and destination country.
I have generated FE as follows:
I then use the ppml command to estimate my model:
In many other posts about gravity models, the discussion was centred around multicollinearity caused by the FE and countries' characteristics (gdp, for example). It seems that you cannot estimate them when introducing FE, which would be a huge problem for me since I'm interested in this EPS index. Indeed, apparently Stata drops these variables automatically.
Since I'm quite new to this, I have a couple of questions:
1) In my case, and with the code I used, Stata does not drop any of my regressors (only a couple of dummies FE). Besides, I get significant coefficients that are in line with the relevant literature. So, is my code actually OK and are my coefficients reliable?
2) I have read many gravity papers that estimate a model using PPML with FE. Nonetheless, they still estimated countries' characteristics (GDP and so on). So, what am I missing? I'd be grateful if you could shed some light on this collinearity situation.
Many thanks for your help.
Basile Feller
Happy to have joined Statalist after being a long-time lurker.
I'm a Master's student estimating his very first gravity model. I'm looking at bilateral trade flows for 40 countries between 1999-2019. My regressors are gdp (both for origin and destination), distance between countries, classic binary variables (contiguity, common language, colonial links and rta). Finally, my main variable of interest is an index (0-6) called EPS which measures environmental policy stringency for both origin and destination country.
I have generated FE as follows:
Code:
egen exporters = group(exporter year) egen importers = group(importer year) quietly tabulate exporters, generate(exp_dum_) quietly tabulate importers, generate(imp_dum_)
Code:
ppml trade ln_gdp_exp ln_gdp_imp eps_e eps_i ln_distance rta contig comlang_off exp_dum_* imp_dum_*, cluster(dist)
Since I'm quite new to this, I have a couple of questions:
1) In my case, and with the code I used, Stata does not drop any of my regressors (only a couple of dummies FE). Besides, I get significant coefficients that are in line with the relevant literature. So, is my code actually OK and are my coefficients reliable?
2) I have read many gravity papers that estimate a model using PPML with FE. Nonetheless, they still estimated countries' characteristics (GDP and so on). So, what am I missing? I'd be grateful if you could shed some light on this collinearity situation.
Many thanks for your help.
Basile Feller
Comment