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'. 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) . The models are further described by 'Anselin' (1988) . Spatial two stage least squares and spatial general method of moment models initially proposed by 'Kelejian' and 'Prucha' (1998) and (1999) are provided. Impact methods and MCMC fitting methods proposed by 'LeSage' and 'Pace' (2009) 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) , and model fitting methods by 'Bivand' and 'Piras' (2015) ; both of these articles include extensive lists of references. A recent review is provided by 'Bivand', 'Millo' and 'Piras' (2021) . 'spatialreg' >= 1.1-* corresponded to 'spdep' >= 1.1-1, in which the model fitting functions were deprecated and passed through to 'spatialreg', but masked those in 'spatialreg'. From versions 1.2-*, the functions have been made defunct in 'spdep'. From version 1.3-6, add Anselin-Kelejian (1997) test to `stsls` for residual spatial autocorrelation .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("spatialreg")

1.4-3 by Roger Bivand, 7 months ago


https://github.com/r-spatial/spatialreg/, https://r-spatial.github.io/spatialreg/


Report a bug at https://github.com/r-spatial/spatialreg/issues/


Browse source code at https://github.com/cran/spatialreg


Authors: Roger Bivand [cre, aut] (ORCID: , ROR: <https://ror.org/04v53s997>) , Gianfranco Piras [aut] , Luc Anselin [ctb] , Andrew Bernat [ctb] , Eric Blankmeyer [ctb] , Yongwan Chun [ctb] , Virgilio Gómez-Rubio [ctb] (ORCID: , Daniel Griffith [ctb] , Martin Gubri [ctb] , Rein Halbersma [ctb] , James LeSage [ctb] , Angela Li [ctb] , Hongfei Li [ctb] , Jielai Ma [ctb] , Abhirup Mallik [ctb, trl] , Giovanni Millo [ctb] , Kelley Pace [ctb] , Josiah Parry [ctb] , Pedro Peres-Neto [ctb] , Tobias Rüttenauer [ctb] (ORCID: , Mauricio Sarrias [ctb] , JuanTomas Sayago [ctb] , Michael Tiefelsdorf [ctb]


Documentation:   PDF Manual  


GPL-2 license


Imports spdep, coda, methods, mvtnorm, boot, splines, LearnBayes, nlme, multcomp, marginaleffects

Depends on spData, Matrix, sf

Suggests parallel, RSpectra, tmap, foreign, spam, knitr, lmtest, expm, sandwich, rmarkdown, igraph, tinytest, codingMatrices


Imported by FlexScan, GWmodel, HSAR, SCDA, bigDM, bispdep, latticeDensity, ofemeantest, pboost, pmlsp, pspatreg, spANOVA, spdgp, sphet, spldv, splm, spqdep, spsur, tsqr.

Depended on by SpatialRegimes, lagsarlmtree, spatialprobit, spatialreg.hp, ssfa.

Suggested by ArchipelagoEngine, HawaSpatial, broom, prabclus, spData, spboost, spdep.

Enhanced by MuMIn, texreg.


See at CRAN