Package: pspatreg 1.0.4

pspatreg: Spatial and Spatio-Temporal Semiparametric Regression Models with Spatial Lags

Estimation and inference of spatial and spatio-temporal semiparametric models including spatial or spatio-temporal non-parametric trends, parametric and non-parametric covariates and, possibly, a spatial lag for the dependent variable and temporal correlation in the noise. The spatio-temporal trend can be decomposed in ANOVA way including main and interaction functional terms. Use of SAP algorithm to estimate the spatial or spatio-temporal trend and non-parametric covariates. The methodology of these models can be found in next references Basile, R. et al. (2014), <doi:10.1016/j.jedc.2014.06.011>; Rodriguez-Alvarez, M.X. et al. (2015) <doi:10.1007/s11222-014-9464-2> and, particularly referred to the focus of the package, Minguez, R., Basile, R. and Durban, M. (2020) <doi:10.1007/s10260-019-00492-8>.

Authors:Roman Minguez [aut, cre], Roberto Basile [aut], Maria Durban [aut], Gonzalo Espana-Heredia [aut]

pspatreg_1.0.4.tar.gz
pspatreg_1.0.4.zip(r-4.7)pspatreg_1.0.4.zip(r-4.6)pspatreg_1.0.4.zip(r-4.5)
pspatreg_1.0.4.tgz(r-4.6-any)pspatreg_1.0.4.tgz(r-4.5-any)
pspatreg_1.0.4.tar.gz(r-4.7-any)pspatreg_1.0.4.tar.gz(r-4.6-any)
pspatreg_1.0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
pspatreg/json (API)

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

Bug tracker:https://github.com/rominsal/pspatreg/issues

Datasets:
  • map_it - Map of Italian provinces
  • unemp_it - Regional unemployment rates Italian provinces
  • Wsp_it - Spatial weight matrix for Italian provinces

On CRAN:

Conda:

6.49 score 12 stars 86 scripts 281 downloads 11 exports 81 dependencies

Last updated from:f57816def6. Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64ERROR223
source / vignettesOK220
linux-release-x86_64ERROR221
macos-release-arm64ERROR155
macos-oldrel-arm64ERROR168
windows-develERROR176
windows-releaseERROR2824
windows-oldrelERROR174
wasm-releaseOK159

Exports:fit_termsimpactsnoparimpactsparplot_impactsnoparplot_sp2dplot_sp3dplot_sptimeplot_termspspatfitpsplpspt

Dependencies:AmesHousingbackportsbdsmatrixBHbootcheckmateclassclassIntclicodacodetoolscollapsecpp11data.tableDBIdeldirdigestdotCall64dplyre1071farverfieldsFormulagenericsggplot2gluegtableinsightisobandKernSmoothlabelinglatticeLearnBayeslifecyclelmtestmagrittrmapsmarginaleffectsMASSMatrixmaxLikMBAminqamiscToolsmultcompmvtnormnlmenumDerivpillarpkgconfigplmproxyR6rbibutilsRColorBrewerRcppRdpackrlangs2S7sandwichscalessfspspamspatialregspDataspdepstringistringrsurvivalTH.datatibbletidyselectunitsutf8vctrsviridisLitewithrwkzoo

Using pspatreg with cross-sectional data
Models for cross-sectional data | Reading the data | Constructing the spatial weights matrix | Defining formula for parametric and semiparametric models | Estimating parametric linear models | Spatial Lag (SAR) model. REML estimates using pspatfit() | Spatial Lag in X variables (SLX) model. REML estimates using pspatfit() | Spatial Durbin model (SDM). REML estimates using the function pspatfit(): | Spatial Error model (SEM). REML estimates using pspatfit() | Estimating semiparametric nonlinear models with and without a spatial trend | Examples of plotting spatial trends for spatial point coordinates | References

Last update: 2022-06-07
Started: 2022-03-23

Using pspatreg with spatial panel data
Models for spatial panel data | Dataset, spatial weights matrix and model specifications | Linear model (comparison with splm) | Spatial Lag model (SAR). REML estimates using pspatfit() | Spatial error within model (SEM). REML estimates using pspatfit(): | Semiparametric model without spatial trends | Parametric and nonparametric direct, indirect and total impacts | Spatial trend 3d (ANOVA). | References

Last update: 2022-06-07
Started: 2022-04-06

An introduction to pspatreg
Introduction | The semiparametric spatial autoregressive model | Computational approach to estimation | Installation | Basic information on the package | The function pspatfit() | The argument formula | The argument Type | Data structure | Plotting smooth terms | Computing marginal impacts | References

Last update: 2022-04-08
Started: 2022-03-02

Readme and manuals

Help Manual

Help pageTopics
Compute terms of the non-parametric covariates in the semiparametric regression models.fit_terms
Compute direct, indirect and total impacts functions for continous non-parametric covariates in semiparametric spatial regression models.impactsnopar
Compute direct, indirect and total impacts for continous parametric covariates.impactspar
Spatial weight matrix for Italian provinceslwsp_it
map of Italian provincesmap_it
Methods for class pspatreganova anova.pspatreg coef coef.pspatreg fitted fitted.pspatreg logLik logLik.pspatreg methods_pspatreg print print.pspatreg residuals residuals.pspatreg vcov vcov.pspatreg
Plot direct, indirect and total impacts functions for continous non-parametric covariates in semiparametric spatial regression models.plot_impactsnopar
Plot and mapping spatial trends.plot_sp2d
Plot and mapping spatio-temporal trends.plot_sp3d
Plot of time trends for spatio-temporal models in 3d.plot_sptime
Plot terms of the non-parametric covariates in the semiparametric regression models.plot_terms
Print method for objects of class summary.impactspar.pspatregprint.summary.impactspar.pspatreg
Print method for objects of class summary.pspatreg.print.summary.pspatreg
Productivity growth and internal net migration - Italian provincesprod_it
Estimate spatial or spatio-temporal semiparametric regression models from a spatial econometric perspective.pspatfit
pspatreg: A package to estimate and make inference for spatial and spatio-temporal econometric regression modelspspatreg
Functions to include non-parametric continous covariates and spatial or spatio-temporal trends in semiparametric regression models.pspl pspl_terms pspt
Summary method for object of class impactspar.pspatreg.summary.impactspar.pspatreg
Summary method for objects of class pspatreg.summary.pspatreg
Regional unemployment rates Italian provincesunemp_it
Spatial weight matrix for Italian provincesWsp_it