Package: hspm 1.1-5

hspm: Heterogeneous Spatial Models

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>).

Authors:Gianfranco Piras [aut, cre], Mauricio Sarrias [aut]

hspm_1.1-5.tar.gz
hspm_1.1-5.zip(r-4.7-any)hspm_1.1-5.zip(r-4.6-any)hspm_1.1-5.zip(r-4.5-any)
hspm_1.1-5.tgz(r-4.6-any)hspm_1.1-5.tgz(r-4.5-any)
hspm_1.1-5.tar.gz(r-4.7-any)hspm_1.1-5.tar.gz(r-4.6-any)
hspm_1.1-5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
hspm/json (API)

# Install 'hspm' in R:
install.packages('hspm', repos = c('https://gpiras.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gpiras/hspm/issues

Datasets:
  • baltim - Baltimore house sales prices and hedonics
  • natreg - US Counties Homicides data
  • ws_6 - Spatial weighting matrix for the US Counties Homicides data

On CRAN:

Conda:

2.70 score 5 stars 298 downloads 5 exports 105 dependencies

Last updated from:ba46eb679e. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develWARNING209
source / vignettesOK298
linux-releaseWARNING223
macos-releaseWARNING130
macos-oldrelWARNING129
windows-develWARNING146
windows-releaseWARNING152
windows-oldrelWARNING137
wasm-releaseOK147

Exports:hsar2slshsarMLivregimesregimesspregimes

Dependencies:abindbackportsbdsmatrixbootbroomcarcarDatacheckmateclassclassIntclicodacodetoolscollapsecolorspacecowplotcpp11data.tableDBIdeldirDerivdigestdoBydplyre1071farverforecastFormulafracdiffgenericsggplot2gluegtableinsightisobandjsonliteKernSmoothlabelinglatticeLearnBayeslifecyclelme4lmtestmagrittrmarginaleffectsMASSMatrixMatrixModelsmaxLikmemiscmgcvminqamiscToolsmodelrmultcompmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplmproxypurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangs2S7sandwichscalessfspSparseMspatialregspDataspdepsphetspldvstringistringrsurvivalTH.datatibbletidyrtidyselecttimeDateunitsurcautf8vctrsviridisLitewithrwkyamlzoo

Readme and manuals

Help Manual

Help pageTopics
Baltimore house sales prices and hedonicsbaltim
Estimation of HSAR models by 2SLShsar2sls print.summary.hsar2sls summary.hsar2sls
Estimation of HSAR models by Quasi-Maximum Likelihoodcoef.hsarML hsarML print.summary.hsarML summary.hsarML
Estimation of regime models with endogenous variablesivregimes
US Counties Homicides datanatreg
Estimation of regimes modelsregimes
Estimation of spatial regimes modelscoef.spregimes fitted.spregimes print.spregimes print.summary.spregimes residuals.spregimes spregimes summary.spregimes vcov.spregimes
Spatial weighting matrix for the US Counties Homicides dataws_6