spatialreg
1.4-3Spatial Regression Analysis
Overview
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) 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. A recent review is provided by 'Bivand', 'Millo' and 'Piras' (2021) doi:10.3390/math9111276. '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 doi:10.1177/016001769702000109.
Install
Health
- OK2026-07-2213 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-07-2112 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-2614 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
- NOTE2026-03-2211 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-03-2110 OK · 3 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1713 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 92%
- Documented parameters
- 90%
- Return-value docs
- 88%
- References docs
- 85%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Repository practices
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/r-spatial/spatialreg on 2026-07-19.
Dependencies
Code & Tests
People & History
Show 13 more contributors
18 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.4-3Latest
- 1.4-22025-09-06 · diff ↗
- 1.4-12025-09-04 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.3-62024-12-02 · diff ↗
- 1.3-52024-08-19 · diff ↗
- 1.3-42024-06-10 · diff ↗
- 1.3-32024-05-31 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.3-22024-02-06 · diff ↗
- 1.3-12023-11-23 · diff ↗
- 1.2-92023-05-25 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.2-82023-03-01 · diff ↗
- 1.2-62022-10-07 · diff ↗
Show 11 earlier events
Package metadata
- First published
- 2019-04-01
- Total releases
- 18 / 7 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.3
- Download size
- 1.4 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet