IDEAS home Printed from https://ideas.repec.org/a/eee/econom/v247y2025ics0304407624002768.html
   My bibliography  Save this article

On testing for spatial or social network dependence in panel data allowing for network variability

Author

Listed:
  • Liu, Xiaodong
  • Prucha, Ingmar R.

Abstract

The paper introduces robust generalized Moran I tests for network-generated cross-sectional dependence in a panel data setting where unit-specific effects can be random or fixed. Network dependence may originate from endogenous variables, exogenous variables, and/or disturbances, and the network dependence is allowed to vary over time. The formulation of the test statistics also aims at accommodating situations where the researcher is unsure about the exact nature of the network. Unit-specific effects are eliminated using the Helmert transformation, which is well known to yield time-orthogonality for linear forms of transformed disturbances. Given the specification of our test statistics, these orthogonality properties also extend to the quadratic forms that underlie our test statistics. This greatly simplifies the expressions for the asymptotic variances of our test statistics and their estimation. Monte Carlo simulations suggest that the generalized Moran I tests introduced in this paper have the proper size and can provide substantial improvement in robustness when the researcher faces uncertainty about the specification of the network topology.

Suggested Citation

  • Liu, Xiaodong & Prucha, Ingmar R., 2025. "On testing for spatial or social network dependence in panel data allowing for network variability," Journal of Econometrics, Elsevier, vol. 247(C).
  • Handle: RePEc:eee:econom:v:247:y:2025:i:c:s0304407624002768
    DOI: 10.1016/j.jeconom.2024.105925
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.jeconom.2024.105925?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

    for a different version of it.

    References listed on IDEAS

    as
    1. Baltagi, Badi H. & Feng, Qu & Kao, Chihwa, 2012. "A Lagrange Multiplier test for cross-sectional dependence in a fixed effects panel data model," Journal of Econometrics, Elsevier, vol. 170(1), pages 164-177.
    2. Lawrence E. Blume & William A. Brock & Steven N. Durlauf & Rajshri Jayaraman, 2015. "Linear Social Interactions Models," Journal of Political Economy, University of Chicago Press, vol. 123(2), pages 444-496.
    3. 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.
    4. Arellano, Manuel & Bover, Olympia, 1995. "Another look at the instrumental variable estimation of error-components models," Journal of Econometrics, Elsevier, vol. 68(1), pages 29-51, July.
    5. Bramoullé, Yann & Djebbari, Habiba & Fortin, Bernard, 2009. "Identification of peer effects through social networks," Journal of Econometrics, Elsevier, vol. 150(1), pages 41-55, May.
    6. Guido M. Kuersteiner & Ingmar R. Prucha, 2020. "Dynamic Spatial Panel Models: Networks, Common Shocks, and Sequential Exogeneity," Econometrica, Econometric Society, vol. 88(5), pages 2109-2146, September.
    7. Laurent Davezies & Xavier D'Haultfoeuille & Denis Fougère, 2009. "Identification of peer effects using group size variation," Econometrics Journal, Royal Economic Society, vol. 12(3), pages 397-413, November.
    8. Bera, Anil K. & Doğan, Osman & Taşpınar, Süleyman & Leiluo, Yufan, 2019. "Robust LM tests for spatial dynamic panel data models," Regional Science and Urban Economics, Elsevier, vol. 76(C), pages 47-66.
    9. Kelejian, Harry H. & Prucha, Ingmar R., 2010. "Specification and estimation of spatial autoregressive models with autoregressive and heteroskedastic disturbances," Journal of Econometrics, Elsevier, vol. 157(1), pages 53-67, July.
    10. M. Hashem Pesaran & Aman Ullah & Takashi Yamagata, 2008. "A bias-adjusted LM test of error cross-section independence," Econometrics Journal, Royal Economic Society, vol. 11(1), pages 105-127, March.
    11. Newey, Whitney K & West, Kenneth D, 1987. "Hypothesis Testing with Efficient Method of Moments Estimation," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 28(3), pages 777-787, October.
    12. Badi H. Baltagi & Chihwa Kao & Bin Peng, 2016. "Testing Cross-Sectional Correlation in Large Panel Data Models with Serial Correlation," Econometrics, MDPI, vol. 4(4), pages 1-24, November.
    13. 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.
    14. M. Hashem Pesaran, 2021. "General diagnostic tests for cross-sectional dependence in panels," Empirical Economics, Springer, vol. 60(1), pages 13-50, January.
    15. 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.
    16. Kelejian, Harry H. & Prucha, Ingmar R., 2004. "Estimation of simultaneous systems of spatially interrelated cross sectional equations," Journal of Econometrics, Elsevier, vol. 118(1-2), pages 27-50.
    17. Scott E. Carrell & Bruce I. Sacerdote & James E. West, 2013. "From Natural Variation to Optimal Policy? The Importance of Endogenous Peer Group Formation," Econometrica, Econometric Society, vol. 81(3), pages 855-882, May.
    18. Lee, Lung-fei & Yu, Jihai, 2014. "Efficient GMM estimation of spatial dynamic panel data models with fixed effects," Journal of Econometrics, Elsevier, vol. 180(2), pages 174-197.
    19. Benjamin Born & Jörg Breitung, 2011. "Simple regression‐based tests for spatial dependence," Econometrics Journal, Royal Economic Society, vol. 14(2), pages 330-342, July.
    20. He, Ming & Lin, Kuan-Pin, 2015. "Testing spatial effects and random effects in a nested panel data model," Economics Letters, Elsevier, vol. 135(C), pages 85-91.
    21. 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.
    22. Badi H. Baltagi & Zhenlin Yang, 2013. "Standardized LM tests for spatial error dependence in linear or panel regressions," Econometrics Journal, Royal Economic Society, vol. 16(1), pages 103-134, February.
    23. Lee, Lung-fei, 2007. "Identification and estimation of econometric models with group interactions, contextual factors and fixed effects," Journal of Econometrics, Elsevier, vol. 140(2), pages 333-374, October.
    24. Yang, Zhenlin, 2018. "Unified M-estimation of fixed-effects spatial dynamic models with short panels," Journal of Econometrics, Elsevier, vol. 205(2), pages 423-447.
    25. Liu, Xiaodong & Prucha, Ingmar R., 2018. "A robust test for network generated dependence," Journal of Econometrics, Elsevier, vol. 207(1), pages 92-113.
    26. H. Kelejian, Harry & Prucha, Ingmar R., 2001. "On the asymptotic distribution of the Moran I test statistic with applications," Journal of Econometrics, Elsevier, vol. 104(2), pages 219-257, September.
    27. Taspinar, Suleyman & Dogan, Osman & Bera, Anil K., 2017. "GMM Gradient Tests for Spatial Dynamic Panel Data Models," MPRA Paper 82830, University Library of Munich, Germany.
    28. Charles F. Manski, 1993. "Identification of Endogenous Social Effects: The Reflection Problem," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 60(3), pages 531-542.
    29. Hillier, Grant & Martellosio, Federico, 2018. "Exact Likelihood Inference In Group Interaction Network Models," Econometric Theory, Cambridge University Press, vol. 34(2), pages 383-415, April.
    30. Zhenlin Yang, 2021. "Joint tests for dynamic and spatial effects in short panels with fixed effects and heteroskedasticity," Empirical Economics, Springer, vol. 60(1), pages 51-92, January.
    31. Baltagi, Badi H. & Song, Seuck Heun & Kwon, Jae Hyeok, 2009. "Testing for heteroskedasticity and spatial correlation in a random effects panel data model," Computational Statistics & Data Analysis, Elsevier, vol. 53(8), pages 2897-2922, June.
    32. Robinson, Peter, 2008. "Correlation testing in time series, spatial and cross-sectional data," LSE Research Online Documents on Economics 25470, London School of Economics and Political Science, LSE Library.
    33. Robinson, P.M., 2008. "Correlation testing in time series, spatial and cross-sectional data," Journal of Econometrics, Elsevier, vol. 147(1), pages 5-16, November.
    34. Taşpınar, Süleyman & Doğan, Osman & Bera, Anil K., 2017. "GMM gradient tests for spatial dynamic panel data models," Regional Science and Urban Economics, Elsevier, vol. 65(C), pages 65-88.
    35. Leeb, Hannes & Pötscher, Benedikt M., 2003. "The Finite-Sample Distribution Of Post-Model-Selection Estimators And Uniform Versus Nonuniform Approximations," Econometric Theory, Cambridge University Press, vol. 19(1), pages 100-142, February.
    36. Drukker, David M. & Egger, Peter H. & Prucha, Ingmar R., 2023. "Simultaneous Equations Models With Higher-Order Spatial Or Social Network Interactions," Econometric Theory, Cambridge University Press, vol. 39(6), pages 1154-1201, December.
    37. Lung-fei Lee & Xiaodong Liu & Xu Lin, 2010. "Specification and estimation of social interaction models with network structures," Econometrics Journal, Royal Economic Society, vol. 13(2), pages 145-176, July.
    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. Liu, Xiaodong & Prucha, Ingmar R., 2018. "A robust test for network generated dependence," Journal of Econometrics, Elsevier, vol. 207(1), pages 92-113.
    2. Ye Yang & Osman Doğan & Süleyman Taşpınar, 2023. "Observed-data DIC for spatial panel data models," Empirical Economics, Springer, vol. 64(3), pages 1281-1314, March.
    3. Jieun Lee, 2022. "Testing Endogeneity of Spatial Weights Matrices in Spatial Dynamic Panel Data Models," Papers 2209.05563, arXiv.org.
    4. Taşpınar, Süleyman & Doğan, Osman & Bera, Anil K., 2017. "GMM gradient tests for spatial dynamic panel data models," Regional Science and Urban Economics, Elsevier, vol. 65(C), pages 65-88.
    5. Anil K. Bera & Osman Doğan & Süleyman Taşpınar & Monalisa Sen, 2020. "Specification tests for spatial panel data models," Journal of Spatial Econometrics, Springer, vol. 1(1), pages 1-39, December.
    6. Guido M. Kuersteiner & Ingmar R. Prucha, 2020. "Dynamic Spatial Panel Models: Networks, Common Shocks, and Sequential Exogeneity," Econometrica, Econometric Society, vol. 88(5), pages 2109-2146, September.
    7. Kuersteiner, Guido M. & Prucha, Ingmar R. & Zeng, Ying, 2023. "Efficient peer effects estimators with group effects," Journal of Econometrics, Elsevier, vol. 235(2), pages 2155-2194.
    8. Yann Bramoullé & Habiba Djebbari & Bernard Fortin, 2020. "Peer Effects in Networks: A Survey," Annual Review of Economics, Annual Reviews, vol. 12(1), pages 603-629, August.
    9. Jiankun Chen & Yanli Lin & Yang Yang, 2025. "Modeling and Estimating Two-Layer Network Interactions with Unknown Heteroskedasticity," Economics Discussion / Working Papers 25-03, The University of Western Australia, Department of Economics.
    10. Ming He & Kuan-Pin Lin, 2015. "Testing in a Random Effects Panel Data Model with Spatially Correlated Error Components and Spatially Lagged Dependent Variables," Econometrics, MDPI, vol. 3(4), pages 1-36, November.
    11. William C. Horrace & Hyunseok Jung & Shane Sanders, 2022. "Network Competition and Team Chemistry in the NBA," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 40(1), pages 35-49, January.
    12. 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.
    13. Luc Anselin, 2010. "Thirty years of spatial econometrics," Papers in Regional Science, Wiley Blackwell, vol. 89(1), pages 3-25, March.
    14. Dogan, Osman & Taspinar, Suleyman & Bera, Anil K., 2017. "Simple Tests for Social Interaction Models with Network Structures," MPRA Paper 82828, University Library of Munich, Germany.
    15. 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.
    16. Taspinar, Suleyman & Dogan, Osman & Bera, Anil K., 2017. "GMM Gradient Tests for Spatial Dynamic Panel Data Models," MPRA Paper 82830, University Library of Munich, Germany.
    17. Yang, Zhenlin, 2015. "LM tests of spatial dependence based on bootstrap critical values," Journal of Econometrics, Elsevier, vol. 185(1), pages 33-59.
    18. Badi H. Baltagi & Zhenlin Yang, 2013. "Standardized LM tests for spatial error dependence in linear or panel regressions," Econometrics Journal, Royal Economic Society, vol. 16(1), pages 103-134, February.
    19. Gibbons, Steve & Overman, Henry G. & Patacchini, Eleonora, 2015. "Spatial Methods," Handbook of Regional and Urban Economics, in: Gilles Duranton & J. V. Henderson & William C. Strange (ed.), Handbook of Regional and Urban Economics, edition 1, volume 5, chapter 0, pages 115-168, Elsevier.
    20. Baltagi, Badi H. & Yang, Zhenlin, 2013. "Heteroskedasticity and non-normality robust LM tests for spatial dependence," Regional Science and Urban Economics, Elsevier, vol. 43(5), pages 725-739.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C12 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Hypothesis Testing: General
    • C21 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Cross-Sectional Models; Spatial Models; Treatment Effect Models
    • C23 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Models with Panel Data; Spatio-temporal Models

    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:eee:econom:v:247:y:2025:i:c:s0304407624002768. 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/jeconom .

    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.