IDEAS home Printed from https://ideas.repec.org/p/pra/mprapa/93426.html

New Approach to Estimating Gravity Models with Heteroscedasticity and Zero Trade Values

Author

Listed:
  • Mnasri, Ayman
  • Nechi, Salem

Abstract

This paper proposes new estimation techniques for gravity models with zero trade values and heteroscedasticity. We revisit the standard PPML estimator and we propose an improved version. We also propose various Heckman estimators with different distributions of the residuals, nonlinear forms of both selection and measure equations, and various process of the variance. We add to the existent literature alternative estimation methods taking into account the non-linearity of both the variance and the selection equation. Moreover, because of the unavailability of pre-set package in the econometrics software (Stata, Eviews, Matlab, etc.) to perform the estimation of the above-mentioned Heckman versions, we had to code it in Matlab using a combination of fminsearch and fminunc functions. Using numerical gradient matrix G, we report standard errors based on the BHHH technique. The proposed new Heckman version could be used in other applications. Our results suggest that previous empirical studies might be overestimating the contribution of the GDP of both import and export countries in determining the bilateral trade.

Suggested Citation

  • Mnasri, Ayman & Nechi, Salem, 2019. "New Approach to Estimating Gravity Models with Heteroscedasticity and Zero Trade Values," MPRA Paper 93426, University Library of Munich, Germany.
  • Handle: RePEc:pra:mprapa:93426
    as

    Download full text from publisher

    File URL: https://mpra.ub.uni-muenchen.de/93426/1/MPRA_paper_93426.pdf
    File Function: original version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Frankel, Jeffrey A. & Wei, Shang-Jin, 1993. "Emerging Currency Blocs," Center for International and Development Economics Research (CIDER) Working Papers 233209, University of California-Berkeley, Department of Economics.
    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. 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.
    4. de Sousa, José, 2012. "The currency union effect on trade is decreasing over time," Economics Letters, Elsevier, vol. 117(3), pages 917-920.
    5. shepherd, Ben, 2010. "Geographical Diversification of Developing Country Exports," World Development, Elsevier, vol. 38(9), pages 1217-1228, September.
    6. Santos Silva, J.M.C. & Tenreyro, Silvana, 2011. "Further simulation evidence on the performance of the Poisson pseudo-maximum likelihood estimator," Economics Letters, Elsevier, vol. 112(2), pages 220-222, August.
    7. Bo Xiong & Sixia Chen, 2014. "Estimating gravity equation models in the presence of sample selection and heteroscedasticity," Applied Economics, Taylor & Francis Journals, vol. 46(24), pages 2993-3003, August.
    8. Yotov, Yoto V., 2012. "A simple solution to the distance puzzle in international trade," Economics Letters, Elsevier, vol. 117(3), pages 794-798.
    9. Xuepeng Liu, 2009. "GATT/WTO Promotes Trade Strongly: Sample Selection and Model Specification," Review of International Economics, Wiley Blackwell, vol. 17(3), pages 428-446, August.
    10. Leung, Siu Fai & Yu, Shihti, 1996. "On the choice between sample selection and two-part models," Journal of Econometrics, Elsevier, vol. 72(1-2), pages 197-229.
    11. Lin, Faqin, 2013. "Are distance effects really a puzzle?," Economic Modelling, Elsevier, vol. 31(C), pages 684-689.
    12. Egger, Peter & Larch, Mario, 2011. "An assessment of the Europe agreements' effects on bilateral trade, GDP, and welfare," European Economic Review, Elsevier, vol. 55(2), pages 263-279, February.
    13. Djeto Assane & Eric P. Chiang, 2014. "Trade, Structural Reform, And Institutions In Sub-Saharan Africa," Contemporary Economic Policy, Western Economic Association International, vol. 32(1), pages 20-29, January.
    14. Ernst R. Berndt & Bronwyn H. Hall & Robert E. Hall & Jerry A. Hausman, 1974. "Estimation and Inference in Nonlinear Structural Models," NBER Chapters, in: Annals of Economic and Social Measurement, Volume 3, number 4, pages 653-665, National Bureau of Economic Research, Inc.
    15. 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.
    16. Jean-François Arvis & Ben Shepherd, 2013. "The Poisson quasi-maximum likelihood estimator: a solution to the ‘adding up’ problem in gravity models," Applied Economics Letters, Taylor & Francis Journals, vol. 20(6), pages 515-519, April.
    17. Arabmazar, Abbas & Schmidt, Peter, 1981. "Further evidence on the robustness of the Tobit estimator to heteroskedasticity," Journal of Econometrics, Elsevier, vol. 17(2), pages 253-258, November.
    18. Tamás Krisztin & Manfred M. Fischer, 2015. "The Gravity Model for International Trade: Specification and Estimation Issues," Spatial Economic Analysis, Taylor & Francis Journals, vol. 10(4), pages 451-470, December.
    19. Elhanan Helpman & Marc Melitz & Yona Rubinstein, 2008. "Estimating Trade Flows: Trading Partners and Trading Volumes," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 123(2), pages 441-487.
    20. Richard Baldwin & James Harrigan, 2011. "Zeros, Quality, and Space: Trade Theory and Trade Evidence," American Economic Journal: Microeconomics, American Economic Association, vol. 3(2), pages 60-88, May.
    21. 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.
    22. Clément Bosquet & Hervé Boulhol, 2015. "What is really puzzling about the “distance puzzle”," Review of World Economics (Weltwirtschaftliches Archiv), Springer;Institut für Weltwirtschaft (Kiel Institute for the World Economy), vol. 151(1), pages 1-21, February.
    23. Dai, Mian & Yotov, Yoto V. & Zylkin, Thomas, 2014. "On the trade-diversion effects of free trade agreements," Economics Letters, Elsevier, vol. 122(2), pages 321-325.
    24. Khan, Shakeeb & Powell, James L., 2001. "Two-step estimation of semiparametric censored regression models," Journal of Econometrics, Elsevier, vol. 103(1-2), pages 73-110, July.
    25. Patrick Puhani, 2000. "The Heckman Correction for Sample Selection and Its Critique," Journal of Economic Surveys, Wiley Blackwell, vol. 14(1), pages 53-68, February.
    26. Kareem, Fatima O., 2014. "Modeling and Estimation of Gravity Equation in the Presence of Zero Trade: A Validation of Hypotheses Using Africa's Trade Data," 140th Seminar, December 13-15, 2013, Perugia, Italy 163341, European Association of Agricultural Economists.
    27. Egger, Peter H. & Tarlea, Filip, 2015. "Multi-way clustering estimation of standard errors in gravity models," Economics Letters, Elsevier, vol. 134(C), pages 144-147.
    28. James Heckman, 2013. "Sample selection bias as a specification error," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 31(3), pages 129-137.
    29. Estrella Gómez-Herrera, 2013. "Comparing alternative methods to estimate gravity models of bilateral trade," Empirical Economics, Springer, vol. 44(3), pages 1087-1111, June.
    30. Tenreyro, Silvana, 2007. "On the trade impact of nominal exchange rate volatility," Journal of Development Economics, Elsevier, vol. 82(2), pages 485-508, March.
    31. Duan, Naihua, et al, 1983. "A Comparison of Alternative Models for the Demand for Medical Care," Journal of Business & Economic Statistics, American Statistical Association, vol. 1(2), pages 115-126, April.
    32. Head, Keith & Mayer, Thierry & Ries, John, 2010. "The erosion of colonial trade linkages after independence," Journal of International Economics, Elsevier, vol. 81(1), pages 1-14, May.
    33. Hurd, Michael, 1979. "Estimation in truncated samples when there is heteroscedasticity," Journal of Econometrics, Elsevier, vol. 11(2-3), pages 247-258.
    34. A. J. Culyer & J. P. Newhouse (ed.), 2000. "Handbook of Health Economics," Handbook of Health Economics, Elsevier, edition 1, volume 1, number 1.
    35. Kenneth Y. Chay & James L. Powell, 2001. "Semiparametric Censored Regression Models," Journal of Economic Perspectives, American Economic Association, vol. 15(4), pages 29-42, Fall.
    36. 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. Joalane Rosina Tota & Denis Nfor Yuni, 2023. "Tax and International Trade in the SADC Region:A Panel Gravity Model Approach," International Journal of Economics & Business Administration (IJEBA), International Journal of Economics & Business Administration (IJEBA), vol. 0(4), pages 24-44.
    2. Zhang, Yilin & Abate, Megersa & Cheung, Tommy & Zhang, Anming, 2024. "What shapes international air transportation in Southern Africa? − The evidence considering the impact of Covid-19," Transportation Research Part A: Policy and Practice, Elsevier, vol. 186(C).
    3. Adriana R. Cardozo Silva & Luis R. Diaz Pavez & Inmaculada Martínez‐Zarzoso & Felicitas Nowak‐Lehmann, 2022. "The impact of COVID‐19 government responses on remittances in Latin American countries," Journal of International Development, John Wiley & Sons, Ltd., vol. 34(4), pages 803-822, May.

    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. Mnasri, Ayman & Nechi, Salem, 2021. "New nonlinear estimators of the gravity equation," Economic Modelling, Elsevier, vol. 95(C), pages 192-202.
    2. 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.
    3. Mnasri, Ayman & Nechi, Salem, 2025. "Heckman-type maximum likelihood estimators of the gravity equation: A Monte Carlo study," International Review of Economics & Finance, Elsevier, vol. 101(C).
    4. Rodolfo Metulini & Roberto Patuelli & Daniel A. Griffith, 2018. "A Spatial-Filtering Zero-Inflated Approach to the Estimation of the Gravity Model of Trade," Econometrics, MDPI, vol. 6(1), pages 1-15, February.
    5. Martin, Will, 2020. "Making Gravity Great Again," 2020: Economic Implications of COVID-19, December 14-15, Virtual Platform 339376, International Agricultural Trade Research Consortium.
    6. Baier, Scott L. & Yotov, Yoto V. & Zylkin, Thomas, 2019. "On the widely differing effects of free trade agreements: Lessons from twenty years of trade integration," Journal of International Economics, Elsevier, vol. 116(C), pages 206-226.
    7. Head, Keith & Mayer, Thierry, 2014. "Gravity Equations: Workhorse,Toolkit, and Cookbook," Handbook of International Economics, in: Gopinath, G. & Helpman, . & Rogoff, K. (ed.), Handbook of International Economics, edition 1, volume 4, chapter 0, pages 131-195, Elsevier.
    8. 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.
    9. Bo Xiong & Sixia Chen, 2014. "Estimating gravity equation models in the presence of sample selection and heteroscedasticity," Applied Economics, Taylor & Francis Journals, vol. 46(24), pages 2993-3003, August.
    10. Nhuong Tran & Norbert Wilson & Diane Hite, 2013. "5 Choosing the Best Model in the Presence of Zero Trade: A Fish Product Analysis," Frontiers of Economics and Globalization, in: Nontariff Measures with Market Imperfections: Trade and Welfare Implications, pages 127-148, Emerald Group Publishing Limited.
    11. Scott L. Baier & Amanda Kerr & Yoto V. Yotov, 2018. "Gravity, distance, and international trade," Chapters, in: Bruce A. Blonigen & Wesley W. Wilson (ed.), Handbook of International Trade and Transportation, chapter 2, pages 15-78, Edward Elgar Publishing.
    12. Marie M Stack & Rob Ackrill & Martin Bliss, 2019. "Sugar trade and the role of historical colonial linkages," European Review of Agricultural Economics, Oxford University Press and the European Agricultural and Applied Economics Publications Foundation, vol. 46(1), pages 79-108.
    13. Maria Cipollina & Luca De Benedictis & Luca Salvatici & Claudio Vicarelli, 2016. "Policy Measurement And Multilateral Resistance In Gravity Models," Working Papers LuissLab 16130, Dipartimento di Economia e Finanza, LUISS Guido Carli.
    14. Mario Larch & Pehr-Johan Norbäck & Steffen Sirries & Dieter M. Urban, 2016. "Heterogeneous Firms, Globalisation and the Distance Puzzle," The World Economy, Wiley Blackwell, vol. 39(9), pages 1307-1338, September.
    15. Anderson, James E. & Borchert, Ingo & Mattoo, Aaditya & Yotov, Yoto V., 2018. "Dark costs, missing data: Shedding some light on services trade," European Economic Review, Elsevier, vol. 105(C), pages 193-214.
    16. Anderson, James E. & Yotov, Yoto V., 2020. "Short run gravity," Journal of International Economics, Elsevier, vol. 126(C).
    17. Liam Pippinato & Simone Blanc & Teresina Mancuso & Filippo Brun, 2020. "A Sustainable Niche Market: How Does Honey Behave?," Sustainability, MDPI, vol. 12(24), pages 1-14, December.
    18. repec:spo:wpecon:info:hdl:2441/dambferfb7dfprc9m01g1j1k2 is not listed on IDEAS
    19. 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.
    20. Hirsch, Cornelius & Krisztin, Tamás & See, Linda, 2020. "Water Resources as Determinants for Foreign Direct Investments in Land - A Gravity Analysis of Foreign Land Acquisitions," Ecological Economics, Elsevier, vol. 170(C).
    21. Martin Grančay & Nóra Grančay & Jana Drutarovská & Ladislav Mura, 2015. "Gravitačný model zahraničného obchodu českej a slovenskej republiky 1995-2012: ako sa zmenili determinanty obchodu? [Gravity Model of Trade of the Czech and Slovak Republics 1995-2012: How Have Determinants of Trade Changed?]," Politická ekonomie, Prague University of Economics and Business, vol. 2015(6), pages 759-777.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C01 - Mathematical and Quantitative Methods - - General - - - Econometrics
    • C10 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - General
    • C13 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Estimation: General
    • C15 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Statistical Simulation Methods: General
    • C60 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - General
    • F10 - International Economics - - Trade - - - General
    • F14 - International Economics - - Trade - - - Empirical Studies of 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:pra:mprapa:93426. 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: Joachim Winter (email available below). General contact details of provider: https://edirc.repec.org/data/vfmunde.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.