IDEAS home Printed from https://ideas.repec.org/p/pra/mprapa/127574.html

Global Economic Cycles Unveiled: A Hybrid TCN-HMM Approach for Regime Dynamics Across Eight Nations

Author

Listed:
  • Bahaa Aly, Tarek

Abstract

This study developed a hybrid Temporal Convolutional Network and Hidden Markov Model (TCN-HMM) framework to identify economic regimes across eight nations: Brazil, China, Egypt, Indonesia, Mexico, South Africa, United Kingdom, and United States, using GDP, inflation, policy rates, equity indices, exchange rates, and yield curve factors. The method integrated MSSA-smoothed data with a TCN autoencoder to extract multi-scale temporal features, optimized through sensitivity analysis, followed by an HMM to classify three regimes: Natural State, Substantial Growth, and Restrictive Policy. The TCN-HMM outperformed standalone HMMs in capturing non-linear dynamics and temporal dependencies. Key findings highlighted several insights. Twelve extracted features were optimal, outperforming eight features (the number of original variables), implying that the TCN enhanced regime differentiation through a richer feature representation. Furthermore, the framework demonstrated generalizability across the panel, as developing markets like Brazil and Egypt exhibited volatile inflation, while developed economies showed stable policy transmission. Finally, CHI maintained very high growth rates across all regimes, and currencies across the panel showed a high correlation with real interest rates rather than with overall economic conditions, reflecting their sensitivity to capital-flow dynamics.

