IDEAS home Printed from https://ideas.repec.org/p/ulp/sbbeta/2025-18.html

Using DSGE and Machine Learning to Forecast Public Debt for France

Author

Listed:
  • Emmanouil SOFIANOS
  • Thierry BETTI
  • Emmanouil Theophilos PAPADIMITRIOU
  • Amélie BARBIER-GAUCHARD
  • Periklis GOGAS

Abstract

Forecasting public debt is essential for effective policymaking and economic stability, yet traditional approaches face challenges due to data scarcity. While machine learning (ML) has demonstrated success in financial forecasting, its application to macroeconomic forecasting remains underexplored, hindered by short historical time series and low-frequency (e.g., quarterly/annual) data availability. This study proposes a novel hybrid framework integrating Dynamic Stochastic General Equilibrium (DSGE) modeling with ML techniques to address these limitations, focusing on the evolution of France’s public debt. We first generate a large synthetic macroeconomic dataset using an estimated DSGE model for France, which allows for efficient training of ML algorithms. These trained models are then applied to actual historical data for directional debt forecasting. The results show that the best machine learning model is an XGBoost achieving 90% accuracy. Our results highlight the viability of combining structural economic models with data-driven techniques to improve macroeconomic forecasting.

Suggested Citation

  • Emmanouil SOFIANOS & Thierry BETTI & Emmanouil Theophilos PAPADIMITRIOU & Amélie BARBIER-GAUCHARD & Periklis GOGAS, 2025. "Using DSGE and Machine Learning to Forecast Public Debt for France," Working Papers of BETA 2025-18, Bureau d'Economie Théorique et Appliquée, UDS, Strasbourg.
  • Handle: RePEc:ulp:sbbeta:2025-18
    as

    Download full text from publisher

    File URL: http://beta.u-strasbg.fr/WP/2025/2025-18.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Dario Sansone & Anna Zhu, 2023. "Using Machine Learning to Create an Early Warning System for Welfare Recipients," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 85(5), pages 959-992, October.
    2. Giovanni Di Bartolomeo & Marco Di Pietro & Enrico Saltari & Willi Semmler, 2018. "Public debt stabilization: the relevance of policymakers’ time horizons," Public Choice, Springer, vol. 177(3), pages 287-299, December.
    3. Tongyu Wang & Shangmei Zhao & Guangxiang Zhu & Haitao Zheng, 2021. "A machine learning-based early warning system for systemic banking crises," Applied Economics, Taylor & Francis Journals, vol. 53(26), pages 2974-2992, June.
    4. Periklis Gogas & Theophilos Papadimitriou & Maria Matthaiou & Efthymia Chrysanthidou, 2015. "Yield Curve and Recession Forecasting in a Machine Learning Framework," Computational Economics, Springer;Society for Computational Economics, vol. 45(4), pages 635-645, April.
    5. James D. Hamilton, 2017. "Why You Should Never Use the Hodrick-Prescott Filter," NBER Working Papers 23429, National Bureau of Economic Research, Inc.
    6. Michael H. Breitner & Christian Dunis & Hans-Jörg Mettenheim & Christopher Neely & Georgios Sermpinis & Georgios Sermpinis & Charalampos Stasinakis & Konstantinos Theofilatos & Andreas Karathanasopoul, 2014. "Inflation and Unemployment Forecasting with Genetic Support Vector Regression," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 33(6), pages 471-487, September.
    7. Guillaume Belly & Lukas Boeckelmann & Carlos Mateo Caicedo Graciano & Alberto Di Iorio & Klodiana Istrefi & Vasileios Siakoulis & Arthur Stalla‐Bourdillon, 2023. "Forecasting sovereign risk in the Euro area via machine learning," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(3), pages 657-684, April.
    8. Emmanouil Sofianos & Christos Alexakis & Periklis Gogas & Theophilos Papadimitriou, 2025. "Machine learning forecasting in the macroeconomic environment: the case of the US output gap," Economic Change and Restructuring, Springer, vol. 58(1), pages 1-19, February.
    9. Bachleitner, Alena & Prammer, Doris, 2024. "Don’t blame the government!? An assessment of debt forecast errors with a view to the EU Economic Governance Review," European Journal of Political Economy, Elsevier, vol. 82(C).
    10. Fatima-Ezzahra Rafie & Mostafa Lekhal, 2024. "Public external debt sustainability assessment: towards a machine learning based approach," Cogent Economics & Finance, Taylor & Francis Journals, vol. 12(1), pages 2429770-242, December.
    11. Periklis Gogas & Theophilos Papadimitriou & Efthymia Chrysanthidou, 2015. "Yield Curve Point Triplets in Recession Forecasting," International Finance, Wiley Blackwell, vol. 18(2), pages 207-226, June.
    12. Calvo, Guillermo A., 1983. "Staggered prices in a utility-maximizing framework," Journal of Monetary Economics, Elsevier, vol. 12(3), pages 383-398, September.
    13. Giancarlo Corsetti & Keith Kuester & André Meier & Gernot J. Müller, 2013. "Sovereign Risk, Fiscal Policy, and Macroeconomic Stability," Economic Journal, Royal Economic Society, vol. 0, pages 99-132, February.
    14. Frank Smets & Rafael Wouters, 2007. "Shocks and Frictions in US Business Cycles: A Bayesian DSGE Approach," American Economic Review, American Economic Association, vol. 97(3), pages 586-606, June.
    15. Silva, Thiago Christiano & Wilhelm, Paulo Victor Berri & Amancio, Diego R., 2024. "Machine learning and economic forecasting: The role of international trade networks," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 649(C).
    16. Periklis Gogas & Theophilos Papadimitriou & Emmanouil Sofianos, 2022. "Forecasting unemployment in the euro area with machine learning," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(3), pages 551-566, April.
    17. Amelie BARBIER-GAUCHARD & Emmanouil SOFIANOS, 2024. "Forecasting Public Debt in the Euro Area Using Machine Learning: Decision Tools for Financial Markets," Working Papers of BETA 2024-47, Bureau d'Economie Théorique et Appliquée, UDS, Strasbourg.
    18. Gertler, Mark & Karadi, Peter, 2011. "A model of unconventional monetary policy," Journal of Monetary Economics, Elsevier, vol. 58(1), pages 17-34, January.
    19. Kolasa, Marcin & Rubaszek, Michał, 2015. "Forecasting using DSGE models with financial frictions," International Journal of Forecasting, Elsevier, vol. 31(1), pages 1-19.
    20. Julia Estefania‐Flores & Davide Furceri & Siddharth Kothari & Jonathan D. Ostry, 2023. "Worse than you think: Public debt forecast errors in advanced and developing economies," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(3), pages 685-714, April.
    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. Alice Albonico & Alessia Paccagnini & Patrizio Tirelli, 2014. "Estimating a DSGE model with Limited Asset Market Participation for the Euro Area," Working Papers 286, University of Milano-Bicocca, Department of Economics, revised Nov 2014.
    2. Cardani, Roberta & Paccagnini, Alessia & Villa, Stefania, 2019. "Forecasting with instabilities: An application to DSGE models with financial frictions," Journal of Macroeconomics, Elsevier, vol. 61(C), pages 1-1.
    3. Darracq Pariès, Matthieu & Müller, Georg & Papadopoulou, Niki, 2023. "Fiscal multipliers within the euro area in the context of sovereign risk and bank fragility," Economic Modelling, Elsevier, vol. 126(C).
    4. Matthieu Darracq Paries, 2018. "Financial frictions and monetary policy conduct," Erudite Ph.D Dissertations, Erudite, number ph18-01 edited by Ferhat Mihoubi, June.
    5. Cúrdia, Vasco & Woodford, Michael, 2016. "Credit Frictions and Optimal Monetary Policy," Journal of Monetary Economics, Elsevier, vol. 84(C), pages 30-65.
    6. Roberta Cardani & Alessia Paccagnini & Stefania Villa, 2015. "Forecasting in a DSGE Model with Banking Intermediation: Evidence from the US," Working Papers 292, University of Milano-Bicocca, Department of Economics, revised Feb 2015.
    7. Alice Albonico & Alessia Paccagnini & Patrizio Tirelli, 2019. "Limited Asset Market Participation And The Euro Area Crisis: An Empirical Dsge Model," Economic Inquiry, Western Economic Association International, vol. 57(3), pages 1302-1323, July.
    8. Mr. Hamid R Tabarraei & Abdelaziz Rouabah & Olivier Pierrard, 2019. "Sovereigns and Financial Intermediaries Spillovers," IMF Working Papers 2019/043, International Monetary Fund.
    9. Christoph Görtz & John D. Tsoukalas, 2013. "Sector Specific News Shocks in Aggregate and Sectoral Fluctuations," CESifo Working Paper Series 4269, CESifo.
    10. Karadi, Peter & Nakov, Anton, 2021. "Effectiveness and addictiveness of quantitative easing," Journal of Monetary Economics, Elsevier, vol. 117(C), pages 1096-1117.
    11. Abdoulaye Millogo, 2020. "Hysteresis Effects and Macroeconomics Gains from Unconventional Monetary Policies Stabilization," Cahiers de recherche 20-12, Departement d'économique de l'École de gestion à l'Université de Sherbrooke.
    12. Chin, Kuo-Hsuan & Li, Xue, 2019. "Bayesian forecast combination in VAR-DSGE models," Journal of Macroeconomics, Elsevier, vol. 59(C), pages 278-298.
    13. Batini, Nicoletta & Melina, Giovanni & Villa, Stefania, 2019. "Fiscal buffers, private debt, and recession: The good, the bad and the ugly," Journal of Macroeconomics, Elsevier, vol. 62(C).
    14. Corsetti, Giancarlo & Dedola, Luca & Jarociński, Marek & Maćkowiak, Bartosz & Schmidt, Sebastian, 2019. "Macroeconomic stabilization, monetary-fiscal interactions, and Europe's monetary union," European Journal of Political Economy, Elsevier, vol. 57(C), pages 22-33.
    15. Gregor Boehl & Gavin Goy & Felix Strobel, 2024. "A Structural Investigation of Quantitative Easing," The Review of Economics and Statistics, MIT Press, vol. 106(4), pages 1028-1044, July.
    16. Andrei Polbin & Sergey Drobyshevsky, 2014. "Developing a Dynamic Stochastic Model of General Equilibrium for the Russian Economy," Research Paper Series, Gaidar Institute for Economic Policy, issue 166P, pages 156-156.
    17. Eijffinger, Sylvester C. W. & Grajales-Olarte, Anderson & Uras, Burak R., 2020. "Heterogeneity In Wage Setting Behavior In A New-Keynesian Model," Macroeconomic Dynamics, Cambridge University Press, vol. 24(6), pages 1512-1546, September.
    18. Zhang, Yahong, 2019. "Household debt, financial intermediation, and monetary policy," Journal of Macroeconomics, Elsevier, vol. 59(C), pages 230-257.
    19. Renato Agurto & Fernando Fuentes & Carlos J. García & Esteban Skoknic, 2021. "The macroeconomic impact of the electricity price: lessons from Chile," Empirical Economics, Springer, vol. 60(5), pages 2407-2428, May.
    20. Lieberknecht, Philipp, 2018. "Financial Frictions, the Phillips Curve and Monetary Policy," MPRA Paper 89429, University Library of Munich, Germany.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • E27 - Macroeconomics and Monetary Economics - - Consumption, Saving, Production, Employment, and Investment - - - Forecasting and Simulation: Models and Applications
    • E37 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Forecasting and Simulation: Models and Applications
    • H63 - Public Economics - - National Budget, Deficit, and Debt - - - Debt; Debt Management; Sovereign Debt
    • H68 - Public Economics - - National Budget, Deficit, and Debt - - - Forecasts of Budgets, Deficits, and Debt

    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:ulp:sbbeta:2025-18. 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: the person in charge The email address of this maintainer does not seem to be valid anymore. Please ask the person in charge to update the entry or send us the correct address (email available below). General contact details of provider: https://edirc.repec.org/data/bestrfr.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.