IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2308.06303.html

A New Approach to Overcoming Zero Trade in Gravity Models to Avoid Indefinite Values in Linear Logarithmic Equations and Parameter Verification Using Machine Learning

Author

Listed:
  • Mikrajuddin Abdullah

Abstract

The presence of a high number of zero flow trades continues to provide a challenge in identifying gravity parameters to explain international trade using the gravity model. Linear regression with a logarithmic linear equation encounters an indefinite value on the logarithmic trade. Although several approaches to solving this problem have been proposed, the majority of them are no longer based on linear regression, making the process of finding solutions more complex. In this work, we suggest a two-step technique for determining the gravity parameters: first, perform linear regression locally to establish a dummy value to substitute trade flow zero, and then estimating the gravity parameters. Iterative techniques are used to determine the optimum parameters. Machine learning is used to test the estimated parameters by analyzing their position in the cluster. We calculated international trade figures for 2004, 2009, 2014, and 2019. We just examine the classic gravity equation and discover that the powers of GDP and distance are in the same cluster and are both worth roughly one. The strategy presented here can be used to solve other problems involving log-linear regression.

Suggested Citation

  • Mikrajuddin Abdullah, 2023. "A New Approach to Overcoming Zero Trade in Gravity Models to Avoid Indefinite Values in Linear Logarithmic Equations and Parameter Verification Using Machine Learning," Papers 2308.06303, arXiv.org.
  • Handle: RePEc:arx:papers:2308.06303
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Tiiu Paas, 2000. "The gravity approach for modeling international trade patterns for economies in transition," International Advances in Economic Research, Springer;International Atlantic Economic Society, vol. 6(4), pages 633-648, November.
    2. J. M. C. Santos Silva & Silvana Tenreyro, 2022. "The Log of Gravity at 15," Portuguese Economic Journal, Springer;Instituto Superior de Economia e Gestao, vol. 21(3), pages 423-437, September.
    3. William Martin & Cong S. Pham, 2020. "Estimating the gravity model when zero trade flows are frequent and economically determined," Applied Economics, Taylor & Francis Journals, vol. 52(26), pages 2766-2779, May.
    4. Peter Nijkamp & Waldemar Ratajczak, 2021. "Gravitational Analysis in Regional Science and Spatial Economics: A Vector Gradient Approach to Trade," International Regional Science Review, , vol. 44(3-4), pages 400-431, May.
    5. Thomas Chaney, 2018. "The Gravity Equation in International Trade: An Explanation," Journal of Political Economy, University of Chicago Press, vol. 126(1), pages 150-177.
    6. repec:spo:wpmain:info:hdl:2441/3pucspchqi8kcpk743av62v2va is not listed on IDEAS
    7. Jean-Marc Falter & Christophe Perignon, 2000. "Demand for football and intramatch winning probability: an essay on the glorious uncertainty of sports," Applied Economics, Taylor & Francis Journals, vol. 32(13), pages 1757-1765.
    8. repec:spo:wpmain:info:hdl:2441/6k7m0q7h709rdrhbpm2n96irf8 is not listed on IDEAS
    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. Mikrajuddin Abdullah, 2023. "Theoretical foundation for the Pareto distribution of international trade strength and introduction of an equation for international trade forecasting," Papers 2309.00635, arXiv.org.

    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. Mikrajuddin Abdullah, 2023. "Theoretical foundation for the Pareto distribution of international trade strength and introduction of an equation for international trade forecasting," Papers 2309.00635, arXiv.org.
    2. Martin, Will, 2020. "Making Gravity Great Again," 2020: Economic Implications of COVID-19, December 14-15, Virtual Platform 339376, International Agricultural Trade Research Consortium.
    3. Grant, Jason H. & Boys, Kathryn A. & Giddens, Janice C. & Loux, William, 2025. "Enhancing nutrition availability through international trade: U.S. and global dairy exports to emerging markets," Food Policy, Elsevier, vol. 132(C).
    4. Mikrajuddin Abdullah, 2024. "Theoretical Foundation for the Pareto Distribution of International Trade Strength and Introduction of an Equation for International Trade Forecasting," Atlantic Economic Journal, Springer;International Atlantic Economic Society, vol. 52(1), pages 17-29, March.
    5. Hildegunn K. Nordås & Dorothée Rouzet, 2017. "The Impact of Services Trade Restrictiveness on Trade Flows," The World Economy, Wiley Blackwell, vol. 40(6), pages 1155-1183, June.
    6. Dorothée Rouzet & Sebastian Benz & Francesca Spinelli, 2017. "Trading firms and trading costs in services: Firm-level analysis," OECD Trade Policy Papers 210, OECD Publishing.
    7. Jaime Alfonso Roche Rodriguez & Gladys Lopez-Acevedo & Raymond Robertson & Daniela Ruiz Zárate, 2025. "Exports to jobs: Morocco’s trade patterns and local labor market outcomes," Middle East Development Journal, Taylor & Francis Journals, vol. 17(1), pages 1-34, January.
    8. Mr. Eugenio M Cerutti & Haonan Zhou, 2018. "Cross-border Banking and the Circumvention of Macroprudential and Capital Control Measures," IMF Working Papers 2018/217, International Monetary Fund.
    9. Yongke Yuan & Yitong Wang & Jialin Li & Mengwan Zhang, 2023. "Input-output Table and Input-output Model of Import and Export Internalization," Advances in Management and Applied Economics, SCIENPRESS Ltd, vol. 13(6), pages 1-15.
    10. Stephan Maurer & Ferdinand Rauch, 2023. "Economic geography aspects of the Panama Canal," Oxford Economic Papers, Oxford University Press, vol. 75(1), pages 142-162.
    11. Paas, Tiiu, 2002. "Gravity Approach for Exploring Baltic Sea Regional Integration in the Field of International Trade," Discussion Paper Series 26379, Hamburg Institute of International Economics.
    12. Brueckner, Markus & Van Long, Ngo & Vespignani, Joaquin, 2020. "Non-gravity trade," Working Papers 2020-04, University of Tasmania, Tasmanian School of Business and Economics.
    13. Inna Čábelková & Luboš Smutka & Svitlana Rotterova & Olesya Zhytna & Vít Kluger & David Mareš, 2022. "The Sustainability of International Trade: The Impact of Ongoing Military Conflicts, Infrastructure, Common Language, and Economic Wellbeing in Post-Soviet Region," Sustainability, MDPI, vol. 14(17), pages 1-14, August.
    14. Dorian Owen, 2014. "Measurement of competitive balance and uncertainty of outcome," Chapters, in: John Goddard & Peter Sloane (ed.), Handbook on the Economics of Professional Football, chapter 3, pages 41-59, Edward Elgar Publishing.
    15. Paudel, Nawaraj S. & Lahiri, Sajal, 2024. "The effects of state-level foreign manufacturing imports on domestic inter-state and intra-state sales in the U.S.A," Economic Analysis and Policy, Elsevier, vol. 81(C), pages 297-305.
    16. Stefan Szymanski, 2021. "On the Incidence of an Ad Valorem Tax: The Adoption of VAT in the UK and Cost Pass Through by English Football Clubs," De Economist, Springer, vol. 169(1), pages 37-61, February.
    17. Nazif Durmaz & John Kagochi, 2018. "Democracy and Inter-Regional Trade Enhancement in Sub-Saharan Africa: Gravity Model," Economies, MDPI, vol. 6(3), pages 1-17, August.
    18. Dominik Schreyer & Sascha L. Schmidt & Benno Torgler, 2018. "Predicting season ticket holder loyalty using geographical information," Applied Economics Letters, Taylor & Francis Journals, vol. 25(4), pages 272-277, February.
    19. Ernest Liu & Aleh Tsyvinski, 2021. "Dynamical Structure and Spectral Properties of Input-Output Networks," Working Papers 2021-13, Princeton University. Economics Department..
    20. Doe Fiankor,Dela-Dem & Woubet Kassa & Lartey,Abraham, 2025. "Trade Barriers or Catalysts ? Non-Tariff Measures and Firm-Level Trade Margins," Policy Research Working Paper Series 11024, The World Bank.

    More about this item

    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:arx:papers:2308.06303. 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: 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.