image

Detecting Exchange Rate Bubbles Using Hamilton Filter

Download Paper: Download pdf
Author(s):
  • Reza HABIBI Department of Banking, Iran Banking Institute Central Bank of Iran, Tehran, Iran
Abstract:

This paper develops an adaptive Hamilton-filter framework for detecting speculative bubbles in exchange rate markets. With the reformulation of the traditional bubble-crash model through a binary transformation, the proposed approach expresses bubble dynamics within a nonlinear regime-switching structure and derives recursive estimates of bubble continuation probabilities. Unlike conventional explosive root tests, the method provides real-time, time-varying conditional probabilities of speculative regimes. 

The empirical application focuses on the USD - Iranian Rial exchange rate over the period 2000–2020, examining six episodes of heightened volatility. Bubble detection results are compared with ADF, SADF, and GSADF tests, showing that the proposed filter effectively identifies multiple rational bubble episodes consistent with macroeconomic and policy developments. Additional analysis of tradable and non-tradable goods prices suggests that external-sector imbalances significantly contribute to exchange rate explosiveness. Overall, the findings demonstrate that the adaptive Hamilton-filter approach offers a robust and economically interpretable tool for real-time bubble monitoring and exchange rate risk assessment.


© The Author(s) 2026. Published by RITHA Publishing. This article is distributed under the terms of the license CC-BY 4.0., which permits any further distribution in any medium, provided the original work is properly cited maintaining attribution to the author(s) and the title of the work, journal citation and URL DOI.


Article’s history: Received 11th of February, 2026; Revised 24th of March, 2026; Accepted for publication 7th of April, 2026; Available online: 17th of April, 2026; Published as research article in Volume II, Issue 1(3), 2026.



How to cite:

Habibi, R. (2026). Detecting Exchange Rate Bubbles Using Hamilton Filter. Applied Journal of Economics, Law and Governance, Volume II, Issue 1(3), 91-104. https://doi.org/10.57017/ajelg.v2.i1(3).05


CRediT Authorship Contribution Statement: Habibi, R. is only author of paper and is corresponding author and he is responsible for ensuring that the descriptions are accurate.


Conflict of Interest Statement: The author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.


Acknowledgments: Author thanks Journal Editor for their valuable helps. 


Data Availability Statement: Simulated openly available data: The simulated data that support the findings of this study are openly available and generated in random number generators of R software.


Ethical Approval Statement: The research utilises publicly accessible secondary financial and macroeconomic data and does not involve human subjects, individual-level confidential information, or experimental interventions. Consequently, in accordance with standard academic research guidelines, formal ethical approval was not required. 



