Skip to main content Accessibility help
×
Hostname: page-component-cd9895bd7-q99xh Total loading time: 0 Render date: 2024-12-21T18:12:56.015Z Has data issue: false hasContentIssue false

Appendix B - Spatial Software

from PART III - APPENDICES ON IMPLEMENTING SPATIAL ANALYSES

Published online by Cambridge University Press:  05 November 2015

David Darmofal
Affiliation:
University of South Carolina
Get access

Summary

Stata®: This software from Stata Corporation, widely used in the social sciences, does not include much spatial functionality in its standard release. However, there are some user-written functions that allow for the diagnosis and modeling of spatial dependence. Commands written by Maurizio Pisati allow for the importation and generation of spatial weights matrices, the diagnosis of spatial dependence in the absence of covariates, the diagnosis of spatial dependence for ordinary least squares (OLS) regressions, and maximum likelihood estimation of spatial lag and spatial error models (see Pisati 2001).Weights matrices can be imported from external objects or created in Stata using the spatwmat command. The spatgsa command provides three alternative global spatial diagnostics, Moran's I, Geary's c, and Ord and Getis's G statistic. The spatlsa command provides four local spatial diagnostics, the local Moran's I, the local Geary's c, and the Gi and statistics. Five diagnostics for spatial dependence in OLS regressions can be carried out via the spatdiag command: the Moran's I diagnostic, the Lagrange multiplier (LM) diagnostic against error dependence (LMError), the robust LM diagnostic against error dependence (Robust LMError), the LM diagnostic against spatial lag dependence (LMLag), and the robust LM diagnostic against spatial lag dependence (Robust LMLag). Finally, spatial lag and spatial error models can be estimated via maximum likelihood estimation by using the spatreg command.

Recently, David M. Drukker, Hua Peng, Ingmar Prucha, and Rafal Raciborski have created SPPACK, a Stata module for the estimation of cross-sectional spatial autoregressive models (see Drukker et al. 2013; Drukker, Prucha, and Raciborski 2013a; and Drukker, Prucha, and Raciborski 2013b). The module's spmat command provides a variety of options involving spatial weights matrices. Researchers can create contiguity matrices and inverse distance matrices or import matrices based on variables (such as distances) that are already stored in existing Stata datasets. Features of spatial weights matrices can also be summarized using the spmat summarize command.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2015

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Spatial Software
  • David Darmofal, University of South Carolina
  • Book: Spatial Analysis for the Social Sciences
  • Online publication: 05 November 2015
  • Chapter DOI: https://doi.org/10.1017/CBO9781139051293.013
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Spatial Software
  • David Darmofal, University of South Carolina
  • Book: Spatial Analysis for the Social Sciences
  • Online publication: 05 November 2015
  • Chapter DOI: https://doi.org/10.1017/CBO9781139051293.013
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Spatial Software
  • David Darmofal, University of South Carolina
  • Book: Spatial Analysis for the Social Sciences
  • Online publication: 05 November 2015
  • Chapter DOI: https://doi.org/10.1017/CBO9781139051293.013
Available formats
×