Hey there!
For my thesis I have to estimate a Gravity Model of international Trade. I use over 30 countries during the time of 19902017. I have variables which vary over time (GDP and Exports) and constant variables (distance) as well as constant and changing dummies. I transferred my Data in 3d panel form to EViews, but now I am lost how to estimate the model.
I tried: equation eq.ln @log(exports_ij) c @log(GDP_ij) @log(distance) @dummy
but it is not working.
Further my GDP data is in current USD and my Exports in thousand current USD, how can I adjust those values?
Thank you in advance!
Gravity Model of international Trade
Moderators: EViews Gareth, EViews Moderator

 Nonnormality and collinearity are NOT problems!
 Posts: 3504
 Joined: Wed Sep 17, 2008 2:25 pm
Re: Gravity Model of international Trade
I don't think @dummy is a function. Perhaps you were looking for @expand?
Re: Gravity Model of international Trade
Thank you!
So it is: @log(exports_ij) c @log(GDP_j) @log(distance) @expand(dummy)?
So it is: @log(exports_ij) c @log(GDP_j) @log(distance) @expand(dummy)?

 Nonnormality and collinearity are NOT problems!
 Posts: 3504
 Joined: Wed Sep 17, 2008 2:25 pm
Re: Gravity Model of international Trade
Probably best to read the help documentation.
Re: Gravity Model of international Trade
I did and I figured out an equation that is leading me to an output:
log(exports_ij) c log(gdp_i) log(gdp_j) log(distw) log(dist) log(distwces) log(distcap) combo cefta_new cefta_92 lang_off colony curcol col45 smctry
but somehow my cefta_new coefficient is negative (cefta_92 is positive) and my distance coefficient positive. I can't find a mistake in my data.
log(exports_ij) c log(gdp_i) log(gdp_j) log(distw) log(dist) log(distwces) log(distcap) combo cefta_new cefta_92 lang_off colony curcol col45 smctry
but somehow my cefta_new coefficient is negative (cefta_92 is positive) and my distance coefficient positive. I can't find a mistake in my data.

 Nonnormality and collinearity are NOT problems!
 Posts: 3504
 Joined: Wed Sep 17, 2008 2:25 pm
Re: Gravity Model of international Trade
It doesn't look like you've included any dummies.
Re: Gravity Model of international Trade
combo cefta_new cefta_92 lang_off colony curcol col45 smctry are the dummies

 Nonnormality and collinearity are NOT problems!
 Posts: 3504
 Joined: Wed Sep 17, 2008 2:25 pm
Re: Gravity Model of international Trade
I don't know why you are getting that result. Perhaps someone who has estimated gravity models will have an insight. But you'll have to give clear definitions of all your variables.
Re: Gravity Model of international Trade
I checked my variables again and I am really desperate now. I'll attach my excell data.
I would be more than thankful if anyone could help me!
I would be more than thankful if anyone could help me!

 Nonnormality and collinearity are NOT problems!
 Posts: 3504
 Joined: Wed Sep 17, 2008 2:25 pm
Re: Gravity Model of international Trade
No one knows what your variable names mean.
Who is online
Users browsing this forum: No registered users and 7 guests