IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v047i01.html
   My bibliography  Save this article

splm: Spatial Panel Data Models in R

Author

Listed:
  • Millo, Giovanni
  • Piras, Gianfranco

Abstract

splm is an R package for the estimation and testing of various spatial panel data specifications. We consider the implementation of both maximum likelihood and generalized moments estimators in the context of fixed as well as random effects spatial panel data models. This paper is a general description of splm and all functionalities are illustrated using a well-known example taken from Munnell (1990) with productivity data on 48 US states observed over 17 years. We perform comparisons with other available software; and, when this is not possible, Monte Carlo results support our original implementation.

Suggested Citation

  • Millo, Giovanni & Piras, Gianfranco, 2012. "splm: Spatial Panel Data Models in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 47(i01).
  • Handle: RePEc:jss:jstsof:v:047:i01
    DOI: http://hdl.handle.net/10.18637/jss.v047.i01
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v047i01/v47i01.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v047i01/splm_1.0-00.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v047i01/v47i01.R
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v047i01/cigardemo.txt
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v047i01/spat-sym-us.txt
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v047i01/v47i01-simulations.zip
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v047i01/v47i01-simresults.zip
    Download Restriction: no

    References listed on IDEAS

    as
    1. Debarsy, Nicolas & Ertur, Cem, 2010. "Testing for spatial autocorrelation in a fixed effects panel data model," Regional Science and Urban Economics, Elsevier, vol. 40(6), pages 453-470, November.
    2. Yu, Jihai & de Jong, Robert & Lee, Lung-fei, 2008. "Quasi-maximum likelihood estimators for spatial dynamic panel data with fixed effects when both n and T are large," Journal of Econometrics, Elsevier, vol. 146(1), pages 118-134, September.
    3. Jan Mutl & Michael Pfaffermayr, 2011. "The Hausman test in a Cliff and Ord panel model," Econometrics Journal, Royal Economic Society, vol. 14, pages 48-76, February.
    4. Pesaran, M. Hashem & Tosetti, Elisa, 2011. "Large panels with common factors and spatial correlation," Journal of Econometrics, Elsevier, vol. 161(2), pages 182-202, April.
    5. David M. Drukker & Hua Peng & Ingmar Prucha & Rafal Raciborski, 2011. "SPPACK: Stata module for cross-section spatial-autoregressive models," Statistical Software Components S457245, Boston College Department of Economics, revised 04 Dec 2018.
    6. Croissant, Yves & Millo, Giovanni, 2008. "Panel Data Econometrics in R: The plm Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i02).
    7. Baltagi, Badi H. & Song, Seuck Heun & Koh, Won, 2003. "Testing panel data regression models with spatial error correlation," Journal of Econometrics, Elsevier, vol. 117(1), pages 123-150, November.
    8. David M. Drukker & Hua Peng & Ingmar Prucha & Rafal Raciborski, 2013. "Creating and managing spatial-weighting matrices with the spmat command," Stata Journal, StataCorp LP, vol. 13(2), pages 242-286, June.
    9. Baltagi, Badi H. & Egger, Peter & Pfaffermayr, Michael, 2007. "Estimating models of complex FDI: Are there third-country effects?," Journal of Econometrics, Elsevier, vol. 140(1), pages 260-281, September.
    10. Badi H. Baltagi & Peter Egger & Michael Pfaffermayr, 2013. "A Generalized Spatial Panel Data Model with Random Effects," Econometric Reviews, Taylor & Francis Journals, vol. 32(5-6), pages 650-685, August.
    11. Yu, Jihai & Lee, Lung-fei, 2010. "Estimation Of Unit Root Spatial Dynamic Panel Data Models," Econometric Theory, Cambridge University Press, vol. 26(5), pages 1332-1362, October.
    12. Baltagi, Badi H., 1981. "Simultaneous equations with error components," Journal of Econometrics, Elsevier, vol. 17(2), pages 189-200, November.
    13. Badi H. Baltagi & Peter Egger & Michael Pfaffermayr, 2013. "A Generalized Spatial Panel Data Model with Random Effects," Econometric Reviews, Taylor & Francis Journals, vol. 32(5-6), pages 650-685, August.
    14. Kapoor, Mudit & Kelejian, Harry H. & Prucha, Ingmar R., 2007. "Panel data models with spatially correlated error components," Journal of Econometrics, Elsevier, vol. 140(1), pages 97-130, September.
    15. Piras, Gianfranco, 2010. "sphet: Spatial Models with Heteroskedastic Innovations in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 35(i01).
    16. repec:hal:journl:peer-00796743 is not listed on IDEAS
    17. Lee, Lung-fei & Yu, Jihai, 2010. "A Spatial Dynamic Panel Data Model With Both Time And Individual Fixed Effects," Econometric Theory, Cambridge University Press, vol. 26(2), pages 564-597, April.
    Full references (including those not matched with items on IDEAS)

    More about this item

    Statistics

    Access and download statistics

    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:jss:jstsof:v:047:i01. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F. Baum). General contact details of provider: http://www.jstatsoft.org/ .

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

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

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.