Detecting Exchange Rate Bubbles Using Hamilton Filter
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 31st of January, 2026; Revised 9th of February, 2026; Accepted for publication 21st of February, 2026; Available online: 24th of February, 2026; Published as article in Volume II, Issue 1(3), 2026.
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
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.
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
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
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
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
Baxa, J. & Paulus, M. (2020). Exchange rate misalignments, growth, and institutions. IES Working Papers 27/2020. Charles University. https://www.econstor.eu/bitstream/10419/228109/1/ 1727610547.pdf
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
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
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
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
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
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
Nael, A. A., & Wilfling, B. (2011). Identification of price 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
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
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
Shiller, R. (2006). Irrational Exuberance. Crown Business Publishing. USA, 365 pp. ISBN 978-0-7679-2363-7. https://www.amazon.com/Irrational-Exuberance-Robert-J-Shiller/dp/0767923634
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
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
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