Spatial Seemingly Unrelated Regression Models
Overview
A collection of functions to test and estimate Seemingly Unrelated Regression (usually called SUR) models, with spatial structure, by maximum likelihood and three-stage least squares. The package estimates the most common spatial specifications, that is, SUR with Spatial Lag of X regressors (called SUR-SLX), SUR with Spatial Lag Model (called SUR-SLM), SUR with Spatial Error Model (called SUR-SEM), SUR with Spatial Durbin Model (called SUR-SDM), SUR with Spatial Durbin Error Model (called SUR-SDEM), SUR with Spatial Autoregressive terms and Spatial Autoregressive Disturbances (called SUR-SARAR), SUR-SARAR with Spatial Lag of X regressors (called SUR-GNM) and SUR with Spatially Independent Model (called SUR-SIM). The methodology of these models can be found in next references Minguez, R., Lopez, F.A., and Mur, J. (2022) doi:10.18637/jss.v104.i11 Mur, J., Lopez, F.A., and Herrera, M. (2010) doi:10.1080/17421772.2010.516443 Lopez, F.A., Mur, J., and Angulo, A. (2014) doi:10.1007/s00168-014-0624-2.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 19 (1 internal)includes a package overview page
- Examples that run
- 69%9 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran) · 2 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 68% with Rdpack citation macros
Also includes 10 demo scripts (run with demo())
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/rominsal/spsur on 2026-10-22.
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.2.6Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.2.52022-10-29 · diff ↗
- 1.0.2.4
- 1.0.2.2
- 1.0.2.1
- RR 4.2.0 released · 2022-04-22
- 1.0.2.02021-11-12 · diff ↗
- 1.0.1.92021-06-25 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0.1.82021-04-18 · diff ↗
- 1.0.1.72021-04-09 · diff ↗
- 1.0.1.62020-09-17 · diff ↗
Show 9 earlier eventsHide 9 earlier events
Package metadata
- First published
- 2019-03-15
- Total releases
- 16 / 7 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 780 KB / 3 files
- Download size
- 3.2 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("spsur")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v104.i11, 10.1007/s00168-019-00914-1.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.