IDEAS home Printed from https://ideas.repec.org/a/spr/jospat/v3y2022i1d10.1007_s43071-022-00023-w.html
   My bibliography  Save this article

Bayesian spatial econometrics: a software architecture

Author

Listed:
  • Nikolas Kuschnig

    (Vienna University of Economics and Business (WU))

Abstract

Bayesian approaches play an important role in the development of new spatial econometric methods, but are uncommon in applied work. This is partly due to a lack of accessible, flexible software for the Bayesian estimation of spatial models. Established probabilistic software struggles with the specifics of spatial econometrics, while classical implementations do not harness the flexibility of Bayesian modelling. In this paper, I present a layered, objected-oriented software architecture that bridges this gap. An R implementation in the bsreg package allows quick and easy estimation of spatial econometric models, while remaining maintainable and extensible. I demonstrate the benefits of the Bayesian approach and using a well-known dataset on cigarette demand. First, I show that Bayesian posterior densities yield better insights into the uncertainty of non-linear models. Second, I find that earlier studies overestimate spillover effects for distance-based connectivities due to a scaling error, highlighting the need for tried and tested software.

Suggested Citation

  • Nikolas Kuschnig, 2022. "Bayesian spatial econometrics: a software architecture," Journal of Spatial Econometrics, Springer, vol. 3(1), pages 1-25, December.
  • Handle: RePEc:spr:jospat:v:3:y:2022:i:1:d:10.1007_s43071-022-00023-w
    DOI: 10.1007/s43071-022-00023-w
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s43071-022-00023-w
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s43071-022-00023-w?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Tamás Krisztin & Philipp Piribauer, 2023. "A Bayesian approach for the estimation of weight matrices in spatial autoregressive models," Spatial Economic Analysis, Taylor & Francis Journals, vol. 18(1), pages 44-63, January.
    2. Carpenter, Bob & Gelman, Andrew & Hoffman, Matthew D. & Lee, Daniel & Goodrich, Ben & Betancourt, Michael & Brubaker, Marcus & Guo, Jiqiang & Li, Peter & Riddell, Allen, 2017. "Stan: A Probabilistic Programming Language," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 76(i01).
    3. Donald J. Lacombe & Stuart G. McIntyre, 2016. "Local and global spatial effects in hierarchical models," Applied Economics Letters, Taylor & Francis Journals, vol. 23(16), pages 1168-1172, November.
    4. 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.
    5. Jesús Crespo Cuaresma & Gernot Doppelhofer & Martin Feldkircher, 2014. "The Determinants of Economic Growth in European Regions," Regional Studies, Taylor & Francis Journals, vol. 48(1), pages 44-67, January.
    6. Chakir, Raja & Le Gallo, Julie, 2013. "Predicting land use allocation in France: A spatial panel data analysis," Ecological Economics, Elsevier, vol. 92(C), pages 114-125.
    7. Lindgren, Finn & Rue, Håvard, 2015. "Bayesian Spatial Modelling with R-INLA," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i19).
    8. Kelejian, Harry H & Prucha, Ingmar R, 1998. "A Generalized Spatial Two-Stage Least Squares Procedure for Estimating a Spatial Autoregressive Model with Autoregressive Disturbances," The Journal of Real Estate Finance and Economics, Springer, vol. 17(1), pages 99-121, July.
    9. Debarsy, Nicolas & LeSage, James, 2018. "Flexible dependence modeling using convex combinations of different types of connectivity structures," Regional Science and Urban Economics, Elsevier, vol. 69(C), pages 48-68.
    10. Kelejian, Harry H & Prucha, Ingmar R, 1999. "A Generalized Moments Estimator for the Autoregressive Parameter in a Spatial Model," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 40(2), pages 509-533, May.
    11. Debarsy, Nicolas & LeSage, James, 2018. "Flexible dependence modeling using convex combinations of different types of connectivity structures," Regional Science and Urban Economics, Elsevier, vol. 69(C), pages 48-68.
    12. 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.
    13. Guanpeng Dong & Richard Harris & Kelvyn Jones & Jianhui Yu, 2015. "Multilevel Modelling with Spatial Interaction Effects with Application to an Emerging Land Market in Beijing, China," PLOS ONE, Public Library of Science, vol. 10(6), pages 1-18, June.
    14. Virgilio Gómez-Rubio & Roger S. Bivand & Håvard Rue, 2021. "Estimating Spatial Econometrics Models with Integrated Nested Laplace Approximation," Mathematics, MDPI, vol. 9(17), pages 1-23, August.
    15. Bivand, Roger & Piras, Gianfranco, 2015. "Comparing Implementations of Estimation Methods for Spatial Econometrics," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i18).
    16. James Lesage & Manfred Fischer, 2008. "Spatial Growth Regressions: Model Specification, Estimation and Interpretation," Spatial Economic Analysis, Taylor & Francis Journals, vol. 3(3), pages 275-304.
    17. Cornwall, Gary J. & Parent, Olivier, 2017. "Embracing heterogeneity: the spatial autoregressive mixture model," Regional Science and Urban Economics, Elsevier, vol. 64(C), pages 148-161.
    18. Olivier Parent & James Lesage, 2005. "Bayesian Model Averaging for Spatial Econometric Models," Post-Print hal-00375489, HAL.
    19. James P. LeSage & R. Kelley Pace, 2014. "The Biggest Myth in Spatial Econometrics," Econometrics, MDPI, vol. 2(4), pages 1-33, December.
    20. Daron Acemoglu & Suresh Naidu & Pascual Restrepo & James A. Robinson, 2019. "Democracy Does Cause Growth," Journal of Political Economy, University of Chicago Press, vol. 127(1), pages 47-100.
    21. Xiaoyi Han & Lung-Fei Lee, 2016. "Bayesian Analysis of Spatial Panel Autoregressive Models With Time-Varying Endogenous Spatial Weight Matrices, Common Factors, and Random Coefficients," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 34(4), pages 642-660, October.
    22. Smirnov, Oleg A. & Anselin, Luc E., 2009. "An O(N) parallel method of computing the Log-Jacobian of the variable transformation for models with spatial interaction on a lattice," Computational Statistics & Data Analysis, Elsevier, vol. 53(8), pages 2980-2988, June.
    23. Badi H. Baltagi & Dong Li, 2004. "Prediction in the Panel Data Model with Spatial Correlation," Advances in Spatial Science, in: Luc Anselin & Raymond J. G. M. Florax & Sergio J. Rey (ed.), Advances in Spatial Econometrics, chapter 13, pages 283-295, Springer.
    24. Kelejian, Harry H. & Piras, Gianfranco, 2014. "Estimation of spatial models with endogenous weighting matrices, and an application to a demand model for cigarettes," Regional Science and Urban Economics, Elsevier, vol. 46(C), pages 140-149.
    25. Jesús Crespo Cuaresma & Martin Feldkircher, 2013. "Spatial Filtering, Model Uncertainty And The Speed Of Income Convergence In Europe," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 28(4), pages 720-741, June.
    26. Bivand, Roger & Gómez-Rubio, Virgilio & Rue, Håvard, 2015. "Spatial Data Analysis with R-INLA with Some Extensions," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i20).
    27. Solmaria Halleck Vega & J. Paul Elhorst, 2015. "The Slx Model," Journal of Regional Science, Wiley Blackwell, vol. 55(3), pages 339-363, June.
    28. R. Kelley Pace & Ronald Barry & V. Carlos Slawson & C. F. Sirmans, 2004. "Simultaneous Spatial and Functional Form Transformations," Advances in Spatial Science, in: Luc Anselin & Raymond J. G. M. Florax & Sergio J. Rey (ed.), Advances in Spatial Econometrics, chapter 9, pages 197-224, Springer.
    29. Lung-Fei Lee, 2004. "Asymptotic Distributions of Quasi-Maximum Likelihood Estimators for Spatial Autoregressive Models," Econometrica, Econometric Society, vol. 72(6), pages 1899-1925, November.
    30. J. Elhorst, 2010. "Applied Spatial Econometrics: Raising the Bar," Spatial Economic Analysis, Taylor & Francis Journals, vol. 5(1), pages 9-28.
    Full references (including those not matched with items on IDEAS)

    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. Kuschnig, Nikolas, 2021. "Bayesian Spatial Econometrics and the Need for Software," Department of Economics Working Paper Series 318, WU Vienna University of Economics and Business.
    2. Seya, Hajime & Yamagata, Yoshiki & Tsutsumi, Morito, 2013. "Automatic selection of a spatial weight matrix in spatial econometrics: Application to a spatial hedonic approach," Regional Science and Urban Economics, Elsevier, vol. 43(3), pages 429-444.
    3. Demidova, Olga, 2021. "Methods of spatial econometrics and evaluation of government programs effectiveness," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 64, pages 107-134.
    4. Lukas Dargel, 2021. "Revisiting estimation methods for spatial econometric interaction models," Journal of Spatial Econometrics, Springer, vol. 2(1), pages 1-41, December.
    5. Roger Bivand & Giovanni Millo & Gianfranco Piras, 2021. "A Review of Software for Spatial Econometrics in R," Mathematics, MDPI, vol. 9(11), pages 1-40, June.
    6. Michael Pfarrhofer & Philipp Piribauer, 2018. "Flexible shrinkage in high-dimensional Bayesian spatial autoregressive models," Papers 1805.10822, arXiv.org.
    7. Herrera Gómez, Marcos, 2017. "Fundamentos de Econometría Espacial Aplicada [Fundamentals of Applied Spatial Econometrics]," MPRA Paper 80871, University Library of Munich, Germany.
    8. Kelejian, Harry H. & Piras, Gianfranco, 2014. "Estimation of spatial models with endogenous weighting matrices, and an application to a demand model for cigarettes," Regional Science and Urban Economics, Elsevier, vol. 46(C), pages 140-149.
    9. 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.
    10. Paul Elhorst & Solmaria Halleck Vega, 2013. "On spatial econometric models, spillover effects, and W," ERSA conference papers ersa13p222, European Regional Science Association.
    11. Lungarska, Anna & Chakir, Raja, 2018. "Climate-induced Land Use Change in France: Impacts of Agricultural Adaptation and Climate Change Mitigation," Ecological Economics, Elsevier, vol. 147(C), pages 134-154.
    12. Qu, Xi & Lee, Lung-fei & Yang, Chao, 2021. "Estimation of a SAR model with endogenous spatial weights constructed by bilateral variables," Journal of Econometrics, Elsevier, vol. 221(1), pages 180-197.
    13. Debarsy, Nicolas & Ertur, Cem, 2019. "Interaction matrix selection in spatial autoregressive models with an application to growth theory," Regional Science and Urban Economics, Elsevier, vol. 75(C), pages 49-69.
    14. repec:asg:wpaper:1013 is not listed on IDEAS
    15. Solmaria Halleck Vega & J. Paul Elhorst, 2015. "The Slx Model," Journal of Regional Science, Wiley Blackwell, vol. 55(3), pages 339-363, June.
    16. Doğan, Osman & Taşpınar, Süleyman, 2014. "Spatial autoregressive models with unknown heteroskedasticity: A comparison of Bayesian and robust GMM approach," Regional Science and Urban Economics, Elsevier, vol. 45(C), pages 1-21.
    17. Gabriel S. Lee & Stefanie Braun, 2021. "Agglomeration Spillover Effects in German Land and House Prices at the City and County Levels," Working Papers 207, Bavarian Graduate Program in Economics (BGPE).
    18. Guido M. Kuersteiner & Ingmar R. Prucha, 2020. "Dynamic Spatial Panel Models: Networks, Common Shocks, and Sequential Exogeneity," Econometrica, Econometric Society, vol. 88(5), pages 2109-2146, September.
    19. Ariane Amin & Johanna Choumert, 2015. "Development and biodiversity conservation in Sub-Saharan Africa: A spatial analysis," Economics Bulletin, AccessEcon, vol. 35(1), pages 729-744.
    20. Borsky, Stefan & Kalkschmied, Katja, 2019. "Corruption in space: A closer look at the world's subnations," European Journal of Political Economy, Elsevier, vol. 59(C), pages 400-422.
    21. Philipp Otto & Wolfgang Schmid, 2018. "Spatiotemporal analysis of German real-estate prices," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 60(1), pages 41-72, January.

    More about this item

    Keywords

    Bayesian inference; Spillover effect; Neighbourhood; R package;
    All these keywords.

    JEL classification:

    • C11 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Bayesian Analysis: General
    • C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software
    • R10 - Urban, Rural, Regional, Real Estate, and Transportation Economics - - General Regional Economics - - - General

    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:spr:jospat:v:3:y:2022:i:1:d:10.1007_s43071-022-00023-w. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.