Hi all,
I'm investigating exports to the Central and Eastern European countries from the rest of Europe. I have panel data over the last 20 years in my survey.
I have conducted a hausman test which tells me that I should use fixed effect (as expected).
However fixed effects omits my time-invariant variables, which I am interested in keeping in the equaiton, so I have tried to do country-pair fixed effects, because I have read that it is then possible keep the time-invariant variables.
But, when I try to conduct it in Stata it still omits my variables (But it works with OLS, Poisson and Random effects).
I grouped it:
egen pairid = group(country_ceec partner)
So far I have tried (and only used distance as a time-invariant variable):
xtreg imports_1000 lgdp_ceec lgdp_partner ldist offlang year*, fe robust
xtreg limports lgdp_ceec lgdp_partner ldist year_* exporter_*, fe cluster(pairid)
xtreg limports lgdp_ceec lgdp_partner ldist offlang year* exporter_*, fe vce(robust)
Do anyone know what I am missing in this, since distance keeps being omitted? I would appreciate if anyone had a solution.
Thanks in advance,
Nina
I'm investigating exports to the Central and Eastern European countries from the rest of Europe. I have panel data over the last 20 years in my survey.
I have conducted a hausman test which tells me that I should use fixed effect (as expected).
However fixed effects omits my time-invariant variables, which I am interested in keeping in the equaiton, so I have tried to do country-pair fixed effects, because I have read that it is then possible keep the time-invariant variables.
But, when I try to conduct it in Stata it still omits my variables (But it works with OLS, Poisson and Random effects).
I grouped it:
egen pairid = group(country_ceec partner)
So far I have tried (and only used distance as a time-invariant variable):
xtreg imports_1000 lgdp_ceec lgdp_partner ldist offlang year*, fe robust
xtreg limports lgdp_ceec lgdp_partner ldist year_* exporter_*, fe cluster(pairid)
xtreg limports lgdp_ceec lgdp_partner ldist offlang year* exporter_*, fe vce(robust)
Do anyone know what I am missing in this, since distance keeps being omitted? I would appreciate if anyone had a solution.
Thanks in advance,
Nina
Comment