Description Usage Format Source References Examples
yearly observations of 91 pairs of countries from 1960 to 2001
number of observations : 3822
number of time-series : 42
country : Europe
package : gravity
JEL codes: C51, F14
Chapter : 06
1 |
A dataframe containing:
the year
a pair of countries
the sum of logged exports and imports, bilateral trade flow
the sum of the logged real GDPs
a measure of similarity between two trading countries;
a measure of relative factor endowments;
the logged bilateral real exchange rate;
a dummy equal to 1 when both belong to European Community;
a dummy equal to 1 when both adopt the common currency;
the geographical distance between capital cities;
a dummy equal to 1 when the trading partners share a border;
a dummy equal to 1 when both speak the same language;
the logarithm of real exchange rates between the European currencies and the U.S. dollar;
the time specific common factors (individual means) of the variables trade
the time specific common factors (individual means) of the variables gdp
the time specific common factors (individual means) of the variables sim
the time specific common factors (individual means) of the variables rlf
the time specific common factors (individual means) of the variables rer
Journal of Applied Econometrics Data Archive : http://qed.econ.queensu.ca/jae/
Serlenga, Laura and Yongcheol Shin (2007) “Gravity Models of Intra-eu Trade: Application of the Ccep-ht Estimation in Heterogenous Panels with Unobserved Common Time-specific Factors”, Journal of Applied Econometrics, 22, 361–381, doi: 10.1002/jae.944 .
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #### Example 6-3
## ------------------------------------------------------------------------
## Not run:
data("TradeEU", package = "pder")
library("plm")
## ------------------------------------------------------------------------
ols <- plm(trade ~ gdp + dist + rer + rlf + sim + cee + emu + bor + lan, TradeEU,
model = "pooling", index = c("pair", "year"))
fe <- update(ols, model = "within")
fe
## ------------------------------------------------------------------------
re <- update(fe, model = "random")
re
## ------------------------------------------------------------------------
phtest(re, fe)
## ----results='hide'------------------------------------------------------
ht1 <- plm(trade ~ gdp + dist + rer + rlf + sim + cee + emu + bor + lan |
rer + dist + bor | gdp + rlf + sim + cee + emu + lan ,
data = TradeEU, model = "random", index = c("pair", "year"),
inst.method = "baltagi", random.method = "ht")
ht2 <- update(ht1, trade ~ gdp + dist + rer + rlf + sim + cee + emu + bor + lan |
rer + gdp + rlf + dist + bor| sim + cee + emu + lan)
## ------------------------------------------------------------------------
phtest(ht1, fe)
phtest(ht2, fe)
## ------------------------------------------------------------------------
ht2am <- update(ht2, inst.method = "am")
## ------------------------------------------------------------------------
phtest(ht2am, fe)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.