References:
  1. Aloosh, A., Ouzan, S., & Shahzad, S. J. H. (2022). Bubbles across meme stocks and crypto-currencies. Finance Research Letters, 49,103155. https://doi.org/10.1016/j.frl.2022.103155
  2. Alola, A.A. (2021). Evidence of speculative bubbles and regime switch in real estate market and crude oil price: Insight from Saudi Arabia. International Journal of Finance & Economics, Volume 26, Issue 3, 3473-3483. https://doi.org/10.1002/ijfe.1971
  3. Asako, K. & Liu, Z. (2013). A statistical model of price bubbles, with applications to the stock markets of the United States, Japan, and China. Journal of Banking and Finance, 37, 2639-2651. https://doi.org/10.1016/j.jbankfin.2013.02.015
  4. Al-Anaswah, N., & Wilfling, B. (2011). Identification of speculative bubbles using state-space models with Markov-switching. Journal of Banking and Finance, 35, 1073-1086. https://doi.org/10.1016/j.jbankfin.2010.09.021
  5. Astill, S., Harvey, D. I., Leybourne, S. J., Sollis, R., & Taylor, A. M. R. (2018). Real-time monitoring for explosive financial bubbles. Journal of Time Series Analysis, 39, 863–891. https://doi.org/10.1111/jtsa.12409
  6. Baxa, J. & Paulus, M. (2020). Exchange rate misalignments, growth, and institutions. IES Working Papers 27/2020. Charles University. https://ies.fsv.cuni.cz/sites/default/files/uploads/files/ wp_2020_26_baxa_paulus.pdf 
  7. Corbet, S. & Muñiz, J. A. (2025). When Cryptocurrency Collapses: Systemic Risk Transmission and Corporate Finance (December 10, 2025). http://dx.doi.org/10.2139/ssrn.5904822 
  8. Diba, B. T., & Grossman, H. I. (1988). Explosive Rational Bubbles in Stock Prices? The American Economic Review, 78(3), 520–530. http://www.jstor.org/stable/1809149
  9. Enoksen, F. A., Landsnes, C. J., Lucivjanska, K., & Molnár, P. (2020). Understanding risk of bubbles in cryptocurrency markets. Journal of Economic Behavior & Organization, 176, 129–144. https://doi.org/10.1016/j.jebo.2020.05.005 
  10. Evans, G. W. (1991). Pitfalls in Testing for Explosive Bubbles in Asset Prices. The American Economic Review, 81(4), 922–930. http://www.jstor.org/stable/2006651
  11. Hamilton, J. D. (1989). A new approach to the economic analysis of nonstationary time series and the business cycle. Econometrica, 57(2), 357–384. https://doi.org/10.2307/1912559
  12. Kole, E. (2019). Markov switching models: an example for a stock market index. Technical report. Econometric Institute, Erasmus School of Economics, Erasmus University Rotterdam. https://personal.eur.nl/kole/rsexample.pdf
  13. Nascimento, V. H., & Sayed, A. H. (2000). On the learning mechanism of adaptive filters. In IEEE Transactions on Signal Processing, Volume 48, Issue 6, 1609-1625. https://doi.org.10.1109/78.845919 
  14. Phillips, P.C.B., Wu, Y. & Yu, J. (2011). Explosive behaviour in the 1990s NASDAQ: When did exuberance escalate asset values? International Economic Review, 52, 201-226. https://doi.org/10.1111/j.1468-2354.2010.00625.x
  15. Phillips, P.C.B., Shi, S. & Yu, J. (2015). Testing for Multiple Bubbles: Historical Episodes of Exuberance and Collapse in the S&P 500. International Economic Review, 56, 1043-1078. https://doi.org/10.1111/iere.12132
  16. Phillips, P. C. B. & Shi, S. (2018). Financial bubble implosion and reverse regression. Econometric Theory, 34(4), 705–753. https://doi.org/10.1017/S0266466617000202
  17. Phillips, P. C. B. & Shi, S. (2020). Handbook of Statistics, Elsevier, Volume 42, 61-80. https://doi.org/10.1016/bs.host.2018.12.002
  18. Shevchuk, V., & Kopych, R. (2021). Exchange Rate Volatility, Currency Misalignment, and Risk of Recession in the Central and Eastern European Countries. Risks, 9(5), 82. https://doi.org/10.3390/risks9050082 
  19. Tang, X., & Xie, Y. (2025). Exchange Rate Forecasting: A Deep Learning Framework Combining Adaptive Signal Decomposition and Dynamic Weight Optimization. International Journal of Financial Studies, 13(3), 151. https://doi.org/10.3390/ijfs13030151 
  20. Whitehouse, E. J., Harvey, D. I., & Leybourne, S. J. (2023). Real-time monitoring of bubbles and crashes. Oxford Bulletin of Economics and Statistics, 85, 482–513. https://doi.org/10.1111/obes.12540
  21. Yang, B., Long, W., Peng, L., & Cai, Z. (2020). Testing the predictability of US housing price index returns based on an IVX-AR model. Journal of the American Statistical Association, 115(532), 1598–1619. https://doi.org/10.1080/01621459.2019.1686392