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. 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.
    4. 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.
    5. 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.
    6. 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.
    7. Ç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.
    8. 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.
    9. 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.
    10. 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.
    11. 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.
    12. 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.
    13. 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.
    14. Adolfo Maza & Paula Gutiérrez-Portilla, 2022. "Outward FDI and exports relation: A heterogeneous panel approach dealing with cross-sectional dependence," International Economics, CEPII research center, issue 170, pages 174-189.
    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. Schneider, Nicolas & Strielkowski, Wadim, 2023. "Modelling the unit root properties of electricity data—A general note on time-domain applications," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 618(C).
    18. Philip Kerner & Torben Klarl & Tobias Wendler, 2021. "Green Technologies, Environmental Policy and Regional Growth," Bremen Papers on Economics & Innovation 2104, University of Bremen, Faculty of Business Studies and Economics.
    19. Emmanuel Owusu-Sekyere & Francis M. Kemegue & Reneé van Eyden, 2011. "What drives remittance inflows to Sub-Saharan Africa: A Dynamic Panel Approach," Working Papers 262, Economic Research Southern Africa.
    20. Caravaggio, Nicola, 2020. "A global empirical re-assessment of the Environmental Kuznets curve for deforestation," Forest Policy and Economics, Elsevier, vol. 119(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.