Skip to content

spsur

1.0.2.6Package record

Spatial Seemingly Unrelated Regression Models

0packages depend
6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 4.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.2.6
README· In the repository, left out of the releaseVignettesYes · 4 · staticNEWSNoCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JSS article
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

6K
CRAN downloads in the past year
Rank #5,437 · ~16/day · ~500/mo
Daily download trend is not available in this view yet.
55530 days
1.5K90 days
6K1 year
Compare downloads with other packages →
Also on88 r2u7 autocran68 c2d4u

Repository

11Stars
7Forks
2Open issues
0Open PRs
0Releases
245Commits
3Commit identities
245 commits · Last activity 2022-04-22 · The default branch showed an older version (1.0.2.1) than CRAN on 2026-10-22
Responsiveness
How these are sampled
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

2023-11-27 · 112026-07-07 · 11
PracticesBeta

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.

Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing spsur adds 58 packages (29 with compiled code, 80 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, TH.data 8.2 MB.

Depends (3)
R >= 4.1methodsstats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 1.0.0.2 (2019)
Author
Releases (16)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.2.6Latest
    record
    2025-09-03 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.2.5
    record
    2022-10-29 · diff ↗
  • 1.0.2.4
    record
    2022-08-31 · diff ↗ ·
    added 1 export
    spsurgs3sls
  • 1.0.2.2
    record
    2022-08-20 · diff ↗ ·
    removed 2 exports
    lrtestspsur, spsurgs3sls
  • 1.0.2.1
    record
    2022-04-22 · diff ↗ ·
    added 2 exports
    lrtestspsur, spsurgs3sls
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.2.0
    record
    2021-11-12 · diff ↗
  • 1.0.1.9
    record
    2021-06-25 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.1.8
    record
    2021-04-18 · diff ↗
  • 1.0.1.7
    record
    2021-04-09 · diff ↗
  • 1.0.1.6
    record
    2020-09-17 · diff ↗
Show 9 earlier eventsHide 9 earlier events
  • 1.0.1.5
    record
    2020-08-12 · diff ↗
  • 1.0.1.4
    record
    2020-07-31 · diff ↗ ·
    removed 1 export
    lrtestspsur
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.1.3
    record
    2020-04-07 · diff ↗ ·
    removed 2 exports
    impacts, lr_betas_spsur
    added 2 exports
    impactspsur, lr_betas
  • 1.0.0.4
    record
    2019-12-12 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.0.3
    record
    2019-03-23 · diff ↗
  • 1.0.0.2
    record
    2019-03-15
  • R
    R 3.5.0 released · 2018-04-23

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for spsur version 1.0.2.6 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy