IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2509.11271.html
   My bibliography  Save this paper

Out-of-sample gravity predictions and trade policy counterfactuals

Author

Listed:
  • Nicolas Apfel
  • Holger Breinlich
  • Nick Green
  • Dennis Novy
  • J. M. C. Santos Silva
  • Tom Zylkin

Abstract

Gravity equations are often used to evaluate counterfactual trade policy scenarios, such as the effect of regional trade agreements on trade flows. In this paper, we argue that the suitability of gravity equations for this purpose crucially depends on their out-of-sample predictive power. We propose a methodology that compares different versions of the gravity equation, both among themselves and with machine learning-based forecast methods such as random forests and neural networks. We find that the 3-way gravity model is difficult to beat in terms of out-of-sample average predictive performance, especially if a flexible specification is used. This result further justifies its place as the predominant tool for applied trade policy analysis. However, when the goal is to predict individual bilateral trade flows, the 3-way model can be outperformed by an ensemble machine learning method.

Suggested Citation

  • Nicolas Apfel & Holger Breinlich & Nick Green & Dennis Novy & J. M. C. Santos Silva & Tom Zylkin, 2025. "Out-of-sample gravity predictions and trade policy counterfactuals," Papers 2509.11271, arXiv.org, revised Sep 2025.
  • Handle: RePEc:arx:papers:2509.11271
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2509.11271
    File Function: Latest version
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2509.11271. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.