IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s457111.html
 

SPWMATRIX: Stata module to generate, import, and export spatial weights

Author

Listed:
  • P. Wilner Jeanty

    (The Kinder Institute for Urban Research/Hobby Center for the Study of Texas, Rice University)

Programming Language

Stata

Abstract

spwmatrix creates distance-based spatial weights and imports adjacency-based weights (gal files saved in sparse format) created in the GeoDa software (See http://geodacenter.asu.edu":http://geodacenter.asu.edu). spwmatrix also generates economic distance spatial weights based on an economic variable (See Fingleton and Le Gallo, 2008), and social network and socio-economic spatial based on a social variable (See Anselin and Bera, 1998). Created or imported spatial weights and their eigenvalues are generated as temporary Stata matrices or permanent Mata files. spwmatrix also exports the generated spatial weights to a .dat file for use in Matlab or to a .gwt file for use in GeoDa. When creating spatial weights, spwmatrix uses either the straight-line (crow-fly) Euclidean distance or the Great Circle distance depending on whether the latitudes and longitudes supplied in varlist are projected or not.

Suggested Citation

  • P. Wilner Jeanty, 2010. "SPWMATRIX: Stata module to generate, import, and export spatial weights," Statistical Software Components S457111, Boston College Department of Economics, revised 15 Mar 2014.
  • Handle: RePEc:boc:bocode:s457111
    Note: This module should be installed from within Stata by typing "ssc install spwmatrix". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/s/spwmatrix.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/spwmatrix.mata
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/l/lspwmatrix.mlib
    File Function: Mata object library
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/spwmatrix.sthlp
    File Function: help file
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Amy Ickowitz, 2011. "Shifting cultivation and forest pressure in Cameroon," Agricultural Economics, International Association of Agricultural Economists, vol. 42(2), pages 207-220, March.
    2. Tommaso Agasisti & Cristian Barra & Roberto Zotti, 2019. "Research, knowledge transfer, and innovation: The effect of Italian universities’ efficiency on local economic development 2006−2012," Journal of Regional Science, Wiley Blackwell, vol. 59(5), pages 819-849, November.
    3. Zotti, Roberto & Barra, Cristian, 2014. "Human capital development, knowledge spillovers and local growth: Is there a quality effect of university efficiency?," MPRA Paper 60065, University Library of Munich, Germany.
    4. Lippert, Christian & Chatzopoulos, Thomas & Schmidtner, Eva & Aurbacher, Joachim, 2011. "Explaining The Climate-Dependent Distribution Of Crops In Space –The Example Of Corn And Corn-Cob-Mix In Baden-Württemberg," 51st Annual Conference, Halle, Germany, September 28-30, 2011 114504, German Association of Agricultural Economists (GEWISOLA).
    5. Hermann Pythagore Pierre Donfouet & P. Wilner Jeanty & Eric Malin, 2013. "A Spatial Dynamic Panel Analysis of Corruption," Economics Working Paper Archive (University of Rennes 1 & University of Caen) 201324, Center for Research in Economics and Management (CREM), University of Rennes 1, University of Caen and CNRS.
    6. Thomas Scheiber & Caroline Stern, 2016. "Currency substitution in CESEE: why do households prefer euro payments?," Focus on European Economic Integration, Oesterreichische Nationalbank (Austrian Central Bank), issue 4, pages 73-98.
    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. Elena G. Irwin & P. Wilner Jeanty & Mark D. Partridge, 2014. "Amenity Values versus Land Constraints: The Spatial Effects of Natural Landscape Features on Housing Values," Land Economics, University of Wisconsin Press, vol. 90(1), pages 61-78.
    9. Federico Belotti & Gordon Hughes & Andrea Piano Mortari, 2017. "Spatial panel-data models using Stata," Stata Journal, StataCorp LP, vol. 17(1), pages 139-180, March.
    10. Hermann Pythagore Pierre Donfouet & P. Wilner Jeanty & Eric Malin, 2013. "A Spatial Dynamic Panel Analysis of the Environmental Kuznets Curve in European Countries," Economics Working Paper Archive (University of Rennes 1 & University of Caen) 201318, Center for Research in Economics and Management (CREM), University of Rennes 1, University of Caen and CNRS.

    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:boc:bocode:s457111. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: . General contact details of provider: https://edirc.repec.org/data/debocus.html .

    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.

    We have no bibliographic references for this item. You can help adding them by using 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 (email available below). General contact details of provider: https://edirc.repec.org/data/debocus.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.