Submitted:
24 April 2025
Posted:
27 April 2025
You are already at the latest version
Abstract
Keywords:Â
1. Introduction
2. Literature Review
Theoretical Review

Empirical Review
3. Materials and Methods
Data and Variables
| Variable | Description | Measurement |
| govbal | The general government balance reflects the difference between total government revenues and expenditures, indicating the fiscal stance. A surplus suggests fiscal consolidation, while a deficit may point to expansionary fiscal policy. | % of GDP |
| govdebt_lag | Lagged gross government debt represents the total outstanding debt of the government from the previous period, serving as a stock variable influencing current fiscal decisions and interest obligations. | Local currency |
| gdp_growth | Real GDP growth rate measures the annual percentage increase in the value of all goods and services produced, adjusted for inflation, indicating economic performance. | % |
| ltrate | Long-term interest rate denotes the yield on government bonds with extended maturities, reflecting investor expectations about future inflation and economic conditions, and influencing debt servicing costs. | % |
| inflation | The inflation rate, often measured by the Consumer Price Index (CPI), tracks the average change over time in the prices paid by consumers for a basket of goods and services, affecting purchasing power and monetary policy. | % |
Methodology
Model Assessment and Evaluation
4. Results
Logistic Regression
XGBoost Model
SVM Model for Fiscal Stress Prediction
| Parameter | Value |
| SVM Type | C-classification |
| Kernel | Radial (RBF) |
| Cost (C) | 1 |
| Class Weights | 0 = 0.8, 1 = 0.2 |
| Support Vectors (Total) | 359 |
| Support Vectors by Class | Class 0: 288, Class 1: 71 |
| Probability Estimates | Enabled |
Model Performance Comparison
| Model | Accuracy | Precision | Recall | F1_Score | AUC |
| Logistic Regression | 0.934 | 1 | 0.92 | 0.959 | 0.991 |
| XGBoost | 0.991 | 1 | 0.989 | 0.994 | 0.997 |
| SVM | 0.642 | 0.821 | 0.727 | 0.771 | NA |
5. Discussion
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- European Central Bank Financial Stability Review; European Central Bank, 2024.
- Chalk, N.; Hemming, R. Assessing Fiscal Sustainability in Theory and Practice.; 2000; p. 61.
- Escolano, J. A Practical Guide to Public Debt Dynamics, Fiscal Sustainability, and Cyclical Adjustment of Budgetary Aggregates; International Monetary Fund, 2010.
- Beetsma, R.; Debrun, X.; Fang, X.; Kim, Y.; LledĂł, V.; Mbaye, S.; Zhang, X. Independent Fiscal Councils: Recent Trends and Performance. European Journal of Political Economy 2019, 57, 53â69. [Google Scholar]
- Agnello, L.; Castro, V.; Sousa, R.M. Forecasting Sovereign Risk in the Euro Area via Machine Learning. International Journal of Forecasting 2022, 38, 1008â1024. [Google Scholar]
- Petropoulos, A.; Stavroulakis, E.; Tsoukalas, J.D. Gradient-Boosted Trees for Sovereign Risk Forecasting: Evidence from the Eurozone. Journal of Financial Econometrics 2023, 21, 345â369. [Google Scholar] [CrossRef]
- Chuliå, H.; Gil-Alana, L.A.; Pérez, D. High-Frequency Fiscal Data and Nowcasting: A New Approach to Economic Forecasting. Economic Modelling 2024, 123, 106982. [Google Scholar] [CrossRef]
- Khalili, A.; Di Martire, D.; Amini, A. Dynamic Updating Frameworks for Fiscal Risk Assessment: A Machine Learning Approach. Remote Sensing 2024, 16, 3340. [Google Scholar] [CrossRef]
- Bohn, H. The Behavior of U.S. Public Debt and Deficits. The Quarterly Journal of Economics 1998, 113, 949â963. [Google Scholar] [CrossRef]
- Belly, G.; Boeckelmann, L.; Caicedo Graciano, C.M.; Di Iorio, A.; Istrefi, K.; Siakoulis, V.; Stalla-Bourdillon, A. Forecasting Sovereign Risk in the Euro Area via Machine Learning. Journal of Forecasting 2023, 42, 657â684. [Google Scholar]
- De Marchi, G.; Moro, A. Macro-Financial Surveillance and Machine Learning: Enhancing Early Warning Systems. Journal of Economic Dynamics and Control 2023, 147, 104514. [Google Scholar] [CrossRef]
- Overes, T.; van der Wel, M. Sovereign Credit Rating Prediction Using Machine Learning. Finance Research Letters 2021, 38, 101497. [Google Scholar] [CrossRef]
- Giudici, P.; Wu, C. Measuring the Impact of ESG on Sovereign Credit Using Explainable AI. Sustainability 2024, 16, 3340. [Google Scholar] [CrossRef]
- Tian, Y. ; others Machine Learning Applications in Financial Risk Management: A Review. PLOS ONE 2024, 19, e0300195. [Google Scholar] [CrossRef]
- FamĂ , A. ; others Explainable Machine Learning in Fiscal Risk Management. Statistics 2024, 58, 87â104. [Google Scholar] [CrossRef]
- Zahariev, A.; Ivanov, P.; Dimitrov, K. Debt Management Evaluation through Support Vector Machines: The Case of Italy and Greece. Journal of Applied Economics 2022, 25, 456â472. [Google Scholar] [CrossRef]
- Boeckelmann, H. ; others Machine Learning in Sovereign Risk Assessment: Evidence from the Euro Area. SSRN Electronic Journal 2021. [Google Scholar] [CrossRef]
- Petropoulos, A. ; others Deep Learning Models for Sovereign Risk Prediction in Europe. Journal of Financial Econometrics 2023, 21, 345â369. [Google Scholar] [CrossRef]
- MĂŒller, K.; Xu, C.; Lehbib, M.; Chen, Z. The Global Macro Database: A New International Macroeconomic Dataset 2025.
- Baldacci, E.; Gupta, S.; Mulas-Granados, C. How Effective Is Fiscal Policy Response in Systemic Banking Crises? IMF Working Paper 2011. [Google Scholar] [CrossRef]
- Agnello, L.; Castro, V.; Sousa, R.M. Forecasting Sovereign Risk in the Euro Area via Machine Learning. International Journal of Forecasting 2022, 38, 1008â1024. [Google Scholar]
- Gaspar, V. ; Director; Marrakech, I.F.A.D.; Morocco Introductory Remarks to the Fiscal Monitor Press Conference Available online:. Available online: https://www.imf.org/en/News/Articles/2023/10/11/introductory-remarks-to-the-fiscal-monitor-press-conference-vitor-gaspar (accessed on 21 April 2025).
- European Commission Debt Sustainability Monitor 2023; European Commission, 2023.
| Predictor | Estimate | Std. Error | z value | p-value | |
| (Intercept) | -0.7600 | 0.3400 | -2.2200 | 0.0270 | * |
| govbal | -0.0015 | 0.0002 | -7.4200 | < .001 | *** |
| govdebt_lag | 0.0000 | 0.0000 | 3.1300 | 0.0020 | ** |
| gdp_growth | -0.0130 | 0.0150 | -0.8600 | 0.3880 | |
| ltrate | -0.0094 | 0.0535 | -0.1800 | 0.8600 | |
| inflation | -0.0016 | 0.0408 | -0.0400 | 0.9680 |
| Iteration | Train Log Loss |
| 1 | 0.604 |
| 100 | 0.031 |
Disclaimer/Publisherâs Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).