Skip to content

hspm

1.1

Heterogeneous Spatial Models

0packages depend
2.6Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Gianfranco PirasFirst published 2022-11-182 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 3.1 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
100%
References docs
17%

Downloads

2.6K
CRAN downloads in the past year
Rank #17,355 · ~7/day · ~214/mo
Daily download trend is not available in this view yet.
19730 days
63690 days
2.6K1 year
Compare downloads with other packages →
Also on122 r2u1 autocran

Repository

Repository
5Stars
3Forks
0Open issues
0Open PRs
0Releases
38Commits
2Contributors
38 commits · Last activity 2023-11-07

Repository practices

Upstream repositoryBeta

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.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0
Imports (5)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 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.1Latest
    2023-03-08 · current release · diff ↗
  • 1.0-0
    2022-11-18
  • R
    R 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
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