IDEAS home Printed from https://ideas.repec.org/p/rim/rimwps/16-26.html
   My bibliography  Save this paper

A Spatial-Filtering Zero-Inflated Approach to the Estimation of the Gravity Model of Trade

Author

Listed:
  • Rodolfo Metulini

    (Department of Economics and Management, University of Brescia, Italy)

  • Roberto Patuelli

    (Department of Economics, University of Bologna, Italy; The Rimini Centre for Economic Analysis, Italy)

  • Daniel A. Griffith

    (School of Economic, Political & Policy Sciences, The University of Texas at Dallas, USA)

Abstract

Nonlinear estimation of the gravity model with Poisson-type regression methods has become popular to model international trade flows, because it permits a better accounting for zero flows and extreme values in the distribution tail. Nevertheless, as trade flows are not independent from each other due to spatial and network autocorrelation, these methods may lead to biased parameter estimates. To overcome this problem, eigenvector spatial filtering (ESF) variants of the Poisson/negative binomial specifications have been proposed in the literature on gravity modelling of trade. However, no specific treatment has been developed for cases in which many zero flows are present. This paper contributes to the literature in two ways. First, by employing a stepwise selection criterion for spatial filters that is based on robust (sandwich) p-values and does not require likelihood-based indicators. In this respect, we develop an ad hoc backward stepwise function in R. Second, using this function, we select a reduced set of spatial filters that properly accounts for importer-side and exporter-side specific spatial effects, as well as network effects, both at the count and the logit processes of zero-inflated methods. Applying this estimation strategy to a cross-section of bilateral trade flows between a set of 64 countries for the year 2000, we find that our specification outperforms the benchmark models in terms of model fitting, both considering the AIC and in predicting zero (and small) flows.

Suggested Citation

  • Rodolfo Metulini & Roberto Patuelli & Daniel A. Griffith, 2016. "A Spatial-Filtering Zero-Inflated Approach to the Estimation of the Gravity Model of Trade," Working Paper series 16-26, Rimini Centre for Economic Analysis, revised Feb 2018.
  • Handle: RePEc:rim:rimwps:16-26
    as

    Download full text from publisher

    File URL: http://www.rcea.org/RePEc/pdf/wp16-26.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Badi Baltagi & Peter Egger, 2016. "Estimation of structural gravity quantile regression models," Empirical Economics, Springer, vol. 50(1), pages 5-15, February.
    2. Roberto Patuelli & Norbert Schanne & Daniel A. Griffith & Peter Nijkamp, 2012. "Persistence Of Regional Unemployment: Application Of A Spatial Filtering Approach To Local Labor Markets In Germany," Journal of Regional Science, Wiley Blackwell, vol. 52(2), pages 300-323, May.
    3. Yongwan Chun, 2008. "Modeling network autocorrelation within migration flows by eigenvector spatial filtering," Journal of Geographical Systems, Springer, vol. 10(4), pages 317-344, December.
    4. Lambert, Dayton M. & Brown, Jason P. & Florax, Raymond J.G.M., 2010. "A two-step estimator for a spatial lag model of counts: Theory, small sample performance and an application," Regional Science and Urban Economics, Elsevier, vol. 40(4), pages 241-252, July.
    5. Thomas Scherngell & Rafael Lata, 2013. "Towards an integrated European Research Area? Findings from Eigenvector spatially filtered spatial interaction models using European Framework Programme data," Papers in Regional Science, Wiley Blackwell, vol. 92(3), pages 555-577, August.
    6. Yoshitsugu Kitazawa, 2014. "Consistent estimation for the full-fledged fixed effects zero-inflated Poisson model," Discussion Papers 66, Kyushu Sangyo University, Faculty of Economics.
    7. Bo Xiong & John Beghin, 2017. "Does European aflatoxin regulation hurt groundnut exporters from Africa?," World Scientific Book Chapters, in: John Christopher Beghin (ed.), Nontariff Measures and International Trade, chapter 16, pages 287-307, World Scientific Publishing Co. Pte. Ltd..
    8. Baltagi, Badi H. & Egger, Peter & Pfaffermayr, Michael, 2007. "Estimating models of complex FDI: Are there third-country effects?," Journal of Econometrics, Elsevier, vol. 140(1), pages 260-281, September.
    9. James P. LeSage & Manfred M. Fischer, 2016. "Spatial Regression-Based Model Specifications for Exogenous and Endogenous Spatial Interaction," Advances in Spatial Science, in: Roberto Patuelli & Giuseppe Arbia (ed.), Spatial Econometric Interaction Modelling, chapter 0, pages 15-36, Springer.
    10. George Philippidis & Helena Resano-Ezcaray & Ana I. Sanjuán-López, 2013. "Capturing zero-trade values in gravity equations of trade: an analysis of protectionism in agro-food sectors," Agricultural Economics, International Association of Agricultural Economists, vol. 44(2), pages 141-159, March.
    11. Manfred M. Fischer & Daniel A. Griffith, 2008. "Modeling Spatial Autocorrelation In Spatial Interaction Data: An Application To Patent Citation Data In The European Union," Journal of Regional Science, Wiley Blackwell, vol. 48(5), pages 969-989, December.
    12. Roberto Patuelli & Giuseppe Arbia (ed.), 2016. "Spatial Econometric Interaction Modelling," Advances in Spatial Science, Springer, number 978-3-319-30196-9.
    13. 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.
    14. Gert-Jan M. Linders & Martijn J. Burger & Frank G. van Oort, 2008. "A rather empty world: the many faces of distance and the persistent resistance to international trade," Cambridge Journal of Regions, Economy and Society, Cambridge Political Economy Society, vol. 1(3), pages 439-458.
    15. Ping Zeng & Yongyue Wei & Yang Zhao & Jin Liu & Liya Liu & Ruyang Zhang & Jianwei Gou & Shuiping Huang & Feng Chen, 2014. "Variable selection approach for zero-inflated count data via adaptive lasso," Journal of Applied Statistics, Taylor & Francis Journals, vol. 41(4), pages 879-894, April.
    16. Robert C. Feenstra & Robert E. Lipsey & Haiyan Deng & Alyson C. Ma & Hengyong Mo, 2005. "World Trade Flows: 1962-2000," NBER Working Papers 11040, National Bureau of Economic Research, Inc.
    17. Aura Reggiani & Peter Nijkamp (ed.), 2009. "Complexity and Spatial Networks," Advances in Spatial Science, Springer, number 978-3-642-01554-0.
    18. 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.
    19. James E. Anderson & Eric van Wincoop, 2004. "Trade Costs," Journal of Economic Literature, American Economic Association, vol. 42(3), pages 691-751, September.
    20. 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.
    21. 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.
    22. Wilfried Koch & James P. LeSage, 2015. "Latent Multilateral Trade Resistance Indices: Theory and Evidence," Scottish Journal of Political Economy, Scottish Economic Society, vol. 62(3), pages 264-290, July.
    23. Daniel A. Griffith & Yongwan Chun, 2016. "Evaluating Eigenvector Spatial Filter Corrections for Omitted Georeferenced Variables," Econometrics, MDPI, vol. 4(2), pages 1-12, June.
    24. Gaël Raballand, 2003. "Determinants of the Negative Impact of Being Landlocked on Trade: An Empirical Investigation Through the Central Asian Case," Comparative Economic Studies, Palgrave Macmillan;Association for Comparative Economic Studies, vol. 45(4), pages 520-536, December.
    25. Rodica Gilles & Seik Kim, 2013. "Distribution-Free Estimation of Zero-Inflated Models with Unobserved Heterogeneity," Working Papers UWEC-2013-03, University of Washington, Department of Economics.
    26. Jansen, Marion & Nordås, Hildegunn Kyvik, 2004. "Institutions, trade policy and trade flows," WTO Staff Working Papers ERSD-2004-02, World Trade Organization (WTO), Economic Research and Statistics Division.
    27. Roberto Patuelli & Gert-Jan M. Linders & Rodolfo Metulini & Daniel A. Griffith, 2016. "The Space of Gravity: Spatially Filtered Estimation of a Gravity Model for Bilateral Trade," Advances in Spatial Science, in: Roberto Patuelli & Giuseppe Arbia (ed.), Spatial Econometric Interaction Modelling, chapter 0, pages 145-169, Springer.
    28. Baier, Scott L. & Bergstrand, Jeffrey H., 2009. "Bonus vetus OLS: A simple method for approximating international trade-cost effects using the gravity equation," Journal of International Economics, Elsevier, vol. 77(1), pages 77-85, February.
    29. Yongwan Chun & Daniel A. Griffith & Monghyeon Lee & Parmanand Sinha, 2016. "Eigenvector selection with stepwise regression techniques to construct eigenvector spatial filters," Journal of Geographical Systems, Springer, vol. 18(1), pages 67-85, January.
    30. 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.
    31. Roberto Patuelli & Gert-Jan Linders & Rodolfo Metulini & Daniel A. Griffith, 2015. "The Space of Gravity: Spatial Filtering Estimation of a Gravity Model for Bilateral Trade," Working Paper series 15-27, Rimini Centre for Economic Analysis.
    32. Majo, M.C. & van Soest, A.H.O., 2011. "The Fixed-Effects Zero-Inflated Poisson Model with an Application to Health Care Utilization," Discussion Paper 2011-083, Tilburg University, Center for Economic Research.
    33. 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.
    34. James P. LeSage & R. Kelley Pace, 2008. "Spatial Econometric Modeling Of Origin‐Destination Flows," Journal of Regional Science, Wiley Blackwell, vol. 48(5), pages 941-967, December.
    35. 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.
    36. Andrew K. Rose, 2000. "One money, one market: the effect of common currencies on trade," Economic Policy, CEPR, CESifo, Sciences Po;CES;MSH, vol. 15(30), pages 08-45.
    37. Peter Egger & Kevin Staub, 2016. "GLM estimation of trade gravity models with fixed effects," Empirical Economics, Springer, vol. 50(1), pages 137-175, February.
    38. 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.
    39. 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.
    40. Gopinath, G. & Helpman, . & Rogoff, K. (ed.), 2014. "Handbook of International Economics," Handbook of International Economics, Elsevier, edition 1, volume 4, number 4.
    41. William H. Greene, 1994. "Accounting for Excess Zeros and Sample Selection in Poisson and Negative Binomial Regression Models," Working Papers 94-10, New York University, Leonard N. Stern School of Business, Department of Economics.
    42. Daniel A. Griffith, 2003. "Spatial Autocorrelation and Spatial Filtering," Advances in Spatial Science, Springer, number 978-3-540-24806-4.
    43. Yongwan Chun & Daniel Griffith & Monghyeon Lee & Parmanand Sinha, 2016. "Eigenvector selection with stepwise regression techniques to construct eigenvector spatial filters," Journal of Geographical Systems, Springer, vol. 18(1), pages 67-85, January.
    44. Daniel A. Griffith, 2009. "Spatial Autocorrelation in Spatial Interaction," Advances in Spatial Science, in: Aura Reggiani & Peter Nijkamp (ed.), Complexity and Spatial Networks, chapter 0, pages 221-237, Springer.
    45. Sellner, Richard & Fischer, Manfred M. & Koch, Matthias, 2010. "A spatial autoregressive Poisson gravity model," MPRA Paper 77551, University Library of Munich, Germany.
    46. repec:rre:publsh:v:37:y:2007:i:1:p:28-38 is not listed on IDEAS
    47. 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. Rodolfo Metulini & Paolo Sgrignoli & Stefano Schiavo & Massimo Riccaboni, 2018. "The network of migrants and international trade," Economia Politica: Journal of Analytical and Institutional Economics, Springer;Fondazione Edison, vol. 35(3), pages 763-787, December.
    2. Carlos Llano-Verduras & Santiago Pérez-Balsalobre & Ana Rincón-Aznar, 2021. "Market fragmentation and the rise of sub-national regulation," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 67(3), pages 765-797, December.
    3. Koffi Dumor & Komlan Gbongli, 2021. "Trade impacts of the New Silk Road in Africa: Insight from Neural Networks Analysis," Theory Methodology Practice (TMP), Faculty of Economics, University of Miskolc, vol. 17(02), pages 13-26.
    4. Chengyan Yue & Yufeng Lai & Hayk Khachatryan & Alan Hodges, 2022. "Effect of geographic distance on domestic trade: A case of the US Green industry," Agribusiness, John Wiley & Sons, Ltd., vol. 38(1), pages 154-174, January.
    5. Oshan, Taylor M., 2022. "Spatial Interaction Modeling," OSF Preprints m3ah8, Center for Open Science.
    6. Albert Millogo & Ines Trojette, 2020. "Pro-trade effects of MENA immigrants in France: does governance matter?," Economics Bulletin, AccessEcon, vol. 40(4), pages 3219-3230.
    7. Mounisai Siddartha Middela & Gitakrishnan Ramadurai, 2021. "Incorporating spatial interactions in zero-inflated negative binomial models for freight trip generation," Transportation, Springer, vol. 48(5), pages 2335-2356, October.
    8. Kai Wang & Menghan Wang & Chang Gan & Qinchang Chen & Mihai Voda, 2021. "Tourism Economic Network Structural Characteristics of National Parks in the Central Region of China," Sustainability, MDPI, vol. 13(9), pages 1-19, April.
    9. Oshan, Taylor M., 2020. "The spatial structure debate in spatial interaction modeling: 50 years on," OSF Preprints 42vxn, Center for Open Science.
    10. Douglas Dow & Ilya R. P. Cuypers, 2024. "The influence of societal nationalist sentiment on trade flows," Journal of International Business Policy, Palgrave Macmillan, vol. 7(1), pages 64-98, March.
    11. Rongji Huang & Tengfei Nie & Yangguang Zhu & Shaofu Du, 2020. "Forecasting Trade Potential Between China and the Five Central Asian Countries: Under the Background of Belt and Road Initiative," Computational Economics, Springer;Society for Computational Economics, vol. 55(4), pages 1233-1247, April.
    12. Elise Desjardins & Christopher D. Higgins & Darren M. Scott & Emma Apatu & Antonio Páez, 2022. "Correlates of bicycling trip flows in Hamilton, Ontario: fastest, quietest, or balanced routes?," Transportation, Springer, vol. 49(3), pages 867-895, June.
    13. Mohd Hussain Kunroo & Imran Ahmad, 2023. "Heckscher-Ohlin Theory or the Modern Trade Theory: How the Overall Trade Characterizes at the Global Level?," Journal of Quantitative Economics, Springer;The Indian Econometric Society (TIES), vol. 21(1), pages 151-174, March.
    14. Filippo Santi & Giorgia Giovannetti & Margherita Velucchi, 2021. "Migrants know better: Migrants' networks and FDI," Working Papers - Economics wp2021_17.rdf, Universita' degli Studi di Firenze, Dipartimento di Scienze per l'Economia e l'Impresa.
    15. Cristina Di Stefano & P. Lelio Iapadre & Ilaria Salvati, 2021. "Trade and Infrastructure in the Belt and Road Initiative: A Gravity Analysis Based on Revealed Trade Preferences," JRFM, MDPI, vol. 14(2), pages 1-15, January.

    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. Rodolfo Metulini & Paolo Sgrignoli & Stefano Schiavo & Massimo Riccaboni, 2018. "The network of migrants and international trade," Economia Politica: Journal of Analytical and Institutional Economics, Springer;Fondazione Edison, vol. 35(3), pages 763-787, December.
    2. 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.
    3. Clément Gorin, 2016. "Patterns and determinants of inventors’ mobility across European urban areas," Working Papers 1615, Groupe d'Analyse et de Théorie Economique Lyon St-Étienne (GATE Lyon St-Étienne), Université de Lyon.
    4. 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.
    5. Carlos Llano-Verduras & Santiago Pérez-Balsalobre & Ana Rincón-Aznar, 2021. "Market fragmentation and the rise of sub-national regulation," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 67(3), pages 765-797, December.
    6. 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.
    7. Ferro, Esteban & Otsuki, Tsunehiro & Wilson, John S., 2015. "The effect of product standards on agricultural exports," Food Policy, Elsevier, vol. 50(C), pages 68-79.
    8. 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.
    9. 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).
    10. James Paul LeSage & Manfred M. Fischer, 2020. "Cross-sectional dependence model specifications in a static trade panel data setting," Journal of Geographical Systems, Springer, vol. 22(1), pages 5-46, January.
    11. Magerman, Glenn & Studnicka, Zuzanna & Van Hove, Jan, 2016. "Distance and border effects in international trade: A comparison of estimation methods," Economics - The Open-Access, Open-Assessment E-Journal (2007-2020), Kiel Institute for the World Economy (IfW Kiel), vol. 10, pages 1-31.
    12. (ed.), 0. "Research Handbook on Economic Diplomacy," Books, Edward Elgar Publishing, number 16053.
    13. Pascal L. Ghazalian, 2019. "Canada's beef exports: Border effects and prospects for market access," Canadian Journal of Agricultural Economics/Revue canadienne d'agroeconomie, Canadian Agricultural Economics Society/Societe canadienne d'agroeconomie, vol. 67(1), pages 53-74, March.
    14. Pamela Smith & Xiangwen Kong, 2022. "Intellectual property rights and trade: The exceptional case of GMOs," The World Economy, Wiley Blackwell, vol. 45(3), pages 763-811, March.
    15. Oshan, Taylor M., 2020. "The spatial structure debate in spatial interaction modeling: 50 years on," OSF Preprints 42vxn, Center for Open Science.
    16. Güzin Bayar, 2018. "Estimating export equations: a survey of the literature," Empirical Economics, Springer, vol. 54(2), pages 629-672, March.
    17. 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.
    18. Wessel, Jan, 2019. "Evaluating the transport-mode-specific trade effects of different transport infrastructure types," Transport Policy, Elsevier, vol. 78(C), pages 42-57.
    19. Martin, Will, 2020. "Making Gravity Great Again," 2020: Economic Implications of COVID-19, December 14-15, Virtual Platform 339376, International Agricultural Trade Research Consortium.
    20. Stacy Julius & Nnanna P. Azu & Maimuna Y. Muhammad, 2019. "Assessing the Impact of Terrorism in Trade Development in the SADC Region: A Gravity Model Approach," Asian Economic and Financial Review, Asian Economic and Social Society, vol. 9(10), pages 1147-1159, October.

    More about this item

    Keywords

    bilateral trade; unconstrained gravity model; eigenvector spatial filtering; zero flows; backward stepwise; zero-inflation;
    All these keywords.

    JEL classification:

    • C14 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Semiparametric and Nonparametric Methods: General
    • C21 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Cross-Sectional Models; Spatial Models; Treatment Effect Models
    • F10 - International Economics - - Trade - - - General

    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:rim:rimwps:16-26. 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: Marco Savioli (email available below). General contact details of provider: https://edirc.repec.org/data/rcfeait.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.