An edited version of the full gravity dataset: The "square" gravity dataset for all possible pairs of Countries worldwide, 1948-2006, which is used in the article: Head, K., T. Mayer and J. Ries, 2010, "The erosion of colonial linkages after independence". Journal of International Economics, 81(1):1-14 (lead article).
Dataset gravity_no_zeros
corresponds to the dataset without zero trade flows, gravity_zeros
, on the other hand, includes zero trade flows.
data("gravity_no_zeros")
A data frame with 17088 observations on the following 10 variables.
iso_o
ISO-Code of country of origin
iso_d
ISO-Code of country of destination
distw
weighted distance
gdp_o
GDP of country of origin in million dollars
gdp_d
GDP of country of destination in million dollars
rta
regional trade agreement dummy
flow
trade flow in million dollars
contig
contiguity dummy
comlang_off
common official language dummy
comcur
common currency dummy
Head, K. and Mayer, T. (2014). Chapter 3 - gravity equations: Workhorse,toolkit, and cookbook. In Gita Gopinath, E. H. and Rogoff, K., editors, Handbook of International Economics, volume 4 of Handbook of International Economics, pages 131-195. Elsevier. (Gravity Equations: Workhorse, Toolkit, and Cookbook)
Head, K., T. Mayer and J. Ries, 2010, "The erosion od colonial linkages after independence". Journal of International Economics, 81(1):1-14 (lead article).
data(gravity_no_zeros)
str(gravity_no_zeros)
Run the code above in your browser using DataLab