IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/y13y2013i2p242-286.html
   My bibliography  Save this article

Creating and managing spatial-weighting matrices with the spmat command

Author

Listed:
  • David M. Drukker

    (StataCorp)

  • Hua Peng

    (StataCorp)

  • Ingmar Prucha

    (University of Maryland)

  • Rafal Raciborski

    (StataCorp)

Abstract

We present the spmat command for creating, managing, and storing spatial-weighting matrices, which are used to model interactions between spatial or more generally cross-sectional units. spmat can store spatial-weighting matrices in a general and banded form. We illustrate the use of the spmat command and discuss some of the underlying issues by using United States county and postalcode- level data. Copyright 2013 by StataCorp LP.

Suggested Citation

  • David M. Drukker & Hua Peng & Ingmar Prucha & Rafal Raciborski, 2013. "Creating and managing spatial-weighting matrices with the spmat command," Stata Journal, StataCorp LP, vol. 13(2), pages 242-286, June.
  • Handle: RePEc:tsj:stataj:y:13:y:2013:i:2:p:242-286
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj13-2/st0292/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0292
    File Function: link to article purchase
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Kelejian, Harry H. & Prucha, Ingmar R., 2010. "Specification and estimation of spatial autoregressive models with autoregressive and heteroskedastic disturbances," Journal of Econometrics, Elsevier, vol. 157(1), pages 53-67, July.
    2. David M. Drukker & Ingmar Prucha & Rafal Raciborski, 2013. "A command for estimating spatial-autoregressive models with spatial-autoregressive disturbances and additional endogenous variables," Stata Journal, StataCorp LP, vol. 13(2), pages 287-301, June.
    3. David M. Drukker & Peter Egger & Ingmar R. Prucha, 2013. "On Two-Step Estimation of a Spatial Autoregressive Model with Autoregressive Disturbances and Endogenous Regressors," Econometric Reviews, Taylor & Francis Journals, vol. 32(5-6), pages 686-733, August.
    4. J. Scott Long, 2009. "The Workflow of Data Analysis Using Stata," Stata Press books, StataCorp LP, number wdaus, March.
    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. 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.
    2. Oliviero A. Carboni, 2013. "A spatial analysis of R&D: the role of industry proximity," Economics of Innovation and New Technology, Taylor & Francis Journals, vol. 22(8), pages 820-839, November.
    3. Feichtinger, Paul & Salhofer, Klaus, 2013. "A Spatial Analysis of Agricultural Land Prices in Bavaria," Working papers 160741, Factor Markets, Centre for European Policy Studies.
    4. Marina Di Giacomo & Wolfgang Nagl & Philipp Steinbrunner, 2022. "Trump Digs Votes - The Effect of Trump's Coal Campaign on the Presidential Ballot in 2016," CESifo Working Paper Series 9817, CESifo.
    5. 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).
    6. repec:rri:wpaper:201301 is not listed on IDEAS
    7. Marcos Herrera Gomez, 2015. "Econometría espacial usando Stata. Breve guía aplicada para datos de corte transversal," Working Papers 13, Instituto de Estudios Laborales y del Desarrollo Económico (IELDE) - Universidad Nacional de Salta - Facultad de Ciencias Económicas, Jurídicas y Sociales.
    8. Feichtinger, Paul & Salhofer, Klaus, 2014. "The common agricultural policy of the EU and agricultural land prices - a spatial econometric approach for Bavaria," 2014 International Congress, August 26-29, 2014, Ljubljana, Slovenia 182751, European Association of Agricultural Economists.
    9. repec:zbw:inwedp:582015 is not listed on IDEAS
    10. Povilas Lastauskas & Eirini Tatsi, 2013. "Spatial Nexus in Crime and unemployment in Times of crisis: Evidence from Germany," Cambridge Working Papers in Economics 1359, Faculty of Economics, University of Cambridge.
    11. Badi H. Baltagi & Peter H. Egger & Michaela Kesina, 2016. "Firm‐Level Productivity Spillovers in China's Chemical Industry: A Spatial Hausman‐Taylor Approach," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 31(1), pages 214-248, January.
    12. Álvarez, Inmaculada C. & Barbero, Javier & Zofío, José L., 2017. "A Panel Data Toolbox for MATLAB," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 76(i06).
    13. Fertő, Imre & Csonka, Arnold, 2017. "Válság- és agglomerációs hatások a magyarországi sertéstartásban [Crisis and agglomeration in Hungary s pig production]," Közgazdasági Szemle (Economic Review - monthly of the Hungarian Academy of Sciences), Közgazdasági Szemle Alapítvány (Economic Review Foundation), vol. 0(2), pages 105-122.
    14. Áureo de Paula, 2015. "Econometrics of network models," CeMMAP working papers CWP52/15, Centre for Microdata Methods and Practice, Institute for Fiscal Studies.
    15. Chich-Ping Hu, 2022. "The COVID-19 Epidemic Spreading Effects," Sustainability, MDPI, vol. 14(15), pages 1-11, August.
    16. Oliviero A. Carboni & Claudio Detotto, 2016. "The economic consequences of crime in Italy," Journal of Economic Studies, Emerald Group Publishing Limited, vol. 43(1), pages 122-140, January.
    17. Jörg Breitung & Christoph Wigger, 2018. "Alternative GMM estimators for spatial regression models," Spatial Economic Analysis, Taylor & Francis Journals, vol. 13(2), pages 148-170, April.
    18. Massimiliano Ferraresi & Umberto Galmarini & Leonzio Rizzo, 2014. "Local Infrastructures and Externalities: Does the Size Matter?," Working papers 14, Società Italiana di Economia Pubblica.
    19. Silvia Palombi & Roger Perman & Christophe Tavéra, 2017. "Commuting effects in Okun's Law among British areas: Evidence from spatial panel econometrics," Papers in Regional Science, Wiley Blackwell, vol. 96(1), pages 191-209, March.
    20. Marques, André M., 2022. "Is income inequality good or bad for growth? Further empirical evidence using data for all Brazilian cities," Structural Change and Economic Dynamics, Elsevier, vol. 62(C), pages 360-376.
    21. Paul Feichtinger & Klaus Salhofer, 2016. "The Fischler Reform of the Common Agricultural Policy and Agricultural Land Prices," Land Economics, University of Wisconsin Press, vol. 92(3), pages 411-432.
    22. Mats A. Bergman & Johan Lundberg & Sofia Lundberg & Johan Y. Stake, 2020. "Interactions Across Firms and Bid Rigging," Review of Industrial Organization, Springer;The Industrial Organization Society, vol. 56(1), pages 107-130, February.

    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:tsj:stataj:y:13:y:2013:i:2:p:242-286. 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: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.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.