IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v6y2006i4p482-496.html
   My bibliography  Save this article

Testing for cross-sectional dependence in panel-data models

Author

Listed:
  • Rafael E. De Hoyos

    (The World Bank)

  • Vasilis Sarafidis

    (University of Sydney)

Abstract

This article describes a new Stata routine, xtcsd, to test for the presence of cross-sectional dependence in panels with many cross-sectional units and few time-series observations. The command executes three different test- ing procedures —namely, Friedman’s (Journal of the American Statistical Associ- ation 32: 675–701) (FR) test statistic, the statistic proposed by Frees (Journal of Econometrics 69: 393–414), and the cross-sectional dependence (CD) test of Pe- saran (General diagnostic tests for cross-section dependence in panels [University of Cambridge, Faculty of Economics, Cambridge Working Papers in Economics, Paper No. 0435]). We illustrate the command with an empirical example. Copyright 2006 by StataCorp LP.

Suggested Citation

  • Rafael E. De Hoyos & Vasilis Sarafidis, 2006. "Testing for cross-sectional dependence in panel-data models," Stata Journal, StataCorp LP, vol. 6(4), pages 482-496, December.
  • Handle: RePEc:tsj:stataj:v:6:y:2006:i:4:p:482-496
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0113
    Download Restriction: no

    File URL: http://www.stata-journal.com/software/sj6-4/st0113/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. 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.
    2. M. Hashem Pesaran, 2021. "General diagnostic tests for cross-sectional dependence in panels," Empirical Economics, Springer, vol. 60(1), pages 13-50, January.
    3. John C. Driscoll & Aart C. Kraay, 1998. "Consistent Covariance Matrix Estimation With Spatially Dependent Panel Data," The Review of Economics and Statistics, MIT Press, vol. 80(4), pages 549-560, November.
    4. Vasilis Sarafidis & Donald Robertson, 2009. "On the impact of error cross-sectional dependence in short dynamic panel estimation," Econometrics Journal, Royal Economic Society, vol. 12(1), pages 62-81, March.
    5. Frees, Edward W., 1995. "Assessing cross-sectional correlation in panel data," Journal of Econometrics, Elsevier, vol. 69(2), pages 393-414, October.
    6. Pesaran, M. Hashem & Smith, Ron, 1995. "Estimating long-run relationships from dynamic heterogeneous panels," Journal of Econometrics, Elsevier, vol. 68(1), pages 79-113, July.
    7. T. S. Breusch & A. R. Pagan, 1980. "The Lagrange Multiplier Test and its Applications to Model Specification in Econometrics," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 47(1), pages 239-253.
    8. Blundell, Richard & Bond, Stephen, 1998. "Initial conditions and moment restrictions in dynamic panel data models," Journal of Econometrics, Elsevier, vol. 87(1), pages 115-143, August.
    9. Christopher F Baum, 2001. "Residual diagnostics for cross-section time series regression models," Stata Journal, StataCorp LP, vol. 1(1), pages 101-104, November.
    10. Manuel Arellano & Stephen Bond, 1991. "Some Tests of Specification for Panel Data: Monte Carlo Evidence and an Application to Employment Equations," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 58(2), pages 277-297.
    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. Vasilis Sarafidis & Tom Wansbeek, 2012. "Cross-Sectional Dependence in Panel Data Analysis," Econometric Reviews, Taylor & Francis Journals, vol. 31(5), pages 483-531, September.
    2. Sarafidis, Vasilis & Yamagata, Takashi & Robertson, Donald, 2009. "A test of cross section dependence for a linear dynamic panel model with regressors," Journal of Econometrics, Elsevier, vol. 148(2), pages 149-161, February.
    3. Gilhooly, Robert & Weale, Martin & Wieladek, Tomasz, 2015. "Estimation of short dynamic panels in the presence of cross-sectional dependence and dynamic eterogeneity," Discussion Papers 38, Monetary Policy Committee Unit, Bank of England.
    4. Daniel Goya, 2014. "The Multiple Impacts of the Exchange Rate on Export Diversification," Cambridge Working Papers in Economics 1436, Faculty of Economics, University of Cambridge.
    5. Qamruzzaman, Md & Jianguo, Wei, 2020. "The asymmetric relationship between financial development, trade openness, foreign capital flows, and renewable energy consumption: Fresh evidence from panel NARDL investigation," Renewable Energy, Elsevier, vol. 159(C), pages 827-842.
    6. George E. Halkos & Apostolos S. Tsirivis, 2023. "Electricity Production and Sustainable Development: The Role of Renewable Energy Sources and Specific Socioeconomic Factors," Energies, MDPI, vol. 16(2), pages 1-21, January.
    7. Naima Chrid & Sami Saafi & Mohamed Chakroun, 2021. "Export Upgrading and Economic Growth: a Panel Cointegration and Causality Analysis," Journal of the Knowledge Economy, Springer;Portland International Center for Management of Engineering and Technology (PICMET), vol. 12(2), pages 811-841, June.
    8. Alexander Chudik & M. Hashem Pesaran, 2013. "Large panel data models with cross-sectional dependence: a survey," Globalization Institute Working Papers 153, Federal Reserve Bank of Dallas.
    9. George E. Halkos & Apostolos S. Tsirivis, 2023. "Electricity Prices in the European Union Region: The Role of Renewable Energy Sources, Key Economic Factors and Market Liberalization," Energies, MDPI, vol. 16(6), pages 1-20, March.
    10. Çoban, Serap & Topcu, Mert, 2013. "The nexus between financial development and energy consumption in the EU: A dynamic panel data analysis," Energy Economics, Elsevier, vol. 39(C), pages 81-88.
    11. Mouhamadou Lamine DIAL, 2022. "Les effets de l’urbanisation et de l’industrialisation sur l’intensité énergétique dans la CEDEAO," Region et Developpement, Region et Developpement, LEAD, Universite du Sud - Toulon Var, vol. 56, pages 41-59.
    12. Hassan, Mahmoud & Kouzez, Marc & Lee, Ji-Yong & Msolli, Badreddine & Rjiba, Hatem, 2024. "Does increasing environmental policy stringency enhance renewable energy consumption in OECD countries?," Energy Economics, Elsevier, vol. 129(C).
    13. Md. Qamruzzaman & Jianguo Wei, 2019. "Financial Innovation and Financial Inclusion Nexus in South Asian Countries: Evidence from Symmetric and Asymmetric Panel Investigation," IJFS, MDPI, vol. 7(4), pages 1-27, October.
    14. Qamruzzaman, Md, 2022. "Nexus between renewable energy, foreign direct investment, and agro-productivity: The mediating role of carbon emission," Renewable Energy, Elsevier, vol. 184(C), pages 526-540.
    15. Gianko Michailidis & Concepció Patxot & Meritxell Solé, 2019. "Do pensions foster education? An empirical perspective," Applied Economics, Taylor & Francis Journals, vol. 51(38), pages 4127-4150, August.
    16. Sahrish Saeed & Muhammad Sohail Amjad Makhdum & Sofia Anwar & Muhammad Rizwan Yaseen, 2023. "Climate Change Vulnerability, Adaptation, and Feedback Hypothesis: A Comparison of Lower-Middle, Upper-Middle, and High-Income Countries," Sustainability, MDPI, vol. 15(5), pages 1-25, February.
    17. Massimiliano Mazzanti & Antonio Musolesi, 2013. "The heterogeneity of carbon Kuznets curves for advanced countries: comparing homogeneous, heterogeneous and shrinkage/Bayesian estimators," Applied Economics, Taylor & Francis Journals, vol. 45(27), pages 3827-3842, September.
    18. 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.
    19. Ulrich Gunter & Egon Smeral, 2016. "The decline of tourism income elasticities in a global context," Tourism Economics, , vol. 22(3), pages 466-483, June.
    20. Ali, Qamar & Yaseen, Muhammad Rizwan & Anwar, Sofia & Makhdum, Muhammad Sohail Amjad & Khan, Muhammad Tariq Iqbal, 2021. "The impact of tourism, renewable energy, and economic growth on ecological footprint and natural resources: A panel data analysis," Resources Policy, Elsevier, vol. 74(C).

    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:tsj:stataj:v:6:y:2006:i:4:p:482-496. 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: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.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.