IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i22p3598-d1522963.html
   My bibliography  Save this article

Pspatreg: R Package for Semiparametric Spatial Autoregressive Models

Author

Listed:
  • Román Mínguez

    (University of Castilla-La Mancha, Av. de los Alfares, 44, 16002 Cuenca, Spain)

  • Roberto Basile

    (University of Rome Sapienza, 00185 Rome, Italy)

  • María Durbán

    (Carlos III University of Madrid, 28903 Madrid, Spain)

Abstract

This article introduces the R package pspatreg, which is publicly available for download from the Comprehensive R Archive Network, for estimating semiparametric spatial econometric penalized spline (P-Spline) models. These models can incorporate a nonparametric spatiotemporal trend, a spatial lag of the dependent variable, independent variables, noise, and time-series autoregressive noise. The primary functions in this package cover the estimation of P-Spline spatial econometric models using either Restricted Maximum Likelihood (REML) or Maximum Likelihood (ML) methods, as well as the computation of marginal impacts for both parametric and nonparametric terms. Additionally, the package offers methods for the graphical display of estimated nonlinear functions and spatial or spatiotemporal trend maps. Applications to cross-sectional and panel spatial data are provided to illustrate the package’s functionality.

Suggested Citation

  • Román Mínguez & Roberto Basile & María Durbán, 2024. "Pspatreg: R Package for Semiparametric Spatial Autoregressive Models," Mathematics, MDPI, vol. 12(22), pages 1-27, November.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:22:p:3598-:d:1522963
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/22/3598/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/22/3598/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Alexander Chudik & M. Hashem Pesaran & Elisa Tosetti, 2011. "Weak and strong cross‐section dependence and estimation of large panels," Econometrics Journal, Royal Economic Society, vol. 14(1), pages 45-90, February.
    2. Antonio Páez & Takashi Uchida & Kazuaki Miyamoto, 2002. "A General Framework for Estimation and Inference of Geographically Weighted Regression Models: 1. Location-Specific Kernel Bandwidths and a Test for Locational Heterogeneity," Environment and Planning A, , vol. 34(4), pages 733-754, April.
    3. Lee, Dae-Jin & Durbán, María & Eilers, Paul, 2013. "Efficient two-dimensional smoothing with P-spline ANOVA mixed models and nested bases," Computational Statistics & Data Analysis, Elsevier, vol. 61(C), pages 22-37.
    4. Tadao Hoshino, 2018. "Semiparametric Spatial Autoregressive Models With Endogenous Regressors: With an Application to Crime Data," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 36(1), pages 160-172, January.
    5. Millo, Giovanni & Piras, Gianfranco, 2012. "splm: Spatial Panel Data Models in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 47(i01).
    6. David M. Drukker & Ingmar Prucha & Rafal Raciborski, 2013. "Maximum likelihood and generalized spatial two-stage least-squares estimators for a spatial-autoregressive model with spatial-autoregressive disturbances," Stata Journal, StataCorp LP, vol. 13(2), pages 221-241, June.
    7. J. Paul Elhorst, 2014. "Matlab Software for Spatial Panels," International Regional Science Review, , vol. 37(3), pages 389-405, July.
    8. Piras, Gianfranco, 2010. "sphet: Spatial Models with Heteroskedastic Innovations in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 35(i01).
    9. Daniel P. McMillen, 2012. "Perspectives On Spatial Econometrics: Linear Smoothing With Structured Models," Journal of Regional Science, Wiley Blackwell, vol. 52(2), pages 192-209, May.
    10. Basile, Roberto & Durbán, María & Mínguez, Román & María Montero, Jose & Mur, Jesús, 2014. "Modeling regional economic dynamics: Spatial dependence, spatial heterogeneity and nonlinearities," Journal of Economic Dynamics and Control, Elsevier, vol. 48(C), pages 229-245.
    11. David M. Drukker & Ingmar Prucha & Rafal Raciborski, 2013. "A command for estimating spatial-autoregressive models with spatial-autoregressive disturbances and additional endogenous variables," Stata Journal, StataCorp LP, vol. 13(2), pages 287-301, June.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Bivand, Roger & Piras, Gianfranco, 2015. "Comparing Implementations of Estimation Methods for Spatial Econometrics," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i18).
    2. Roger Bivand & Giovanni Millo & Gianfranco Piras, 2021. "A Review of Software for Spatial Econometrics in R," Mathematics, MDPI, vol. 9(11), pages 1-40, June.
    3. Román Mínguez & Roberto Basile & María Durbán, 2020. "An alternative semiparametric model for spatial panel data," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 29(4), pages 669-708, December.
    4. repec:rri:wpaper:201301 is not listed on IDEAS
    5. Debarsy, Nicolas & Yang, Zhenlin, 2018. "Editorial for the special issue entitled: New advances in spatial econometrics: Interactions matter," Regional Science and Urban Economics, Elsevier, vol. 72(C), pages 1-5.
    6. Román Mínguez & María L. & Roberto Basile, 2016. "Spatio-Temporal Autoregressive Semiparametric Model for the analysis of regional economic data," Working Papers LuissLab 16126, Dipartimento di Economia e Finanza, LUISS Guido Carli.
    7. Geniaux, Ghislain & Martinetti, Davide, 2018. "A new method for dealing simultaneously with spatial autocorrelation and spatial heterogeneity in regression models," Regional Science and Urban Economics, Elsevier, vol. 72(C), pages 74-85.
    8. Álvarez, Inmaculada C. & Barbero, Javier & Zofío, José L., 2016. "A spatial autoregressive panel model to analyze road network spillovers on production," Transportation Research Part A: Policy and Practice, Elsevier, vol. 93(C), pages 83-92.
    9. repec:zbw:inwedp:582015 is not listed on IDEAS
    10. Paolo Veneri, 2018. "Urban spatial structure in OECD cities: Is urban population decentralising or clustering?," Papers in Regional Science, Wiley Blackwell, vol. 97(4), pages 1355-1374, November.
    11. Yun, Seong Do & Gramig, Benjamin M & Delgado, Michael S. & Florax, Raymond J.G.M., 2015. "Does Spatial Correlation Matter in Econometric Models of Crop Yield Response and Weather?," 2015 AAEA & WAEA Joint Annual Meeting, July 26-28, San Francisco, California 205465, Agricultural and Applied Economics Association.
    12. Feichtinger, Paul & Salhofer, Klaus, 2013. "A Spatial Analysis of Agricultural Land Prices in Bavaria," Working papers 160741, Factor Markets, Centre for European Policy Studies.
    13. Álvarez, Inmaculada C. & Barbero, Javier & Zofío, José L., 2017. "A Panel Data Toolbox for MATLAB," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 76(i06).
    14. Gianfranco Piras & Mauricio Sarrias, 2023. "Heterogeneous spatial models in R: spatial regimes models," Journal of Spatial Econometrics, Springer, vol. 4(1), pages 1-32, December.
    15. Kwideok Han & Brian Whitacre & Inbae Ji, 2020. "Estimating the Impacts of EDA Public Works Program Investments on County Employment," Economic Development Quarterly, , vol. 34(3), pages 283-293, August.
    16. Federico Belotti & Gordon Hughes & Andrea Piano Mortari, 2017. "Spatial panel-data models using Stata," Stata Journal, StataCorp LP, vol. 17(1), pages 139-180, March.
    17. Helena Marques & Gabriel Pino & Juan Dios Tena Horrillo, 2014. "Regional inflation dynamics using space–time models," Empirical Economics, Springer, vol. 47(3), pages 1147-1172, November.
    18. repec:jss:jstsof:47:i01 is not listed on IDEAS
    19. Cong Yu & Linke Hou & Yuxia Lyu & Qi Zhang, 2022. "Political competition, spatial interactions, and default risk of local government debts in China," Papers in Regional Science, Wiley Blackwell, vol. 101(3), pages 717-743, June.
    20. Solmaria Halleck Vega & J. Paul Elhorst, 2015. "The Slx Model," Journal of Regional Science, Wiley Blackwell, vol. 55(3), pages 339-363, June.
    21. Luc Anselin, 2012. "From SpaceStat to CyberGIS," International Regional Science Review, , vol. 35(2), pages 131-157, April.
    22. Pebesma, Edzer & Bivand, Roger & Ribeiro, Paulo Justiniano, 2015. "Software for Spatial Statistics," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i01).
    23. Marcos Herrera Gomez, 2015. "Econometría espacial usando Stata. Breve guía aplicada para datos de corte transversal," Working Papers 13, Instituto de Estudios Laborales y del Desarrollo Económico (IELDE) - Universidad Nacional de Salta - Facultad de Ciencias Económicas, Jurídicas y Sociales.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:22:p:3598-:d:1522963. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.