This article introduces a new R package (pspatreg) for the estimation of semiparametric spatial autoregressive models. pspatreg fits penalized spline semiparametric spatial autoregressive models via Restricted Maximum Likelihood or Maximum Likelihood. These models are very flexible as they make it possible to simultaneously control for spatial dependence, nonlinearities in the functional form, and spatio-temporal heterogeneity. The package also allows to estimate parametric spatial autoregressive models for both cross-sectional and panel data (with fixed effects), thus avoiding the use of different libraries. The official demos, vignettes, and tutorials of the package are distributed either in CRAN or GitHub. This article illustrates the potentials of the package by applying it to cross-sectional data.
CITATION STYLE
Mínguez, R., Basile, R., & Durbán, M. (2022). An introduction to pspatreg. A new R package for semiparametric spatial autoregressive analysis. Region, 9(2), R1–R15. https://doi.org/10.18335/region.v9i2.450
Mendeley helps you to discover research relevant for your work.