Can Machine Learning Beat Gravity in Flow Prediction?

György Ruzicska*, Ramzi Chariag, Olivér Kiss, Miklós Kiss

*Corresponding author for this work

    Research output: Contribution to Book/Report typesChapterpeer-review

    Abstract (may include machine translation)

    Understanding geospatial flows, such as the movement of goods or people between locations, is critical for a wide range of policy questions. Various formulations of the gravity equation have been commonly used to model these flows. But can this equation predict future geospatial flows with high accuracy, and how do more complex machine learning models stack up against it? This chapter evaluates the out-of-sample predictive accuracy of four classes of models—standard gravity equations, random forests, neural networks, and graph neural networks—across three distinct data sets: international trade, inter-state mobility in the U.S., and intra-state human mobility. By most metrics, machine learning models only marginally outperform the gravity equation. The high explanatory power achieved by all models is primarily due to their ability to explain cross-sectional variation rather than time-series changes. Our findings provide nuanced insights into the strengths and weaknesses of different modelling approaches for geospatial flows, informing future research and policy considerations.

    Original languageEnglish
    Title of host publicationThe Econometrics of Multi-dimensional Panels
    Subtitle of host publicationTheory and Applications
    EditorsLaszlo Matyas
    PublisherSpringer Science and Business Media Deutschland GmbH
    Pages511-545
    Number of pages35
    ISBN (Electronic)978-3-031-49849-7
    ISBN (Print)978-3-031-49848-0, 978-3-031-49851-0
    DOIs
    StatePublished - 2024

    Publication series

    NameAdvanced Studies in Theoretical and Applied Econometrics
    Volume54
    ISSN (Print)1570-5811
    ISSN (Electronic)2214-7977

    Fingerprint

    Dive into the research topics of 'Can Machine Learning Beat Gravity in Flow Prediction?'. Together they form a unique fingerprint.

    Cite this