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 postal-code-level data.
AnselinL.1988. Spatial Econometrics: Methods and Models.Dordrecht: Kluwer Academic Publishers.
2.
AnselinL.2010. Thirty years of spatial econometrics. Papers in Regional Science89: 3–25.
3.
ArbiaG.2006. Spatial Econometrics: Statistical Foundations and Applications to Regional Convergence.Berlin: Springer.
4.
CliffA. D., and OrdJ. K.1973. Spatial Autocorrelation.London: Pion.
5.
CliffA. D., and OrdJ. K.1981. Spatial Processes: Models and Applications.London: Pion.
6.
CressieN. A. C.1993. Statistics for Spatial Data.Revised ed. New York: Wiley.
7.
CrowK.2006. shp2dta: Stata module to convert shape boundary files to Stata datasets. Statistical Software Components S456718, Department of Economics, Boston College.http://ideas.repec.org/c/boc/bocode/s456718.html.
DrukkerD. M., EggerP., and PruchaI. R.2013. On two-step estimation of a spatial autoregressive model with autoregressive disturbances and endogenous regressors. Econometric Reviews32: 686–733.
10.
DrukkerD. M., PengH., PruchaI. R., and RaciborskiR.2011. Sorting induces a banded structure in spatial-weighting matrices. Working paper, Department of Economics, University of Maryland.
11.
DrukkerD. M., PruchaI. R., and RaciborskiR.2013a. A command for estimating spatial-autoregressive models with spatial-autoregressive disturbances and additional endogenous variables. Stata Journal13: 287–301.
12.
DrukkerD. M., PruchaI. R., and RaciborskiR.2013b. Maximum likelihood and generalized spatial two-stage least-squares estimators for a spatial-autoregressive model with spatial-autoregressive disturbances. Stata Journal13: 221–241.
13.
HainingR.2003. Spatial Data Analysis: Theory and Practice.Cambridge: Cambridge University Press.
14.
KelejianH. H., and PruchaI. R.2010. Specification and estimation of spatial autoregressive models with autoregressive and heteroskedastic disturbances. Journal of Econometrics157: 53–67.
15.
LaiP.-C., SoF.-M., and ChanK.-W.2009. Spatial Epidemiological Approaches in Disease Mapping and Analysis.Boca Raton, FL: CRC Press.
16.
LeendersR. T. A. J.2002. Modeling social influence through network autocorrelation: Constructing the weight matrix. Social Networks24: 21–47.
17.
LeSageJ., and PaceR. K.2009. Introduction to Spatial Econometrics.Boca Raton: Chapman & Hall/CRC.
18.
LongJ. S.2009. The Workflow of Data Analysis Using Stata.College Station, TX: Stata Press.
19.
PisatiM.2005. mif2dta: Stata module to convert MapInfo Interchange Format boundary files to Stata boundary files. Statistical Software Components S448403, Department of Economics, Boston College.http://ideas.repec.org/c/boc/bocode/s448403.html.