You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
I am still struggling with the fixed effects dummies, I have tried to create them for year and countries, yet when I run my regressions using something like...
...the time constant factors such as distance, comlang and border are still not dropping out of my regression. Hence I must be generating the fixed effects wrong.
Are you able to provide me with Stata code on how to generate these year and country dummies, I am currently using -
The fact that those variables are not dropped does not mean that you are doing something wrong; maybe you are just not understanding your results. Consider the following example.
Code:
cls
clear all
sysuse auto
reg price mpg rep78 i.rep78
reg price mpg i.rep78 rep78
The variables dropped in the two cases are different, but it does not matter which is dropped because the only coefficient that matters is the same in both cases.
I am still getting different results from the estimation using ppml and ppml_panel_sg.
The ppml does not drop the the trade creation and diversion variables that I have introduced while ppml_panle_sg does, while estimating using origin and destination time varying fixed effects.
Sir will it be possible for you to have a look at my results via email?
Making results available on external sources is not a good practice; you could just paste here the relevant parts. Anyway, it looks like you are not including "border" in the -ppml- estimation.
Dear Sir,
I am extremely sorry for this. I will post the relevant parts of the results here.
Would the inclusion of border variable alter the dropping of trade creation and diversion variables?
My main problem is that the way I have introduced the trade creation and trade diversion (import and export) variables, the -ppml- command does not drop these while the -ppml_panel_sg- command does. What is wrong with my estimation, that different results are being generated?
The think that is important to compare is the coefficient of distance, and that will change if you omit the border dummy. If you estimate the models with the same variables you should get the same results for the variables whose coefficients are identified; for the others you may get different results and different variables being dropped, but that is irrelevant.
Thank you for the response. This means that the results for identified variables will be the same but those which are not identified (like the TC TD variables) can vary or dropped.
Am I understanding this correctly Sir?
One more question, in the paper "log of gravity", the MRTs have been controlled for by introducing exporter and importer specific fixed effects in a cross-sectional setup. But if panel data were to be used will it be wrong to control for MRTs the same set of fixed effects? In that case would Exporter and importer time varying fixed effects correctly capture the MRTs?
First of all, thanks to João for all the answers in this forum, they helped me to clarify some questions.
I have several questions, but let me explain what I am doing. I am estimating the determinants of exports of a specific product from one country to its main trade partners. The data is 10 years long and I have a sample of 20 destination countries that represent around 90% of all exports.
So, now i have some questions:
1- I should not use ppml command, right? I think João already suggested to someone xtpoisson or xtpqml, but are 200 observations enough to do that?
2- If I use the option fixed effects I will not be able to estimate time-invariant variables like distance or language. What can I do to estimate them? To use random effects?
I previously estimated a Random effects model and a Fixed effects model and the Hausman test pointed preference for the FE model.
Can I estimate:
Code: xtpoisson value lgdppc ler ltar ldist lang land Prod10 emig yr*
and code: xtpoisson value lgdppc ler ltar ldist lang land Prod10 emig yr*, fe (it will drop ldist, lang and land)
then let Hausman postestimation command determine which is the best?
Also, I know that there is the possibility of not estimating them and just assume that they do not have
additional information.
Comment