spatialreg: Spatial Regression Analysis

A collection of all the estimation functions for spatial cross-sectional models (on lattice/areal data using spatial weights matrices) contained up to now in 'spdep', 'sphet' and 'spse'. These model fitting functions include maximum likelihood methods for cross-sectional models proposed by 'Cliff' and 'Ord' (1973, ISBN:0850860369) and (1981, ISBN:0850860814), fitting methods initially described by 'Ord' (1975) <doi:10.1080/01621459.1975.10480272>. The models are further described by 'Anselin' (1988) <doi:10.1007/978-94-015-7799-1>. Spatial two stage least squares and spatial general method of moment models initially proposed by 'Kelejian' and 'Prucha' (1998) <doi:10.1023/A:1007707430416> and (1999) <doi:10.1111/1468-2354.00027> are provided. Impact methods and MCMC fitting methods proposed by 'LeSage' and 'Pace' (2009) <doi:10.1201/9781420064254> are implemented for the family of cross-sectional spatial regression models. Methods for fitting the log determinant term in maximum likelihood and MCMC fitting are compared by 'Bivand et al.' (2013) <doi:10.1111/gean.12008>, and model fitting methods by 'Bivand' and 'Piras' (2015) <doi:10.18637/jss.v063.i18>; both of these articles include extensive lists of references. 'spatialreg' >= 1.1-* correspond to 'spdep' >= 1.1-1, in which the model fitting functions are deprecated and pass through to 'spatialreg', but will mask those in 'spatialreg'. From versions 1.2-*, the functions will be made defunct in 'spdep'.

Version: 1.1-5
Depends: R (≥ 3.3.0), spData, Matrix
Imports: spdep, expm, coda, methods, MASS, boot, splines, LearnBayes, nlme, gmodels
Suggests: parallel, RSpectra, sf, tmap, foreign, spam, knitr, lmtest, sandwich
Published: 2019-12-01
Author: Roger Bivand ORCID iD [cre, aut], Gianfranco Piras [aut], Luc Anselin [ctb], Andrew Bernat [ctb], Eric Blankmeyer [ctb], Yongwan Chun [ctb], Virgilio Gómez-Rubio [ctb], Daniel Griffith [ctb], Martin Gubri [ctb], Rein Halbersma [ctb], James LeSage [ctb], Angela Li [ctb], Jielai Ma [ctb], Abhirup Mallik [ctb, trl], Giovanni Millo [ctb], Kelley Pace [ctb], Pedro Peres-Neto [ctb], Mauricio Sarrias [ctb], JuanTomas Sayago [ctb], Michael Tiefelsdorf [ctb]
Maintainer: Roger Bivand <Roger.Bivand at>
License: GPL-2
NeedsCompilation: yes
Citation: spatialreg citation info
In views: Econometrics, Spatial
CRAN checks: spatialreg results


Reference manual: spatialreg.pdf
Vignettes: Moran Eigenvectors
Introduction to the North Carolina SIDS data set (re-revised)
Package source: spatialreg_1.1-5.tar.gz
Windows binaries: r-prerelease:, r-release:, r-oldrel:
macOS binaries: r-prerelease: spatialreg_1.1-5.tgz, r-release: spatialreg_1.1-5.tgz, r-oldrel: spatialreg_1.1-5.tgz
Old sources: spatialreg archive

Reverse dependencies:

Reverse depends: GWmodel, lagsarlmtree
Reverse imports: spANOVA, spsur
Reverse suggests: prabclus, spData, spdep
Reverse enhances: MuMIn


Please use the canonical form to link to this page.