Skip to content

ceumicrodata/gravity-vs-ml

Repository files navigation

Replication Package for:

2022-11-10

Authors

Data availability and provenance statements

Statement about rights

The author(s) of the manuscript have legitimate access to and permission to use the data used in this manuscript.

Summary of availability

All data are publicly available.

Details on each data source

UN Comtrade

clarify license terms

CEPII GeoDist

CEPII GeoDist (CEPII 2011 and Mayer and Zignago 2011) is available via an Open License 2.0. We are sharing the data here in compliance with the license terms.

World Development Indicators

The World Development Indicators (World Bank 2022) is available with a CC-BY-4.0 license. We are sharing the data here in compliance with the license terms.

Country codes

Country codes are fetched from Data hub under a PDDL License.

Country groups

Country groups were collected by GeoDataSource and distributed under a CC BY-SA 4.0 License.

US mobility and county adjacencies

See here. County adjacencies come from the US Census Bureau. Mobility data includes county level mobility characteristics from Google.

Description of programs/code

The entire data cleaning and analysis can be executed with make. See the Makefile in the root of the folder.

(Optional, but recommended) License for Code

The code is licensed under a MIT/BSD/GPL/Creative Commons license. See LICENSE.txt for details.

Computational requirements

Software requirements

  • Stata (code was last run with version 17)
    • here (can be installed with net install here, from("https://raw.githubusercontent.com/korenmiklos/here/master/"))
    • reghdfe (can be installed with ssc install reghdfe)
  • GNU Make

Memory and runtime requirements

Creating the data extract (temp/analysis_sample_dyadic.dta) takes about 15 minutes on a quad-core 3.8GHz machine with 8GB of memory. Each estimation runs in a few minutes.

Summary

Approximate time needed to reproduce the analyses on a standard (2020) desktop machine: 30 minutes.

List of tables and figures

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •