IDEAS home Printed from https://ideas.repec.org/a/eee/csdana/v71y2014icp914-933.html
   My bibliography  Save this article

Maximum likelihood estimation of spatially and serially correlated panels with random effects

Author

Listed:
  • Millo, Giovanni

Abstract

An estimation framework and a user-friendly software implementation are described for maximum likelihood estimation of panel data models with random effects, a spatially lagged dependent variable and spatially and serially correlated errors. This specification extends static panel data models in the direction of serial error correlation, allowing richer modelling possibilities and more thorough diagnostic assessments. The estimation routines extend the functionalities of the splm package for spatial panel econometrics in the open source R system for statistical computing.

Suggested Citation

  • Millo, Giovanni, 2014. "Maximum likelihood estimation of spatially and serially correlated panels with random effects," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 914-933.
  • Handle: RePEc:eee:csdana:v:71:y:2014:i:c:p:914-933
    DOI: 10.1016/j.csda.2013.07.024
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0167947313002697
    Download Restriction: Full text for ScienceDirect subscribers only.

    File URL: https://libkey.io/10.1016/j.csda.2013.07.024?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. 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.
    2. Elhorst, J. Paul, 2010. "Dynamic panels with endogenous interaction effects when T is small," Regional Science and Urban Economics, Elsevier, vol. 40(5), pages 272-282, September.
    3. Bernard Fingleton, 2008. "A Generalized Method of Moments Estimator for a Spatial Panel Model with an Endogenous Spatial Lag and Spatial Moving Average Errors," Spatial Economic Analysis, Taylor & Francis Journals, vol. 3(1), pages 27-44.
    4. Alicia H. Munnell, 1990. "Why has productivity growth declined? Productivity and public investment," New England Economic Review, Federal Reserve Bank of Boston, issue Jan, pages 3-22.
    5. Giorgio Calzolari & Laura Magazzini, 2012. "Autocorrelation and masked heterogeneity in panel data models estimated by maximum likelihood," Empirical Economics, Springer, vol. 43(1), pages 145-152, August.
    6. Florax, Raymond J. G. M. & Folmer, Hendrik & Rey, Sergio J., 2003. "Specification searches in spatial econometrics: the relevance of Hendry's methodology," Regional Science and Urban Economics, Elsevier, vol. 33(5), pages 557-579, September.
    7. Magnus, Jan R., 1978. "Maximum likelihood estimation of the GLS model with unknown parameters in the disturbance covariance matrix," Journal of Econometrics, Elsevier, vol. 7(3), pages 281-312, April.
    8. Hausman, Jerry, 2015. "Specification tests in econometrics," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 38(2), pages 112-134.
    9. M. Hashem Pesaran, 2021. "General diagnostic tests for cross-sectional dependence in panels," Empirical Economics, Springer, vol. 60(1), pages 13-50, January.
    10. 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.
    11. Baltagi, Badi H. & Heun Song, Seuck & Cheol Jung, Byoung & Koh, Won, 2007. "Testing for serial correlation, spatial autocorrelation and random effects using panel data," Journal of Econometrics, Elsevier, vol. 140(1), pages 5-51, September.
    12. Baltagi, Badi H. & Bresson, Georges & Pirotte, Alain, 2012. "Forecasting with spatial panel data," Computational Statistics & Data Analysis, Elsevier, vol. 56(11), pages 3381-3397.
    13. 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.
    14. Bivand, Roger, 2010. "Computing the Jacobian in spatial models: an applied survey," Discussion Paper Series in Economics 20/2010, Norwegian School of Economics, Department of Economics.
    15. Millo, Giovanni & Piras, Gianfranco, 2012. "splm: Spatial Panel Data Models in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 47(i01).
    16. Case, Anne C, 1991. "Spatial Patterns in Household Demand," Econometrica, Econometric Society, vol. 59(4), pages 953-965, July.
    17. Patrick Sevestre & Laszlo Matyas, 2008. "The Econometrics of Panel Data," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) halshs-00279977, HAL.
    18. Qu Feng & William C. Horrace, 2012. "Alternative technical efficiency measures: Skew, bias and scale," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 27(2), pages 253-268, March.
    19. Pace, R. Kelley & LeSage, James P., 2004. "Chebyshev approximation of log-determinants of spatial weight matrices," Computational Statistics & Data Analysis, Elsevier, vol. 45(2), pages 179-196, March.
    20. Furrer, Reinhard & Sain, Stephan R., 2010. "spam: A Sparse Matrix R Package with Emphasis on MCMC Methods for Gaussian Markov Random Fields," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 36(i10).
    21. Zeileis, Achim, 2006. "Object-oriented Computation of Sandwich Estimators," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 16(i09).
    22. 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.
    23. Ray Trewin & L. Weiguo & Sjaiful Erwidodo & Sjaiful Bahri, 1995. "Analysis Of The Technical Efficiency Over Time Of West Javanese Rice Farms," Australian Journal of Agricultural and Resource Economics, Australian Agricultural and Resource Economics Society, vol. 39(2), pages 143-163, August.
    24. Giovanni Millo & Gaetano Carmeci, 2011. "Non-life insurance consumption in Italy: a sub-regional panel data analysis," Journal of Geographical Systems, Springer, vol. 13(3), pages 273-298, September.
    25. 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.
    26. Giovanni Millo & Giacomo Pasini, 2010. "Does Social Capital Reduce Moral Hazard? A Network Model for Non-Life Insurance Demand," Fiscal Studies, Institute for Fiscal Studies, vol. 31(3), pages 341-372, September.
    27. Elhorst, J. Paul, 2008. "Serial and spatial error correlation," Economics Letters, Elsevier, vol. 100(3), pages 422-424, September.
    28. Baltagi, Badi H & Pinnoi, Nat, 1995. "Public Capital Stock and State Productivity Growth: Further Evidence from an Error Components Model," Empirical Economics, Springer, vol. 20(2), pages 351-359.
    29. 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).
    30. 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.
    31. Lee, Lung-fei & Yu, Jihai, 2010. "Estimation of spatial autoregressive panel data models with fixed effects," Journal of Econometrics, Elsevier, vol. 154(2), pages 165-185, February.
    32. 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).
    33. 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.
    34. Baltagi, Badi H. & Liu, Long, 2008. "Testing for random effects and spatial lag dependence in panel data models," Statistics & Probability Letters, Elsevier, vol. 78(18), pages 3304-3306, December.
    35. Lung‐fei Lee & Jihai Yu, 2012. "Spatial Panels: Random Components Versus Fixed Effects," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 53(4), pages 1369-1412, November.
    36. László Mátyás & Patrick Sevestre (ed.), 2008. "The Econometrics of Panel Data," Advanced Studies in Theoretical and Applied Econometrics, Springer, number 978-3-540-75892-1, July-Dece.
    37. Viliam Druska & William C. Horrace, 2004. "Generalized Moments Estimation for Spatial Panel Data: Indonesian Rice Farming," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 86(1), pages 185-198.
    38. Oberhofer, W & Kmenta, J, 1974. "A General Procedure for Obtaining Maximum Likelihood Estimates in Generalized Regression Models," Econometrica, Econometric Society, vol. 42(3), pages 579-590, May.
    39. Mundlak, Yair, 1978. "On the Pooling of Time Series and Cross Section Data," Econometrica, Econometric Society, vol. 46(1), pages 69-85, January.
    40. J. Paul Elhorst, 2003. "Specification and Estimation of Spatial Panel Data Models," International Regional Science Review, , vol. 26(3), pages 244-268, July.
    41. Mur, Jesús & Angulo, Ana, 2009. "Model selection strategies in a spatial setting: Some additional results," Regional Science and Urban Economics, Elsevier, vol. 39(2), pages 200-213, March.
    42. 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.
    43. Lee, Lung-fei & Yu, Jihai, 2010. "Some recent developments in spatial panel data models," Regional Science and Urban Economics, Elsevier, vol. 40(5), pages 255-271, September.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Mahalik, Mantu Kumar & Patel, Gupteswar & Sahoo, Bimal Kishore & Rahman, Mohammad Mafizur, 2023. "Impact of income inequality on renewable energy demand in south Asian economies," Energy Policy, Elsevier, vol. 180(C).
    2. Albert Stuart Reece & Gary Kenneth Hulse, 2022. "State Trends of Cannabis Liberalization as a Causal Driver of Increasing Testicular Cancer Rates across the USA," IJERPH, MDPI, vol. 19(19), pages 1-37, October.
    3. Bardaka, Eleni & Delgado, Michael S. & Florax, Raymond J.G.M., 2018. "Causal identification of transit-induced gentrification and spatial spillover effects: The case of the Denver light rail," Journal of Transport Geography, Elsevier, vol. 71(C), pages 15-31.
    4. Oleg Poldin & Diliara Valeeva & Maria Yudkevich, 2016. "Which Peers Matter: How Social Ties Affect Peer-group Effects," Research in Higher Education, Springer;Association for Institutional Research, vol. 57(4), pages 448-468, June.
    5. Yu, Dalei & Bai, Peng & Ding, Chang, 2015. "Adjusted quasi-maximum likelihood estimator for mixed regressive, spatial autoregressive model and its small sample bias," Computational Statistics & Data Analysis, Elsevier, vol. 87(C), pages 116-135.
    6. Giovanni Millo, 2022. "The generalized spatial random effects model in R," Journal of Spatial Econometrics, Springer, vol. 3(1), pages 1-18, December.
    7. Marton, Tibor, 2015. "Spatial Concentration of Milk Production in Norway: The Flow of Quotas," 150th Seminar, October 22-23, 2015, Edinburgh, Scotland 212657, European Association of Agricultural Economists.
    8. Millo, Giovanni, 2017. "A simple randomization test for spatial correlation in the presence of common factors and serial correlation," Regional Science and Urban Economics, Elsevier, vol. 66(C), pages 28-38.
    9. Thomas Steinwachs, 2019. "Geography Matters: Spatial Dimensions of Trade, Migration and Growth," ifo Beiträge zur Wirtschaftsforschung, ifo Institute - Leibniz Institute for Economic Research at the University of Munich, number 81.
    10. Gianfranco Piras, 2014. "Impact estimates for static spatial panel data models in R," Letters in Spatial and Resource Sciences, Springer, vol. 7(3), pages 213-223, October.
    11. Dean, Matthew D. & Kockelman, Kara M., 2021. "Spatial variation in shared ride-hail trip demand and factors contributing to sharing: Lessons from Chicago," Journal of Transport Geography, Elsevier, vol. 91(C).
    12. Cheung, Tommy King-Yin & Wong, Wai-hung & Zhang, Anming & Wu, Yangming, 2020. "Spatial panel model for examining airport relationships within multi-airport regions," Transportation Research Part A: Policy and Practice, Elsevier, vol. 133(C), pages 148-163.
    13. Felbermayr, Gabriel & Gröschl, Jasmin & Sanders, Mark & Schippers, Vincent & Steinwachs, Thomas, 2022. "The economic impact of weather anomalies," World Development, Elsevier, vol. 151(C).
    14. Bardaka, Eleni & Delgado, Michael S. & Florax, Raymond J.G.M., 2019. "A spatial multiple treatment/multiple outcome difference-in-differences model with an application to urban rail infrastructure and gentrification," Transportation Research Part A: Policy and Practice, Elsevier, vol. 121(C), pages 325-345.
    15. 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.
    16. 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.
    17. Albert Stuart Reece & Gary Kenneth Hulse, 2022. "Socioeconomic, Ethnocultural, Substance- and Cannabinoid-Related Epidemiology of Down Syndrome USA 1986–2016: Combined Geotemporospatial and Causal Inference Investigation," IJERPH, MDPI, vol. 19(20), pages 1-37, October.
    18. Anna Gloria Billé & Massimiliano Caporin, 2022. "Impact of COVID-19 on financial returns: a spatial dynamic panel data model with random effects," Journal of Spatial Econometrics, Springer, vol. 3(1), pages 1-21, December.
    19. Carmelo Algeri & Antonio F. Forgione & Carlo Migliardo, 2022. "Do spatial dependence and market power matter in the diversification of cooperative banks?," Economic Notes, Banca Monte dei Paschi di Siena SpA, vol. 51(3), November.
    20. Felbermayr, Gabriel & Gröschl, Jasmin & Sanders, Mark & Schippers, Vincent & Steinwachs, Thomas, 2018. "Shedding Light on the Spatial Diffusion of Disasters," VfS Annual Conference 2018 (Freiburg, Breisgau): Digital Economy 181556, Verein für Socialpolitik / German Economic Association.
    21. 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.

    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. 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.
    2. Harry H. Kelejian & Gianfranco Piras, 2013. "A J-Test for Panel Models with Fixed Effects, Spatial and Time," Working Papers Working Paper 2013-03, Regional Research Institute, West Virginia University.
    3. repec:rri:wpaper:201303 is not listed on IDEAS
    4. Gianfranco Piras, 2013. "Efficient GMM Estimation of a Cliff and Ord Panel Data Model with Random Effects," Spatial Economic Analysis, Taylor & Francis Journals, vol. 8(3), pages 370-388, September.
    5. 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.
    6. Harry H. Kelejian & Gianfranco Piras, 2016. "A J test for dynamic panel model with fixed effects, and nonparametric spatial and time dependence," Empirical Economics, Springer, vol. 51(4), pages 1581-1605, December.
    7. Su, Liangjun & Yang, Zhenlin, 2015. "QML estimation of dynamic panel data models with spatial errors," Journal of Econometrics, Elsevier, vol. 185(1), pages 230-258.
    8. Lee, Lung-fei & Yu, Jihai, 2010. "Some recent developments in spatial panel data models," Regional Science and Urban Economics, Elsevier, vol. 40(5), pages 255-271, September.
    9. J. Paul Elhorst, 2014. "Matlab Software for Spatial Panels," International Regional Science Review, , vol. 37(3), pages 389-405, July.
    10. Giuseppe Arbia, 2011. "A Lustrum of SEA: Recent Research Trends Following the Creation of the Spatial Econometrics Association (2007--2011)," Spatial Economic Analysis, Taylor & Francis Journals, vol. 6(4), pages 377-395, July.
    11. Millo, Giovanni & Piras, Gianfranco, 2012. "splm: Spatial Panel Data Models in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 47(i01).
    12. Michele Aquaro & Natalia Bailey & M. Hashem Pesaran, 2021. "Estimation and inference for spatial models with heterogeneous coefficients: An application to US house prices," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 36(1), pages 18-44, January.
    13. Luc Anselin, 2010. "Thirty years of spatial econometrics," Papers in Regional Science, Wiley Blackwell, vol. 89(1), pages 3-25, March.
    14. Lung‐fei Lee & Jihai Yu, 2012. "Spatial Panels: Random Components Versus Fixed Effects," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 53(4), pages 1369-1412, November.
    15. Baylis, Kathy & Paulson, Nicholas D. & Piras, Gianfranco, 2011. "Spatial Approaches to Panel Data in Agricultural Economics: A Climate Change Application," Journal of Agricultural and Applied Economics, Cambridge University Press, vol. 43(3), pages 325-338, August.
    16. Á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).
    17. Zhang, Yuanqing & Sun, Yanqing, 2015. "Estimation of partially specified dynamic spatial panel data models with fixed-effects," Regional Science and Urban Economics, Elsevier, vol. 51(C), pages 37-46.
    18. Hasan Engin Duran & Pawe³ Gajewski, 2023. "State-level Taylor rule and monetary policy stress," Equilibrium. Quarterly Journal of Economics and Economic Policy, Institute of Economic Research, vol. 18(1), pages 89-120, March.
    19. Harald Badinger & Peter Egger, 2015. "Fixed Effects and Random Effects Estimation of Higher-order Spatial Autoregressive Models with Spatial Autoregressive and Heteroscedastic Disturbances," Spatial Economic Analysis, Taylor & Francis Journals, vol. 10(1), pages 11-35, March.
    20. Lee, Lung-fei & Yu, Jihai, 2015. "Estimation of fixed effects panel regression models with separable and nonseparable space–time filters," Journal of Econometrics, Elsevier, vol. 184(1), pages 174-192.
    21. Giovanni Millo, 2022. "The generalized spatial random effects model in R," Journal of Spatial Econometrics, Springer, vol. 3(1), pages 1-18, December.

    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:eee:csdana:v:71:y:2014:i:c:p:914-933. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/csda .

    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.