Skip to content
spatemR needs insight (through sphet → spatialreg → marginaleffects), which CRAN will archive unless its check problems are fixed by Nov 14.

spatemR

1.4.0Package record

Generalized Spatial Autoregresive Models for Mean and Variance

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

Overview

About

Modeling spatial dependencies in dependent variables, extending traditional spatial regression approaches. It allows for the joint modeling of both the mean and the variance of the dependent variable, incorporating semiparametric effects in both models. Based on generalized additive models (GAM), the package enables the inclusion of non-parametric terms while maintaining the classical theoretical framework of spatial regression. Additionally, it implements the Generalized Spatial Autoregression (GSAR) model, which extends classical methods like logistic Spatial Autoregresive Models (SAR), probit Spatial Autoregresive Models (SAR), and Poisson Spatial Autoregresive Models (SAR), offering greater flexibility in modeling spatial dependencies and significantly improving computational efficiency and the statistical properties of the estimators. Related work includes: a) J.D. Toloza-Delgado, Melo O.O., Cruz N.A. (2024). "Joint spatial modeling of mean and non-homogeneous variance combining semiparametric SAR and GAMLSS models for hedonic prices". doi:10.1016/j.spasta.2024.100864. b) Cruz, N. A., Toloza-Delgado, J. D., Melo, O. O. (2024). "Generalized spatial autoregressive model". doi:10.48550/arXiv.2412.00945.

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-18
  • WARNING12 OK, 1 WARNING2026-09-12
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.4.0
READMEYes · 25 wordsVignettesNoNEWSYes · 67% structured · does not mention 1.4.0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
8
Examples that run
33%2 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
Exported functions with examples
100%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
25%

Downloads

3.3K
CRAN downloads in the past year
Rank #11,855 · ~9/day · ~279/mo
Daily download trend is not available in this view yet.
30230 days
92690 days
3.3K1 year
Compare downloads with other packages →
Also on82 r2u2 autocran

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing spatemR adds 40 packages (25 with compiled code, 69 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, TH.data 8.2 MB.

Depends (1)
R >= 4.0
Imports (6)
methodsstatsgamlssgamlss.distsphetMatrix
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Dependencies facing archival

CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.

Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (4)
Author, Maintainer since 1.0.0 (2025), Copyright holder
Author · added in 1.4.0
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.4.0Latest
    record
    2026-04-14 · current release · diff ↗
  • 1.3.0
    record
    2026-04-14 · diff ↗ ·
    removed 2 exports
    GEESAR, Hurdle_GEESAR
    added 3 exports
    GSCIMC, Hurdle_GSCIMC, var_rho_inv
  • 1.2.0
    record
    2025-06-03 · diff ↗
  • 1.1.0
    record
    2025-05-26 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.0
    record
    2025-04-03
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-04-03
Total releases
5 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.0
Download size
16 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("spatemR")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1016/j.spasta.2024.100864.

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 spatemR version 1.4.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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