IDEAS home Printed from https://ideas.repec.org/p/zbw/bubdps/341638.html

Bivariate sudden stop analysis of equity and bond fund flows to emerging markets using isolation forest

Author

Listed:
  • Griebsch, Susanne
  • Röthig, Andreas

Abstract

This paper applies machine learning methods and anomaly detection to sudden stop analysis of portfolio flows. Using the isolation forest methodology, univariate as well as bivariate sudden stops of equity and bond fund flows to emerging markets are generated. An anomaly score and an anomaly classification are provided. The results point to an increase in anomalous portfolio flows to emerging markets in recent years. In addition, the isolation forest methodology appears to yield better results than the traditional approach to sudden stop analysis in classifying anomalies connected with the recent capital flow volatility related to the outbreak of the COVID-19 pandemic as well as the interest rate reversal in advanced economies in recent years. The bivariate approach to anomaly detection is better able to identify anomalous episodes of financial stress, where both equity and bond markets are simultaneously affected. Most of the classified anomalies are related to fund flow stops (i.e. simultaneous stops to both equity and bond flows) or surges (i.e. surges in both equity and bond flows). In general, univariate and bivariate anomaly detection using machine learning techniques can play an important part and lead to a better understanding of sudden stops and surges.

Suggested Citation

  • Griebsch, Susanne & Röthig, Andreas, 2026. "Bivariate sudden stop analysis of equity and bond fund flows to emerging markets using isolation forest," Discussion Papers 15/2026, Deutsche Bundesbank.
  • Handle: RePEc:zbw:bubdps:341638
    DOI: 10.71734/DP-2026-15
    as

    Download full text from publisher

    File URL: https://www.econstor.eu/bitstream/10419/341638/1/1973501368.pdf
    Download Restriction: no

    File URL: https://libkey.io/10.71734/DP-2026-15?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Guillermo A. Calvo & Alejandro Izquierdo & Ernesto Talvi, 2006. "Sudden Stops and Phoenix Miracles in Emerging Markets," American Economic Review, American Economic Association, vol. 96(2), pages 405-410, May.
    2. Peter Tillmann, 2013. "Capital Inflow Shocks and House Prices: Aggregate and Regional Evidence from Korea," East Asian Economic Review, Korea Institute for International Economic Policy, vol. 17(2), pages 129-159.
    3. Carmen M. Reinhart & Vincent R. Reinhart, 2009. "Capital Flow Bonanzas: An Encompassing View of the Past and Present," NBER International Seminar on Macroeconomics, University of Chicago Press, vol. 5(1), pages 9-62.
    4. Tillmann, Peter, 2013. "Capital inflows and asset prices: Evidence from emerging Asia," Journal of Banking & Finance, Elsevier, vol. 37(3), pages 717-729.
    5. Boonman, Tjeerd M., 2023. "Portfolio capital flows before and after the Global Financial Crisis," Economic Modelling, Elsevier, vol. 127(C).
    6. Candelon, Bertrand & Moura, Rubens, 2023. "Sovereign yield curves and the COVID-19 in emerging markets," Economic Modelling, Elsevier, vol. 127(C).
    7. Beutel, Johannes & Emter, Lorenz & Metiu, Norbert & Prieto, Esteban & Schüler, Yves, 2025. "The global financial cycle and macroeconomic tail risks," Journal of International Money and Finance, Elsevier, vol. 156(C).
    8. Agosin, Manuel R. & Huaita, Franklin, 2012. "Overreaction in capital flows to emerging markets: Booms and sudden stops," Journal of International Money and Finance, Elsevier, vol. 31(5), pages 1140-1155.
    9. Broto, Carmen & Díaz-Cassou, Javier & Erce, Aitor, 2011. "Measuring and explaining the volatility of capital flows to emerging countries," Journal of Banking & Finance, Elsevier, vol. 35(8), pages 1941-1953, August.
    10. Ozan Sula, 2010. "Surges and Sudden Stops of Capital Flows to Emerging Markets," Open Economies Review, Springer, vol. 21(4), pages 589-605, September.
    11. Jörn Debener & Volker Heinke & Johannes Kriebel, 2023. "Detecting insurance fraud using supervised and unsupervised machine learning," Journal of Risk & Insurance, The American Risk and Insurance Association, vol. 90(3), pages 743-768, September.
    12. Guidotti, Pablo E. & Sturzenegger, Federico & Villar, Agustín, 2004. "On the consequences of sudden stops," LSE Research Online Documents on Economics 123171, London School of Economics and Political Science, LSE Library.
    13. Conor McKinnon & James Carroll & Alasdair McDonald & Sofia Koukoura & Charlie Plumley, 2021. "Investigation of Isolation Forest for Wind Turbine Pitch System Condition Monitoring Using SCADA Data," Energies, MDPI, vol. 14(20), pages 1-20, October.
    14. Byrne, Joseph P. & Fiess, Norbert, 2016. "International capital flows to emerging markets: National and global determinants," Journal of International Money and Finance, Elsevier, vol. 61(C), pages 82-100.
    15. Levan Efremidze & Sungsoo Kim & Ozan Sula & Thomas D. Willett, 2017. "The relationships among capital flow surges, reversals and sudden stops," Journal of Financial Economic Policy, Emerald Group Publishing Limited, vol. 9(4), pages 393-413, November.
    16. Hutchison, Michael M. & Noy, Ilan & Wang, Lidan, 2010. "Fiscal and monetary policies and the cost of sudden stops," Journal of International Money and Finance, Elsevier, vol. 29(6), pages 973-987, October.
    17. Pablo E. Guidotti & Federico Sturzenegger & Agust�n Villar, 2004. "On the Consequences of Sudden Stops," Economía Journal, The Latin American and Caribbean Economic Association - LACEA, vol. 0(Spring 20), pages 171-214.
    18. Proaño, Christian R. & Quero Virla, Leonardo & Strohsal, Till, 2025. "How strong is the link between the global financial cycle and national macro-financial dynamics? A wavelet analysis," Journal of International Money and Finance, Elsevier, vol. 159(C).
    19. Suxiao Li & Jakob de Haan & Bert Scholtens, 2019. "Sudden stops of international fund flows: Occurrence and magnitude," Review of International Economics, Wiley Blackwell, vol. 27(1), pages 468-497, February.
    20. Forbes, Kristin J. & Warnock, Francis E., 2012. "Capital flow waves: Surges, stops, flight, and retrenchment," Journal of International Economics, Elsevier, vol. 88(2), pages 235-251.
    21. Guillermo A. Calvo, 1998. "CAPITAL FLOWS AND CAPITAL-MARKET CRISES: The Simple Economics of Sudden Stops," Journal of Applied Economics, Taylor & Francis Journals, vol. 1(1), pages 35-54, November.
    22. Hutchison, Michael M. & Noy, Ilan, 2006. "Sudden stops and the Mexican wave: Currency crises, capital flow reversals and output loss in emerging markets," Journal of Development Economics, Elsevier, vol. 79(1), pages 225-248, February.
    23. Alexander D. Rothenberg & Francis E. Warnock, 2011. "Sudden Flight and True Sudden Stops," Review of International Economics, Wiley Blackwell, vol. 19(3), pages 509-524, August.
    24. Yifan Feng & Weihong Cai & Haoyu Yue & Jianlong Xu & Yan Lin & Jiaxin Chen & Zijun Hu, 2022. "An improved X-means and isolation forest based methodology for network traffic anomaly detection," PLOS ONE, Public Library of Science, vol. 17(1), pages 1-18, January.
    25. Manuel R. Agosin & Franklin Huaita, 2011. "Capital flows to emerging economies: Minsky in the tropics," Cambridge Journal of Economics, Cambridge Political Economy Society, vol. 35(4), pages 663-683.
    26. Arora, Dhulika & Kashiramka, Smita, 2023. "What drives the growth of shadow banks? Evidence from emerging markets," Emerging Markets Review, Elsevier, vol. 54(C).
    27. Forbes, Kristin J. & Warnock, Francis E., 2021. "Capital flow waves—or ripples? Extreme capital flow movements since the crisis," Journal of International Money and Finance, Elsevier, vol. 116(C).
    28. Li, Suxiao & de Haan, Jakob & Scholtens, Bert, 2018. "Surges of international fund flows," Journal of International Money and Finance, Elsevier, vol. 82(C), pages 97-119.
    29. Fateh Belaid & Amine Ben Amar & Stéphane Goutte & Khaled Guesmi, 2023. "Emerging and advanced economies markets behaviour during the COVID‐19 crisis era," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(2), pages 1563-1581, April.
    30. Peter Tillman, 2013. "Capital Inflow Shocks and House Prices: Aggregate and Regional Evidence from Korea," Working Papers 2013-2, Economic Research Institute, Bank of Korea.
    31. Xiaoling Tao & Yang Peng & Feng Zhao & Peichao Zhao & Yong Wang, 2018. "A parallel algorithm for network traffic anomaly detection based on Isolation Forest," International Journal of Distributed Sensor Networks, , vol. 14(11), pages 15501477188, 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. Maria Siranova & Menbere Workie Tiruneh & Brian Konig, 2024. "From abnormal FDI to a normal driver of sudden stop episodes," Working Papers 2024.02, International Network for Economic Research - INFER.
    2. Masyita Crystallin & Levan Efremidze & Sungsoo Kim & Wahyu Nugroho & Ozan Sula & Thomas Willett, 2015. "How Common are Capital Flows Surges? How They are Measured Matters -a Lot," Open Economies Review, Springer, vol. 26(4), pages 663-682, September.
    3. Martijn J. Burger & Elena I. Ianchovichina, 2017. "Surges and stops in greenfield and M&A FDI flows to developing countries: analysis by mode of entry," Review of World Economics (Weltwirtschaftliches Archiv), Springer;Institut für Weltwirtschaft (Kiel Institute for the World Economy), vol. 153(2), pages 411-432, May.
    4. Ahmet Ihsan Kaya & Lutfi Erden & Ibrahim Ozkan, 2022. "Detecting capital flow surges in developing countries," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 27(3), pages 3510-3530, July.
    5. Mengting Zhang & Andreas Steiner & Jakob de Haan & Haizhen Yang, 2024. "Capital flow reversals and currency crises: Do capital flow types matter?," Review of International Economics, Wiley Blackwell, vol. 32(4), pages 1787-1823, September.
    6. Yazdani, Mahdi & Daryani, Elmira, 2021. "Output Loss from Sudden Stop of FDI and the Role of Macroeconomic Policies," Journal of Money and Economy, Monetary and Banking Research Institute, Central Bank of the Islamic Republic of Iran, vol. 16(2), pages 213-236, June.
    7. Mercado, Rogelio V., 2019. "Capital flow transitions: Domestic factors and episodes of gross capital inflows," Emerging Markets Review, Elsevier, vol. 38(C), pages 251-264.
    8. Rogelio V. Mercado, 2018. "Not all surges of gross capital inflows are alike," Journal of Economic Studies, Emerald Group Publishing Limited, vol. 45(2), pages 326-347, May.
    9. Suxiao Li & Jakob de Haan & Bert Scholtens, 2019. "Sudden stops of international fund flows: Occurrence and magnitude," Review of International Economics, Wiley Blackwell, vol. 27(1), pages 468-497, February.
    10. Boubekeur Baba & Guven Sevil, 2020. "The behavior of stock market prices throughout the episodes of capital inflows," Papers 2008.13472, arXiv.org, revised Jun 2025.
    11. M Belén Salas & David Alaminos & Manuel Angel Fernández & Francisco López-Valverde, 2020. "A global prediction model for sudden stops of capital flows using decision trees," PLOS ONE, Public Library of Science, vol. 15(2), pages 1-22, February.
    12. Yongseok Choi & Levan Efremidze & Ozan Sula & Thomas D. Willett, 2025. "Which Capital Flow Surge Methods Are Better at Predicting Reversals and Sudden Stops?: Balancing Type 1 and Type 2 Errors," Open Economies Review, Springer, vol. 36(3), pages 781-824, July.
    13. Bank for International Settlements, 2021. "Changing patterns of capital flows," CGFS Papers, Bank for International Settlements, number 66.
    14. Burger, Martijn J. & Ianchovichina, Elena I., 2014. "Surges and stops in FDI flows to developing countries : does the mode of entry make a difference ?," Policy Research Working Paper Series 6771, The World Bank.
    15. Cowan, Kevin & Raddatz, Claudio, 2013. "Sudden stops and financial frictions: Evidence from industry-level data," Journal of International Money and Finance, Elsevier, vol. 32(C), pages 99-128.
    16. Calderón, César & Kubota, Megumi, 2019. "Ride the Wild Surf: An investigation of the drivers of surges in capital inflows," Journal of International Money and Finance, Elsevier, vol. 92(C), pages 112-136.
    17. Agosin, Manuel R. & Díaz, Juan D. & Karnani, Mohit, 2019. "Sudden stops of capital flows: Do foreign assets behave differently from foreign liabilities?," Journal of International Money and Finance, Elsevier, vol. 96(C), pages 28-36.
    18. Levan Efremidze & John Rutledge & Thomas D. Willett, 2016. "Capital Flow Surges As Bubbles: Behavioral Finance And Mckinnon’S Over-Borrowing Syndrome Extended," The Singapore Economic Review (SER), World Scientific Publishing Co. Pte. Ltd., vol. 61(02), pages 1-27, June.
    19. Muhammad Imran & Abdul Rashid, 2023. "The Empirical Determinants of Foreign Direct Investment Episodes," Global Journal of Emerging Market Economies, Emerging Markets Forum, vol. 15(3), pages 409-435, September.
    20. Levan Efremidze & Samuel M. Schreyer & Ozan Sula, 2011. "Sudden stops and currency crises," Journal of Financial Economic Policy, Emerald Group Publishing Limited, vol. 3(4), pages 304-321, November.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles
    • F30 - International Economics - - International Finance - - - General
    • F32 - International Economics - - International Finance - - - Current Account Adjustment; Short-term Capital Movements
    • G15 - Financial Economics - - General Financial Markets - - - International Financial Markets

    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:zbw:bubdps:341638. 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: ZBW - Leibniz Information Centre for Economics (email available below). General contact details of provider: https://edirc.repec.org/data/dbbgvde.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.