hspm
1.1Heterogeneous Spatial Models
Overview
Spatial heterogeneity can be specified in various ways. 'hspm' is an ambitious project that aims at implementing various methodologies to control for heterogeneity in spatial models. The current version of 'hspm' deals with spatial and (non-spatial) regimes models. In particular, the package allows to estimate a general spatial regimes model with additional endogenous variables, specified in terms of a spatial lag of the dependent variable, the spatially lagged regressors, and, potentially, a spatially autocorrelated error term. Spatial regime models are estimated by instrumental variables and generalized methods of moments (see Arraiz et al., (2010) doi:10.1111/j.1467-9787.2009.00618.x, Bivand and Piras, (2015) doi:10.18637/jss.v063.i18, Drukker et al., (2013) doi:10.1080/07474938.2013.741020, Kelejian and Prucha, (2010) doi:10.1016/j.jeconom.2009.10.025).
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- References docs
- 17%
Downloads
Repository
Repository practices
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/gpiras/hspm on 2026-07-30.
Dependencies
Nothing depends on this yet.
Code & Tests
Datasets
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 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.1Latest
- 1.0-02022-11-18
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-11-18
- Total releases
- 2 / 4 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.0
- Bundled data
- 974 KB / 3 files
- Download size
- 1.0 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet