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: https://arxiv.org/pdf/2308.06303
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Martijn Burger & Frank van Oort & Gert-Jan Linders, 2009. "On the Specification of the Gravity Model of Trade: Zeros, Excess Zeros and Zero-inflated Estimation," Spatial Economic Analysis, Taylor & Francis Journals, vol. 4(2), pages 167-190.
    2. 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.
    3. 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.
    4. 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.
    5. Bergstrand, Jeffrey H, 1985. "The Gravity Equation in International Trade: Some Microeconomic Foundations and Empirical Evidence," The Review of Economics and Statistics, MIT Press, vol. 67(3), pages 474-481, August.
    6. 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.
    7. 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.
    8. repec:spo:wpmain:info:hdl:2441/3pucspchqi8kcpk743av62v2va is not listed on IDEAS
    9. J. M. C. Santos Silva & Silvana Tenreyro, 2006. "The Log of Gravity," The Review of Economics and Statistics, MIT Press, vol. 88(4), pages 641-658, November.
    10. 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.
    11. 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. Marco Dueñas & Giorgio Fagiolo, 2013. "Modeling the International-Trade Network: a gravity approach," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 8(1), pages 155-178, April.
    3. Martin, Will, 2020. "Making Gravity Great Again," 2020: Economic Implications of COVID-19, December 14-15, Virtual Platform 339376, International Agricultural Trade Research Consortium.
    4. Michele Fratianni & Francesco Marchionne, 2012. "Trade Costs and Economic Development," Economic Geography, Taylor & Francis Journals, vol. 88(2), pages 137-163, April.
    5. Kareem, Fatima Olanike & Martinez-Zarzoso, Inmaculada & Brümmer, Bernhard, 2016. "Fitting the Gravity Model when Zero Trade Flows are Frequent: a Comparison of Estimation Techniques using Africa's Trade Data," GlobalFood Discussion Papers 230588, Georg-August-Universitaet Goettingen, GlobalFood, Department of Agricultural Economics and Rural Development.
    6. Karel Janda & Eva Michalíková & Jiøí Skuhrovec, 2012. "Credit Support for Export: Econometric Evidence from the Czech Republic," Working Papers IES 2012/12, Charles University Prague, Faculty of Social Sciences, Institute of Economic Studies, revised May 2012.
    7. Jacqueline Karlsson & Helena Melin & Kevin Cullinane, 2018. "The impact of potential Brexit scenarios on German car exports to the UK: an application of the gravity model," Journal of Shipping and Trade, Springer, vol. 3(1), pages 1-22, December.
    8. Felix Groba, 2014. "Determinants of trade with solar energy technology components: evidence on the porter hypothesis?," Applied Economics, Taylor & Francis Journals, vol. 46(5), pages 503-526, February.
    9. Lorenzo Cassi & Andrea Morrison & Roberta Rabellotti, 2015. "Proximity and Scientific Collaboration: Evidence from the Global Wine Industry," Tijdschrift voor Economische en Sociale Geografie, Royal Dutch Geographical Society KNAG, vol. 106(2), pages 205-219, April.
    10. Olga Solleder, 2013. "Trade Effects of Export Taxes," IHEID Working Papers 08-2013, Economics Section, The Graduate Institute of International Studies.
    11. Campi, Mercedes & Dueñas, Marco, 2016. "Intellectual Property Rights and International Trade of Agricultural Products," World Development, Elsevier, vol. 80(C), pages 1-18.
    12. Tamaş Anca, 2020. "Why should the gravity model be taught in business education?," Proceedings of the International Conference on Business Excellence, Paradigm, vol. 14(1), pages 422-433, July.
    13. Rahul Sen & Sadhana Srivastava & Don Webber, 2015. "Preferential trading agreements and the gravity model in presence of zero and missing trade flows: Early results for China and India," Working Papers 2015-02, Auckland University of Technology, Department of Economics.
    14. repec:isu:genstf:201201010800003536 is not listed on IDEAS
    15. Pascal L. Ghazalian, 2015. "The New Tomato Suspension Agreement: What Are the Implications for Trade Flows?," Canadian Journal of Agricultural Economics/Revue canadienne d'agroeconomie, Canadian Agricultural Economics Society/Societe canadienne d'agroeconomie, vol. 63(3), pages 359-380, September.
    16. Cipollina, Maria & Laborde, David & Salvatici, Luca, 2013. "Do Preferential Trade Policies (Actually) Increase Exports? An analysis of EU trade policies," 2013 Annual Meeting, August 4-6, 2013, Washington, D.C. 150177, Agricultural and Applied Economics Association.
    17. Zongo, Amara, 2020. "The Impact of Restrictive Measures on Bilateral FDI in OECD Countries," MPRA Paper 101929, University Library of Munich, Germany.
    18. Dimitrios Dadakas & Stavroula Tatsi, 2021. "Global agricultural trade impact of the 2011 triple disaster in Japan: A gravity approach," Australian Journal of Agricultural and Resource Economics, Australian Agricultural and Resource Economics Society, vol. 65(4), pages 937-972, October.
    19. Karel Janda & Eva Michalikova & Jiri Skuhrovec, 2012. "Credit Support for Export: Evidence from the Czech Republic," CERGE-EI Working Papers wp461, The Center for Economic Research and Graduate Education - Economics Institute, Prague.
    20. Jagdambe, S., 2018. "Impact of AIFTA on Agriculture Trade Creation & Trade Diversion: Gravity Model Analysis," 2018 Conference, July 28-August 2, 2018, Vancouver, British Columbia 276046, International Association of Agricultural Economists.
    21. Heyman Fredrik & Tingvall Patrik Gustavsson, 2015. "The Dynamics of Offshoring and Institutions," The B.E. Journal of Economic Analysis & Policy, De Gruyter, vol. 15(4), pages 1975-2016, October.

    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: https://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.