Suggested Citation

  • Bahaa Aly, Tarek, 2026. "Global Economic Cycles Unveiled: A Hybrid TCN-HMM Approach for Regime Dynamics Across Eight Nations," MPRA Paper 127574, University Library of Munich, Germany.
  • Handle: RePEc:pra:mprapa:127574
    as

    Download full text from publisher

    File URL: https://mpra.ub.uni-muenchen.de/127574/7/MPRA_paper_127574.pdf
    File Function: original version
    Download Restriction: no

    File URL: https://mpra.ub.uni-muenchen.de/128434/1/MPRA_paper_128434.pdf
    File Function: revised version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Andrew Ang & Geert Bekaert, 2002. "International Asset Allocation With Regime Shifts," The Review of Financial Studies, Society for Financial Studies, vol. 15(4), pages 1137-1187.
    2. Mark Kritzman & Sébastien Page & David Turkington, 2012. "Regime Shifts: Implications for Dynamic Strategies (corrected)," Financial Analysts Journal, Taylor & Francis Journals, vol. 68(3), pages 22-39, May.
    3. Rizwan Raheem Ahmed & Jolita Vveinhardt & Dalia Streimikiene & Majid Fayyaz, 2017. "Multivariate Granger causality between macro variables and KSE 100 index: evidence from Johansen cointegration and Toda & Yamamoto causality," Economic Research-Ekonomska Istraživanja, Taylor & Francis Journals, vol. 30(1), pages 1497-1521, January.
    4. Matthew Wang & Yi-Hong Lin & Ilya Mikhelson, 2020. "Regime-Switching Factor Investing with Hidden Markov Models," JRFM, MDPI, vol. 13(12), pages 1-15, December.
    5. Guidolin, Massimo & Timmermann, Allan, 2007. "Asset allocation under multivariate regime switching," Journal of Economic Dynamics and Control, Elsevier, vol. 31(11), pages 3503-3544, November.
    6. Massimo Guidolin, 2011. "Markov Switching Models in Empirical Finance," Advances in Econometrics, in: Missing Data Methods: Time-Series Methods and Applications, pages 1-86, Emerald Group Publishing Limited.
    7. Hamilton, James D, 1989. "A New Approach to the Economic Analysis of Nonstationary Time Series and the Business Cycle," Econometrica, Econometric Society, vol. 57(2), pages 357-384, March.
    8. Fabio Bagliano & Claudio Morana, 2010. "Business cycle comovement in the G-7: common shocks or common transmission mechanisms?," Applied Economics, Taylor & Francis Journals, vol. 42(18), pages 2327-2345.
    9. Laopodis, Nikiforos T., 2013. "Monetary policy and stock market dynamics across monetary regimes," Journal of International Money and Finance, Elsevier, vol. 33(C), pages 381-406.
    10. Chang-Jin Kim & Charles R. Nelson, 1998. "Business Cycle Turning Points, A New Coincident Index, And Tests Of Duration Dependence Based On A Dynamic Factor Model With Regime Switching," The Review of Economics and Statistics, MIT Press, vol. 80(2), pages 188-201, May.
    11. Krolzig, Hans-Martin, 2001. "Business cycle measurement in the presence of structural change: international evidence," International Journal of Forecasting, Elsevier, vol. 17(3), pages 349-368.
    12. Yishuai Yang, 2025. "TCN-QV: an attention-based deep learning method for long sequence time-series forecasting of gold prices," PLOS ONE, Public Library of Science, vol. 20(5), pages 1-24, May.
    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. Erik Kole & Dick Dijk, 2017. "How to Identify and Forecast Bull and Bear Markets?," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 32(1), pages 120-139, January.
    2. Pami Dua & Divya Tuteja, 2021. "Regime Shifts in the Behaviour of International Currency and Equity Markets: A Markov-Switching Analysis," Journal of Quantitative Economics, Springer;The Indian Econometric Society (TIES), vol. 19(1), pages 309-336, December.
    3. Wasim Ahmad & N. Bhanumurthy & Sanjay Sehgal, 2015. "Regime dependent dynamics and European stock markets: Is asset allocation really possible?," Empirica, Springer;Austrian Institute for Economic Research;Austrian Economic Association, vol. 42(1), pages 77-107, February.
    4. Dias, José G. & Vermunt, Jeroen K. & Ramos, Sofia, 2015. "Clustering financial time series: New insights from an extended hidden Markov model," European Journal of Operational Research, Elsevier, vol. 243(3), pages 852-864.
    5. Bernardi, Mauro & Catania, Leopoldo, 2018. "Portfolio optimisation under flexible dynamic dependence modelling," Journal of Empirical Finance, Elsevier, vol. 48(C), pages 1-18.
    6. Massimo Guidolin, Mingwei (Max) Liang, Milena Petrova, 2026. "The Importance of Considering Regimes in Long-term Asset Allocation to Real Estate," BAFFI CAREFIN Working Papers 26263, BAFFI CAREFIN, Centre for Applied Research on International Markets Banking Finance and Regulation, Universita' Bocconi, Milano, Italy.
    7. Fiorentini, Gabriele & Planas, Christophe & Rossi, Alessandro, 2016. "Skewness and kurtosis of multivariate Markov-switching processes," Computational Statistics & Data Analysis, Elsevier, vol. 100(C), pages 153-159.
    8. Kole, Erik & van Dijk, Dick, 2023. "Moments, shocks and spillovers in Markov-switching VAR models," Journal of Econometrics, Elsevier, vol. 236(2).
    9. Poshakwale, Sunil S. & Mandal, Anandadeep, 2016. "Determinants of asymmetric return comovements of gold and other financial assets," International Review of Financial Analysis, Elsevier, vol. 47(C), pages 229-242.
    10. Dias, José G. & Ramos, Sofia B., 2013. "A core–periphery framework in stock markets of the euro zone," Economic Modelling, Elsevier, vol. 35(C), pages 320-329.
    11. Salam Rabindrajit Luwang & Buddha Nath Sharma & Kundan Mukhia & Md. Nurujjaman & Anish Rai & Filippo Petroni & Luis E. C. Rocha, 2026. "Regime Discovery and Intra-Regime Return Dynamics in Global Equity Markets," Papers 2601.08571, arXiv.org.
    12. Branger, Nicole & Kraft, Holger & Meinerding, Christoph, 2014. "Partial information about contagion risk, self-exciting processes and portfolio optimization," Journal of Economic Dynamics and Control, Elsevier, vol. 39(C), pages 18-36.
    13. Chevallier, Julien, 2011. "Evaluating the carbon-macroeconomy relationship: Evidence from threshold vector error-correction and Markov-switching VAR models," Economic Modelling, Elsevier, vol. 28(6), pages 2634-2656.
    14. Pami Dua & Divya Tuteja, 2017. "Impact Of Eurozone Sovereign Debt Crisis On China And India," The Singapore Economic Review (SER), World Scientific Publishing Co. Pte. Ltd., vol. 62(05), pages 1137-1164, December.
    15. Suthawan Prukumpai, 2015. "Time-varying Industrial Portfolio Betas under the Regime-switching Model: Evidence from the Stock Exchange of Thailand," Applied Economics Journal, Kasetsart University, Faculty of Economics, Center for Applied Economic Research, vol. 22(2), pages 54-76, December.
    16. Balcilar, Mehmet & Gupta, Rangan & Miller, Stephen M., 2015. "Regime switching model of US crude oil and stock market prices: 1859 to 2013," Energy Economics, Elsevier, vol. 49(C), pages 317-327.
    17. Olivier Courtois & Xiaoshan Su, 2020. "Structural Pricing of CoCos and Deposit Insurance with Regime Switching and Jumps," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 27(4), pages 477-520, December.
    18. Pami Dua & Divya Tuteja, 2016. "Contagion in International Stock and Currency Markets During Recent Crisis Episodes," Working papers 258, Centre for Development Economics, Delhi School of Economics.
    19. Lee, Chien-Chiang & Lee, Hsiang-Tai, 2023. "Optimal portfolio diversification with a multi-chain regime-switching spillover GARCH model," Global Finance Journal, Elsevier, vol. 55(C).
    20. Pim van Vliet & David Blitz, 2011. "Dynamic strategic asset allocation: Risk and return across the business cycle," Journal of Asset Management, Palgrave Macmillan, vol. 12(5), pages 360-375, November.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C32 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes; State Space Models
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • E37 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Forecasting and Simulation: Models and Applications

    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:pra:mprapa:127574. 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: Joachim Winter (email available below). General contact details of provider: https://edirc.repec.org/data/vfmunde.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.