IDEAS home Printed from https://ideas.repec.org/p/tin/wpaper/20240052.html
   My bibliography  Save this paper

Testing for Clustering Under Switching

Author

Listed:
  • Igor Custodio João

    (Vrije Universiteit Amsterdam)

Abstract

I refine the test for clustering of Patton and Weller (2022) to allow for cluster switching. In a multivariate panel setting, clustering on time- averages produces consistent estimators of means and group assignments. Once switching is introduced, we lose the consistency. In fact, under switch- ing the time-averaged k-means clustering converges to equal, indistinguishable means. This causes the test for a single cluster to lose power under the alternative of multiple clusters. Power can be regained by clustering the N times T observations independently and carefully subsampling the time dimension. When applied to the empirical setting of Bonhomme and Manresa (2015) of an autoregression of democracy in a panel of countries, we are able to detect clusters in the data under noisier conditions than the original test.

Suggested Citation

  • Igor Custodio João, 2024. "Testing for Clustering Under Switching," Tinbergen Institute Discussion Papers 24-052/III, Tinbergen Institute.
  • Handle: RePEc:tin:wpaper:20240052
    as

    Download full text from publisher

    File URL: https://papers.tinbergen.nl/24052.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Stéphane Bonhomme & Elena Manresa, 2015. "Grouped Patterns of Heterogeneity in Panel Data," Econometrica, Econometric Society, vol. 83(3), pages 1147-1184, May.
    2. Daron Acemoglu & Simon Johnson & James A. Robinson & Pierre Yared, 2008. "Income and Democracy," American Economic Review, American Economic Association, vol. 98(3), pages 808-842, June.
    3. Lumsdaine, Robin L. & Okui, Ryo & Wang, Wendun, 2023. "Estimation of panel group structure models with structural breaks in group memberships and coefficients," Journal of Econometrics, Elsevier, vol. 233(1), pages 45-65.
    4. Robert Tibshirani & Guenther Walther & Trevor Hastie, 2001. "Estimating the number of clusters in a data set via the gap statistic," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 63(2), pages 411-423.
    5. Igor Custodio João & Julia Schaumburg & André Lucas & Bernd Schwaab, 2024. "Dynamic Nonparametric Clustering of Multivariate Panel Data," Journal of Financial Econometrics, Oxford University Press, vol. 22(2), pages 335-374.
    6. Evan Munro & Serena Ng, 2022. "Latent Dirichlet Analysis of Categorical Survey Responses," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 40(1), pages 256-271, January.
    7. Leopoldo Catania, 2021. "Dynamic Adaptive Mixture Models with an Application to Volatility and Risk," Journal of Financial Econometrics, Oxford University Press, vol. 19(4), pages 531-564.
    8. Jin Seo Cho & Halbert White, 2007. "Testing for Regime Switching," Econometrica, Econometric Society, vol. 75(6), pages 1671-1720, November.
    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. Custodio João, Igor & Lucas, André & Schaumburg, Julia & Schwaab, Bernd, 2023. "Dynamic clustering of multivariate panel data," Journal of Econometrics, Elsevier, vol. 237(2).
    2. Daniel Lewis & Davide Melcangi & Laura Pilossoph, 2019. "Latent Heterogeneity in the Marginal Propensity to Consume," 2019 Meeting Papers 519, Society for Economic Dynamics.
    3. Daniel J. Lewis & Davide Melcangi & Laura Pilossoph & Aidan Toner‐Rodgers, 2023. "Approximating grouped fixed effects estimation via fuzzy clustering regression," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 38(7), pages 1077-1084, November.
    4. Okui, Ryo & Wang, Wendun, 2021. "Heterogeneous structural breaks in panel data models," Journal of Econometrics, Elsevier, vol. 220(2), pages 447-473.
    5. Langevin, R.;, 2024. "Consistent Estimation of Finite Mixtures: An Application to Latent Group Panel Structures," Health, Econometrics and Data Group (HEDG) Working Papers 24/16, HEDG, c/o Department of Economics, University of York.
    6. Yanbo Liu & Peter C. B. Phillips & Jun Yu, 2023. "A Panel Clustering Approach To Analyzing Bubble Behavior," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 64(4), pages 1347-1395, November.
    7. Wang, Yiren & Phillips, Peter C.B. & Su, Liangjun, 2024. "Panel data models with time-varying latent group structures," Journal of Econometrics, Elsevier, vol. 240(1).
    8. Doris A. Oberdabernig & Stefan Humer & Jesus Crespo Cuaresma, 2018. "Democracy, Geography and Model Uncertainty," Scottish Journal of Political Economy, Scottish Economic Society, vol. 65(2), pages 154-185, May.
    9. Yu, Lu & Gu, Jiaying & Volgushev, Stanislav, 2024. "Spectral clustering with variance information for group structure estimation in panel data," Journal of Econometrics, Elsevier, vol. 241(1).
    10. Huang, Wenxin & Jin, Sainan & Phillips, Peter C.B. & Su, Liangjun, 2021. "Nonstationary panel models with latent group structures and cross-section dependence," Journal of Econometrics, Elsevier, vol. 221(1), pages 198-222.
    11. Igor Custodio João & Andre Lucas & Julia Schaumburg, 2021. "Clustering Dynamics and Persistence for Financial Multivariate Panel Data," Tinbergen Institute Discussion Papers 21-040/III, Tinbergen Institute.
    12. Bruce E. Hansen & Seojeong Jay Lee, 2018. "Inference for Iterated GMM Under Misspecification and Clustering," Discussion Papers 2018-07, School of Economics, The University of New South Wales.
    13. Igor Custodio João & Julia Schaumburg & André Lucas & Bernd Schwaab, 2024. "Dynamic Nonparametric Clustering of Multivariate Panel Data," Journal of Financial Econometrics, Oxford University Press, vol. 22(2), pages 335-374.
    14. Jaeho Kim & Le Wang, 2019. "Hidden group patterns in democracy developments: Bayesian inference for grouped heterogeneity," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 34(6), pages 1016-1028, September.
    15. Ciciretti, Vito & Bucci, Andrea, 2023. "Building optimal regime-switching portfolios," The North American Journal of Economics and Finance, Elsevier, vol. 64(C).
    16. Cooray, Arusha, 2011. "The role of the government in financial sector development," Economic Modelling, Elsevier, vol. 28(3), pages 928-938, May.
    17. Blanco, Luisa & Grier, Robin, 2012. "Natural resource dependence and the accumulation of physical and human capital in Latin America," Resources Policy, Elsevier, vol. 37(3), pages 281-295.
    18. Thiemo Fetzer & Samuel Marden, 2017. "Take What You Can: Property Rights, Contestability and Conflict," Economic Journal, Royal Economic Society, vol. 0(601), pages 757-783, May.
    19. Ftiti, Zied & Aguir, Abdelkader & Smida, Mounir, 2017. "Time-inconsistency and expansionary business cycle theories: What does matter for the central bank independence–inflation relationship?," Economic Modelling, Elsevier, vol. 67(C), pages 215-227.
    20. Young-Joo Kim & Myung Hwan Seo, 2017. "Is There a Jump in the Transition?," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 35(2), pages 241-249, April.

    More about this item

    JEL classification:

    • C12 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Hypothesis Testing: General
    • C33 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Models with Panel Data; Spatio-temporal Models
    • C38 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Classification Methdos; Cluster Analysis; Principal Components; Factor Analysis

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:tin:wpaper:20240052. 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: Tinbergen Office +31 (0)10-4088900 (email available below). General contact details of provider: https://edirc.repec.org/data/tinbenl.html .

    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.