1. An introduction to pspatreg
- Author
-
Román Mínguez, Roberto Basile, and María Durbán
- Subjects
Landscaping and area planning ,Städtebau, Raumplanung, Landschaftsgestaltung ,Economics and Econometrics ,Raumplanung und Regionalforschung ,Area Development Planning, Regional Research ,Geography, Planning and Development ,R package ,Spatial dependence ,Semiparametric models ,Splines ,ddc:710 - Abstract
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 since 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 potential of the package by using an application to cross-sectional data.
- Published
- 2022