IDEAS home Printed from https://ideas.repec.org/p/nbr/nberwo/27151.html
   My bibliography  Save this paper

Machine Learning in Gravity Models: An Application to Agricultural Trade

Author

Listed:
  • Munisamy Gopinath
  • Feras A. Batarseh
  • Jayson Beckman

Abstract

Predicting agricultural trade patterns is critical to decision making in the public and private domains, especially in the current context of trade disputes among major economies. Focusing on seven major agricultural commodities with a long history of trade, this study employed data-driven and deep-learning processes: supervised and unsupervised machine learning (ML) techniques – to decipher patterns of trade. The supervised (unsupervised) ML techniques were trained on data until 2010 (2014), and projections were made for 2011-2016 (2014-2020). Results show the high relevance of ML models to predicting trade patterns in near- and long-term relative to traditional approaches, which are often subjective assessments or time-series projections. While supervised ML techniques quantified key economic factors underlying agricultural trade flows, unsupervised approaches provide better fits over the long-term.

Suggested Citation

  • Munisamy Gopinath & Feras A. Batarseh & Jayson Beckman, 2020. "Machine Learning in Gravity Models: An Application to Agricultural Trade," NBER Working Papers 27151, National Bureau of Economic Research, Inc.
  • Handle: RePEc:nbr:nberwo:27151
    Note: ITI
    as

    Download full text from publisher

    File URL: http://www.nber.org/papers/w27151.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Anne-Célia Disdier & Keith Head, 2008. "The Puzzling Persistence of the Distance Effect on Bilateral Trade," The Review of Economics and Statistics, MIT Press, vol. 90(1), pages 37-48, February.
    2. James E. Anderson & Eric van Wincoop, 2003. "Gravity with Gravitas: A Solution to the Border Puzzle," American Economic Review, American Economic Association, vol. 93(1), pages 170-192, March.
    3. Marianne Baxter, 2017. "Robust Determinants of Bilateral Trade," 2017 Meeting Papers 591, Society for Economic Dynamics.
    4. Athey, Susan & Imbens, Guido W., 2019. "Machine Learning Methods Economists Should Know About," Research Papers 3776, Stanford University, Graduate School of Business.
    5. Sampath Jayasinghe & John C. Beghin & Giancarlo Moschini, 2017. "Determinants Of World Demand For U.S. Corn Seeds: The Role Of Trade Costs," World Scientific Book Chapters, in: John Christopher Beghin (ed.), Nontariff Measures and International Trade, chapter 17, pages 309-320, World Scientific Publishing Co. Pte. Ltd..
    6. Edward Anderson, 2014. "Time differences, communication and trade: longitude matters II," Review of World Economics (Weltwirtschaftliches Archiv), Springer;Institut für Weltwirtschaft (Kiel Institute for the World Economy), vol. 150(2), pages 337-369, May.
    7. Sergio Correia & Paulo Guimarães & Tom Zylkin, 2020. "Fast Poisson estimation with high-dimensional fixed effects," Stata Journal, StataCorp LP, vol. 20(1), pages 95-115, March.
    8. Peter S. Liapis, 2012. "Structural Change in Commodity Markets: Have Agricultural Markets Become Thinner?," OECD Food, Agriculture and Fisheries Papers 54, OECD Publishing.
    9. Sendhil Mullainathan & Jann Spiess, 2017. "Machine Learning: An Applied Econometric Approach," Journal of Economic Perspectives, American Economic Association, vol. 31(2), pages 87-106, Spring.
    10. Anderson, James E, 1979. "A Theoretical Foundation for the Gravity Equation," American Economic Review, American Economic Association, vol. 69(1), pages 106-116, March.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Aggarwal, Sakshi, 2023. "LSTM based Anomaly Detection in Time Series for United States exports and imports," MPRA Paper 117149, University Library of Munich, Germany.
    2. Feras A. Batarseh & Munisamy Gopinath & Anderson Monken, 2020. "Artificial Intelligence Methods for Evaluating Global Trade Flows," International Finance Discussion Papers 1296, Board of Governors of the Federal Reserve System (U.S.).
    3. Francesca Micocci & Armando Rungi, 2021. "Predicting Exporters with Machine Learning," Working Papers 03/2021, IMT School for Advanced Studies Lucca, revised Jul 2021.
    4. Simon Blöthner & Mario Larch, 2022. "Economic determinants of regional trade agreements revisited using machine learning," Empirical Economics, Springer, vol. 63(4), pages 1771-1807, October.
    5. Qing Guo & Zishan Mai, 2022. "Do Chinese Photovoltaic Products Have Trade Potential in RCEP Countries? A BP Neural-Network-Improved Trade Gravity Model Analysis," Sustainability, MDPI, vol. 15(1), pages 1-20, December.
    6. Anna Golovko & Hasan Sahin, 2021. "Analysis of international trade integration of Eurasian countries: gravity model approach," Eurasian Economic Review, Springer;Eurasia Business and Economics Society, vol. 11(3), pages 519-548, September.
    7. Koffi Dumor & Li Yao & Jean-Paul Ainam & Edem Koffi Amouzou & Williams Ayivi, 2021. "Quantitative Dynamics Effects of Belt and Road Economies Trade Using Structural Gravity and Neural Networks," SAGE Open, , vol. 11(3), pages 21582440211, July.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Zongo, Amara, 2021. "The impact of services trade restrictiveness on food trade," International Economics, Elsevier, vol. 166(C), pages 71-94.
    2. Yuan Li & John C. Beghin, 2017. "A meta-analysis of estimates of the impact of technical barriers to trade," World Scientific Book Chapters, in: John Christopher Beghin (ed.), Nontariff Measures and International Trade, chapter 4, pages 63-77, World Scientific Publishing Co. Pte. Ltd..
    3. Bailey, Michael & Gupta, Abhinav & Hillenbrand, Sebastian & Kuchler, Theresa & Richmond, Robert & Stroebel, Johannes, 2021. "International trade and social connectedness," Journal of International Economics, Elsevier, vol. 129(C).
    4. Sadok ACHOUR & Dr. Fatima HADJI, 2021. "Determinants of trade flows to Agadir Agreement countries: gravity model three-way approach," Theoretical and Applied Economics, Asociatia Generala a Economistilor din Romania / Editura Economica, vol. 0(2(627), S), pages 125-134, Summer.
    5. Holger Breinlich & Valentina Corradi & Nadia Rocha & Michele Ruta & Joao M.C. Santos Silva & Tom Zylkin, 2021. "Machine Learning in International Trade Research ?- Evaluating the Impact of Trade Agreements," School of Economics Discussion Papers 0521, School of Economics, University of Surrey.
    6. Suárez-Varela, Marta & Rodríguez-Crespo, Ernesto, 2022. "Is dirty trade concentrating in more polluting countries? Evidence from Africa," Economic Analysis and Policy, Elsevier, vol. 76(C), pages 728-744.
    7. Heid, Benedikt & Stähler, Frank, 2024. "Structural gravity and the gains from trade under imperfect competition: Quantifying the effects of the European Single Market," Economic Modelling, Elsevier, vol. 131(C).
    8. Mario Larch & Jeff Luckstead & Yoto V. Yotov, 2024. "Economic sanctions and agricultural trade," American Journal of Agricultural Economics, John Wiley & Sons, vol. 106(4), pages 1477-1517, August.
    9. Santeramo, Fabio Gaetano, 2014. "Promoting the international demand for agritourism – empirical evidence from a dynamic panel data model," MPRA Paper 59625, University Library of Munich, Germany, revised 01 Feb 2014.
    10. Osberghaus, Daniel & Schenker, Oliver, 2022. "International trade and the transmission of temperature shocks," ZEW Discussion Papers 22-035, ZEW - Leibniz Centre for European Economic Research.
    11. Mario Larch & Serge Shikher & Constantinos Syropoulos & Yoto V. Yotov, 2022. "Quantifying the impact of economic sanctions on international trade in the energy and mining sectors," Economic Inquiry, Western Economic Association International, vol. 60(3), pages 1038-1063, July.
    12. Messner, Wolfgang, 2024. "Distance is the spice, but not the whole enchilada: Country-pair psychic distance stimuli and country fixed effects in a deep learning implementation of the trade flow model," International Business Review, Elsevier, vol. 33(1).
    13. Mario Larch & Yoto V. Yotov, 2024. "Estimating the effects of trade agreements: Lessons from 60 years of methods and data," The World Economy, Wiley Blackwell, vol. 47(5), pages 1771-1799, May.
    14. Masood, Amjad, 2021. "Anatomy of the trade-effect of regional trade agreements and agenda for future research," MPRA Paper 108284, University Library of Munich, Germany.
    15. Silviano Esteve-Pérez & Salvador Gil-Pareja & Rafael Llorca-Vivero & Jordi Paniagua, 2021. "Has the Euro paid off? A study of the trade-induced welfare effects of the EMU," Working Papers 2103, Department of Applied Economics II, Universidad de Valencia.
    16. Rosselló-Nadal, Jaume & Santana-Gallego, María, 2024. "Toward a smaller world. The distance puzzle and international border for tourism," Journal of Transport Geography, Elsevier, vol. 115(C).
    17. Mario Larch & Jeff Luckstead & Yoto V. Yotov, 2021. "Economic Sanctions and Agricultural Trade," CESifo Working Paper Series 9410, CESifo.
    18. Kristian Behrens & Cem Ertur & Wilfried Koch, 2012. "‘Dual’ Gravity: Using Spatial Econometrics To Control For Multilateral Resistance," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 27(5), pages 773-794, August.
    19. Anderson, James E. & Vesselovsky, Mykyta & Yotov, Yoto V., 2016. "Gravity with scale effects," Journal of International Economics, Elsevier, vol. 100(C), pages 174-193.
    20. Beniamino Quintieri & Giovanni Stamato, 2023. "Are preferential agreements beneficial to EU trade? New evidence from the EU–South Korea treaty," The World Economy, Wiley Blackwell, vol. 46(12), pages 3511-3541, December.

    More about this item

    JEL classification:

    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • F14 - International Economics - - Trade - - - Empirical Studies of Trade
    • Q17 - Agricultural and Natural Resource Economics; Environmental and Ecological Economics - - Agriculture - - - Agriculture in International Trade

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:nbr:nberwo:27151. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: the person in charge (email available below). General contact details of provider: https://edirc.repec.org/data/nberrus.html .

    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.