Next Article in Journal
Modulation Instability of Surface Waves in the Model with the Uniform Wind Profile
Previous Article in Journal
Symmetry and Its Importance in the Oscillation of Solutions of Differential Equations
Previous Article in Special Issue
Vehicular Communications Utility in Road Safety Applications: A Step toward Self-Aware Intelligent Traffic Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sovereign Debt and Currency Crises Prediction Models Using Machine Learning Techniques

by
David Alaminos
1,2,*,
José Ignacio Peláez
3,4,
M. Belén Salas
5,6 and
Manuel A. Fernández-Gámez
6,7
1
PhD Program in Mechanical Engineering and Energy Efficiency, Universidad de Málaga, 29071 Málaga, Spain
2
Department of Financial Management, Universidad Pontificia Comillas, 28015 Madrid, Spain
3
Department of Languages and Computer Science, Biomedical Research Institute (IBIMA), Universidad de Málaga, 29071 Málaga, Spain
4
Applied Social Research Center (CISA), Universidad de Málaga, 29071 Málaga, Spain
5
PhD Program in Economics and Business, Universidad de Málaga, 29071 Málaga, Spain
6
Department of Finance and Accounting, Universidad de Málaga, 29071 Málaga, Spain
7
Cátedra de Economía y Finanzas Sostenibles, Universidad de Málaga, 29071 Málaga, Spain
*
Author to whom correspondence should be addressed.
Symmetry 2021, 13(4), 652; https://doi.org/10.3390/sym13040652
Submission received: 13 March 2021 / Revised: 30 March 2021 / Accepted: 8 April 2021 / Published: 12 April 2021
(This article belongs to the Special Issue Symmetry and IoT Intelligence in the Post Pandemic Economy)

Abstract

:
Sovereign debt and currencies play an increasingly influential role in the development of any country, given the need to obtain financing and establish international relations. A recurring theme in the literature on financial crises has been the prediction of sovereign debt and currency crises due to their extreme importance in international economic activity. Nevertheless, the limitations of the existing models are related to accuracy and the literature calls for more investigation on the subject and lacks geographic diversity in the samples used. This article presents new models for the prediction of sovereign debt and currency crises, using various computational techniques, which increase their precision. Also, these models present experiences with a wide global sample of the main geographical world zones, such as Africa and the Middle East, Latin America, Asia, Europe, and globally. Our models demonstrate the superiority of computational techniques concerning statistics in terms of the level of precision, which are the best methods for the sovereign debt crisis: fuzzy decision trees, AdaBoost, extreme gradient boosting, and deep learning neural decision trees, and for forecasting the currency crisis: deep learning neural decision trees, extreme gradient boosting, random forests, and deep belief network. Our research has a large and potentially significant impact on the macroeconomic policy adequacy of the countries against the risks arising from financial crises and provides instruments that make it possible to improve the balance in the finance of the countries.

1. Introduction

The study of crisis events in international finance has received considerable attention in the field of economics over the last two decades, especially the prediction of sovereign debt and currency crises, due to their enormous importance in economic activity. This great research effort has produced a huge range of prediction models, supported in turn by varied methodologies [1,2,3,4].
The current importance of models for predicting crisis events is increased by the last global financial crisis, which showed that even developed countries, that is, those that in theory, are in a better situation and economic stability. The globalization process and economic development have led to the emergence of greater complexity in the macroeconomic and financial environment [1]. This has created a new space for research, and the demand to build new models to forecast this event, not just at the level of a country but to explain the common characteristics of these crises for a wide geographic spectrum [4,5].
One of the paths initially taken by the literature on the prediction of international financial crisis events was the development of models built with samples made up of emerging economies since they tend to be more vulnerable countries and have statistically suffered a higher frequency of crises. However, at this initial stage, specific samples composed of only one country, or a reduced set of countries, were considered, and therefore could well be considered as regional models. Subsequently, the development of the literature in the construction of regional models was due to mere necessity [6]. Recently, various so-called global models have also appeared that have used samples of economies from different regions of the world for their construction. Almost all of these global models have been built to predict situations in emerging economies, including some advanced economies [7].
The results obtained by studies, such as that of [8], confirm the convenience, both explanatory and potential classification capacity, of global models for predicting these crisis events in comparison with regional models or with information from a single country. Besides, there is a demand for more research on global models connected with the increase of accuracy and the scope of the information used, since the studies that have obtained high levels of precision used very small samples, mainly from a single country, and, therefore, with short-term conclusions [6,9,10]. Many of these works have lacked methodological comparisons to find which empirical technique or which type of method could be the most appropriate for prediction [11,12,13]. Therefore, the literature shows how necessary it is to deepen the use of computational techniques, also called ‘machine learning techniques’, to find alternatives with greater precision to anticipate and prevent future financial crises [3,4].
These sovereign debt and currency crises prediction models can be useful to more accurately assess the reputation of a country in the world [14,15,16,17,18,19]. Country reputation explains how the most important characteristics of a country, for example, social and economic factors, influence the image or brand in which the country is projected to the world. In particular, it can influence the market expectations of energy companies, where bilateral relations between countries are key, and the role of reputation shows the international trust that exists in the country. Various authors [16,17,18,19,20,21,22] have expressed the need to incorporate data and variables on the economic and financial stability of the countries as one more important factor concerning the reputation of the country.
The present study tries to answer the research question of whether it is possible to make global crisis prediction models more accurate relative to those in previous literature, taking into account not only statistical techniques such as logistic regression or function Probit but also computational techniques that have yielded excellent classification results in recent decades in matters of economic prediction [23]. To offer greater explanatory and comparative diversity, both global and regional models have been used for Africa and the Middle East, Asia, Latin America, and Europe. The results reached have made it possible to verify a greater precision of computational methods compared to traditional statistical techniques. Even very novel computational techniques have shown interesting potential in the precision of these events of the crisis.
The structure of this research work is as described below. In Section 2, a review of the previous literature on the prediction of the mentioned crisis events is carried out: sovereign debt crisis and currency crisis. Section 3 presents the methodology used. Section 4 details the variables and data used in the research, and the results achieved are examined in Section 5. Lastly, the conclusions of the investigation and its implications are presented.

2. Literature Review

The review carried out on the sovereign debt and currency crisis prediction literature has allowed us to obtain precise conclusions on the studies carried out to date and on where future research should be oriented. In this sense, it has been found that, on the one hand, there are studies that aim to develop a prediction model to forecast some of the two mentioned crisis events, and that facilitate classifying countries as in a state of crisis or without crisis episodes. These are by far the majority of studies. This group could also include those whose model proposes to be an “early warning” in anticipation of the event of the crisis. On the other hand, it has also been found that in the last decade, global models have emerged to predict these crises, or with samples from various regions. These models have generally looked for the determinants of crises in countries of a relatively broad geographic region.

2.1. Sovereign Debt Crises Prediction

The existing literature on sovereign debt crisis prediction has focused mainly on emerging countries [7,10,11,24,25,26,27,28]. For their part, some studies have addressed predictions of the sovereign debt crisis in emerging and developing countries [3,29,30]. Finally, refs. [5,31] modeled public debt default to predict it both for different regions (Africa, Latin America, Asia, and Europe) and globally. Among them, Reference [26] proved that not every crisis is the same: they vary according to if the government is faced with insolvency, lack of liquidity, or diverse macroeconomic risks. Besides, they characterized the group of fundamental elements that can be linked to a so-called “risk-free” zone. This is an important classification for discussing appropriate policy options to avoid crises and respond to them promptly.
Regarding the methods used, a considerable number of researchers have applied statistical methods to predict the sovereign debt crisis, highlighting the logit model [5,10,24,25,26,29,32]. On the other hand, the authors [3,7] develop regression models to forecast the sovereign debt crisis. For their part, [11] applies a non-parametric method based on artificial neural networks (ANN). Finally, Reference [27] develops the application of the self-organization map (SOM), a display instrument based on ANN. Among them, Reference [11] concludes that thanks to the excellent versatility of ANNs and their nonlinear relationship approximation capability, an early warning system founded on ANN can, in certain conditions, improve on more conventional techniques. Reference [27] shows that the SOM is a viable tool to monitor sovereign default indicators, facilitating the monitoring of multidimensional financial data.
On the other hand, it is also found that previous studies have determined a series of significant variables in the previous literature in the prediction of the sovereign debt crisis. For example, Reference [11] exposes as explanatory variables the growth of Gross Domestic Product (GDP), the profitability of the US Treasury bill, and the level of external debt over total reserves. Other authors have shown that the interest rate of the US Federal Reserve has an essential role to play in increasing the probability of default [3,30]. Finally, Reference [5] shows that the country’s total debt, the global interest rate, and the current account in the payment balance are the main determinants of the defaults of countries at the global level.
Finally, regarding the level of precision achieved in said sovereign debt crisis prediction literature, the studies by [10,24,25,29,30] stand out with a precision range between 70% and 80%. With a higher rank level (80–90%), we find the investigations of [3,5,11,26]. These last authors proposed a new crisis variable specification that allows for the prediction of new-onset of crises, and their results were more precise in comparison with those in the existing literature. They yielded a forecast capacity of 87% for the global model.

2.2. Currency Crises Prediction

The literature that has previously covered the prediction of currency crises has been mostly for emerging economies; therefore, the evidence is poor for advanced economies. Among the research from emerging countries, we highlight those of [2,12,33,34,35,36,37,38]. Other authors have focused on Asian countries for currency crisis prediction [39,40,41,42]. For their part, Reference [43] investigates the differences in a common set of indicators used in early alert systems for currency crises in the situation of Jordan and Egypt. Reference [44] empirically analyzes the causes of currency crises for a set of Organisation for Economic Co-operation and Development (OECD) countries.
Regarding the methods used, a considerable number of researchers have applied statistical methods to predict the currency crisis, highlighting Logit [2,12,37,38,43,45], and Probit [44,46,47]. Also, previous studies have developed computational techniques such as RNA [6,33,40,41], auto-organization map [34], support vector machine (SVM) [35], and deep neural decision trees [48]. For their part, Reference [39] used a switching model of nonlinear Markov to carry out a systemic analogy and assessment of three different causes of currency crises: contagion, fundamentals, and soft economics. Reference [34] concluded that their model based on the self-organization map (SOM) is a viable tool to predict currency crises, obtaining an accuracy of 91.6%. For their part, Reference [35] showed that the support vector machine computing technique provides reasonably accurate results and helps policymakers to identify situations in which a currency crisis may occur.
From another point of view, taking into account the explanatory variables of the models, the most prominent among the authors have been exports [2,6,33,34,36,43,44,49], the real exchange rate of the currency [33,36,43,44,49,50], relationship between the reserve and the money supply [2,33,34,43,49], current account balance [12,34,51], and GDP growth [12,49,51]. For their part, Reference [42] found that global financial shocks and the growth rate of domestic credit are the main currency crisis indicators.
Following the level of precision of the models, most of the previous studies reach a precision range of 67–85% [2,38,39,46,50,51]. With a higher precision range level (90–97%) we find the investigations of [6,12,33,34,35,36,37,40,41,48]. Among them, Reference [35] achieved 96% accuracy and his results showed that the currency crisis could be adequately predicted using only a small fraction of sample data.
Therefore, the previous literature shows a greater predictive capacity of machine learning methodologies over statistical methodologies. But this same literature shows that the results obtained so far are not enough and that this type of methodologies can achieve a higher level of precision [8,11]. Also, it is detailed in previous works that the use of data has been very limited in time horizon and geographic space, making it a challenge to increase it for future works [4,9,13]. Finally, there is a need to test different computational methodologies in the prediction of financial crises [3,5,10,12]. This is due to the weaknesses shown by some methodologies such as SVM and ANN on the difficulty of managing large databases and the difficulty of interpretation.

3. Methodologies

As previously stated, to resolve the research question, we used a variety of methods in the design of the crisis prediction models. Applying different methods aims to achieve a robust model, which is tested not only through one classification technique but also by implementing all previous classification techniques that have been successful in previous literature. Specifically, multilayer perceptron, support vector machines, fuzzy decision trees, AdaBoost, extreme gradient boosting, random forests, deep belief network, and deep learning neural decision trees have been applied. The following is a summary of the methodological aspects of each of these classification techniques.

3.1. Multilayer Perceptron

The multilayer perceptron (MLP) is an RNA methodology composed of a layer of input units, an output layer and other intermediate layers also called hidden layers. These last layers have no connections with the outside. The system is designed for supervised feedback. All the layers would be connected so that the input nodes are connected with the nodes of the second layer, these in turn with those of the third layer, and so on. The methodology aims to form a correspondence between a set of initial observations at the input with the set of outputs desired for the output layer.
The work [52] develops the MLP learning scheme as its case, in which initially there is no knowledge about the underlying model of the applied data. This scheme needs to find a function that captures the learning patterns, as well as a generalization process to be able to analyze individuals not included in the learning stage [53]. It is necessary to adjust the weights considering the sample data, assuming that the information on the architecture of the network is available, where the objective is to achieve weights that minimize the learning error. Therefore, given a set of pairs of learning patterns {(x1, y1), (x2, y2)… (xp, yp)} and an error function ε (W, X, Y), the training stage is It composes in identifying the set of weights that minimizes the learning error E (W) [54], as it appears in (1).
min W   E ( W ) =   min W i = 1 p ε ( W ,   x i ,   y i )

3.2. Support Vector Machines

Support vector machines (SVM) have registered good results when applied to problems of a very diverse nature, where the generalization error needs to be minimized. SVM is defined as the attempt to classify a surface (σi) that divides positive and negative data by as large a margin as possible [55].
All possible surfaces (σ1, σ2, …) in the A-dimensional space that differentiates the positive data from the negative ones in the training observations are used to find the smallest possible distance. The positive and negative data are linearly separable and therefore the decision surfaces are |A|-1-hyperplanes. Attention must be paid to the best decision surface and is identified through a small set of training data called support vectors. SVM allows the construction of non-linear classifiers, that is, the algorithm represents non-linear training data in a high-dimensional space.
In our analysis, the minimum sequential optimization (SMO) method is applied to train the SVM algorithm. The SMO technique separates quadratic programming (QP) problems to be solved in SVM by smaller QP problems.

3.3. Fuzzy Decision Trees (FDT)

This is an algorithm based on the famous C4.5 technique where a decision tree is built based on characteristics that are composed of smaller subsets, basing the decision of the formation of the decision tree on the possibility of deriving a value from the information [56]. This algorithm can collect hidden information from large data sets and produce its own rules for optimal classification [57]. Therefore, C4.5 is made up of features such as the selection of attributes as root, the possibility of producing a branch for each value, and being able to repeat the process for each branch until all branch cases have the same class. The highest gain is used for the selection of attributes as the root, as expressed in Equation (2):
G a i n   ( S , A ) = E n t r o p y ( S ) i = 1 n | S i | | S | = E n t r o p y ( S )
where S is the set of cases, A is the attributes, n represents the partition number of the attribute A, and Si represents the number of cases in the partition i-th.
The result of Entropy is computed as appears in Equation (3):
E n t r o p y ( S ) = i = 1 n p i × l o g 2 × p i
where S establishes the set of cases, n identifies the number of partitions of S, and pi represents the proportion of S.
The fuzzy decision trees show an initial architecture identical to the decision trees developed at the beginning. Fuzzy decision trees allow observations to be developed in different branches of a node at the same time and with different levels of satisfaction in the interval (0–1) [58,59]. Fuzzy decision trees differ from standard decision trees because they apply division criteria related to fuzzy constraints, their inference techniques are different, and the fuzzy sets representing the observations should not change. On the other hand, the stimulus of the fuzzy decision tree is composed of two factors, such as a procedure to build a fuzzy decision tree and an inference development for decision making. The fuzzy modification has achieved better results in previous studies in comparison with the C4.5 algorithm [59].

3.4. AdaBoost

AdaBoost is a meta-algorithm-based learning technique that can be applied to other types of learning algorithms to increase your ability to hit. This procedure performs a weighted sum to obtain the result from the other algorithms, called weak classifiers, with the driven classifier such as AdaBoost. This classifier adapts to the rest of the weak algorithms to hit in favor of the cases badly classified by the previous classifiers. AdaBoost has the characteristic of being sensitive to samples with noise and outliers, but, in some classification problems, it may be less sensitive than other classifiers [60].
AdaBoost develops a particular technique of training a powered classifier [61]. A Boost classifier is a classifier composed as it shows in Equation (4):
F T ( x ) = t = 1 T f t ( x )
where a ft represents a weak learner which takes an object x as input and returns a real value result pointing out the class of the object. The predicted object class and absolute value show a level of confidence in the classification problem through the signal from the weak classifier output. For its part, the sign T of the classifier will be positive in the case that the sample is within a positive class, and negative otherwise.
Every classifier indicates an output, the hypothesis h(xi), for each sample in the training set. In iteration t, a weak classifier has chosen ft and provides a coefficient αt, so the training error adds Et, this classifier having the mission of minimizing the level of error, as shown in Equation (5).
E t = i E [ F t 1 ( x i ) + α t h ( x i ) ]
where Ft−1 represents the driven classifier generated in the prior step of training, E(F) defines the error function, and ft(x) = αth(x) is the weak beginner that sums to the final classifier.

3.5. Extreme Gradient Boosting (XGBoost)

XGBoost is an algorithm based on increasing the gradient and has shown superior predictive power to many computational methodologies widely used in the previous literature [58,62,63]. It is an algorithm that can be applied to supervised learning situations and is made up of sets of regression and classification trees (CART). Initially, the variable to be predicted can be defined as yi, XGBoost is defined as it appears in Equation (6).
y ^ i = k = 1 K f k ( x i ) f k F
where K represents the total number of trees, f k for the tree, k i h defines a function in the functional space F, and F shows the possible set of all CARTs.
For the trained and trained CART, they will try to mimic the level of residues thrown by the model in the training step. The objective function is optimized in step (t + 1) as defined in Equation (7).
  o b j = i = 1 n l ( y i ,   y ^ i ( t ) ) + i = 1 t Ω ( f i )
where l (.) represents the loss function in the training step, y i ,   shows the validation value in this training step, y ^ i ( t ) describes the prediction value in step t, and Ω ( f i ) is fixed starting the regularization defines in Equation (8).
Ω ( f ) = γ T + 1 2 λ j = 1 T w j 2
In this Equation (8), T represents the number of leaves and wj defines the score obtained for the sheet jth. Once optimized (8), the expansive Taylor rule is applied to carry out the descent of the gradient and collect different loss functions. Significant variables are chosen during the training step as a node in the trees, eliminating non-significant variables.

3.6. Random Forests

Random forests (RF) are an ensemble method that averages the forecasts of a high number of uncorrelated decision trees [64,65]. They usually display good performance with better generalization properties than individual trees, are generally relatively robust to outliers, and need virtually no parameter turning [66]. Random forests are supported by two domain ideas: packaging to build each tree on a different starter sample of the training data and random selection of features to decorate the trees. The training algorithm is quite simple and can be described as follows: For each of the trees in the set, a sample of the training data is drawn. By growing the tree Tb over Z, characteristics that are available as candidates for the division at the respective node are randomly chosen [67]. Lastly, the grown tree is added Tb to the whole. During the inference, each of the trees provides a prediction c ^ b ( x ) for the class label of the new observation x. The final random forest prediction c ^ R F ( x ) is then the majority vote of the trees, that is, c ^ R F ( x ) = m a j o r i t y   v o t e   { c ^ b ( x ) } .
Inspired by [64], RF holds 100 trees, each with a maximum depth of 10 for the simulation study. The trees all use cross-entropy as the error minimization measure and m = √p characteristics are set as the default option for the classification configuration of this algorithm.

3.7. Deep Belief Network

The Deep Belief Network (DBN) is a variant of a deep neural network made up of two upper layers joined together as an undirected bipartite associative memory, called restricted Boltzmann machines (RBM).
The lower layers form a directed graphical pattern, called the sigmoid belief network. The difference between sigmoid belief networks and DBN is found in the way the hidden layers are parameterized [68], as indicated in Equation (9).
P ( v , h 1 , , h l ) = P ( h l 1 , h l ) ( k = 0 l 2 P ( h k | | h k + 1 )
where v represents the vector of visible units, P ( h k 1 | h k ) defines the conditional probability of visible units at the level k. The joint distribution at the top level, P ( h l 1 , h ) , is an RBM, being x ( n ) = [ 1 , x 1 ( n ) , x 2 ( n ) , , x m ( n ) ] T . Another way to show DBN as a generative model can be pointed out in the expression (10):
w ( n ) = [ b , w 1 ( n ) , w 2 ( n ) , , w m ( n ) ] T
DBN is made up of the accumulation of RBMs. The visible layer of each RBM in this composition constitutes the hidden layer of the previous RBM. In the way that a model fits a data set, the mission is to establish a model Q ( h l 1 , h ) for the true posterior P ( h l 1 , h ) . The approximations for the higher-level posterior are determined by the posterior Q ( h l 1 , h ) , P ( h l 1 , h ) , where the upper-level RBM gives the possibility to calculate the inference procedure [68].

3.8. Deep Neural Decision Trees

Deep Neural Decision Trees (DNDT) are composed of decision tree models computed using deep learning neural networks. In these trees, a combination of weights is assigned to DNDT, which belongs to a specific decision tree, its result being interpretable [69]. DNDT starts with a “soft clustering” function [70] to evaluate the level of residues contained in each node, which allows obtaining split decisions in DNDT. The “grouping” function is defined as using a real scalar as input x and getting an index of the “containers” that x belongs to.
In the case of having a variable x, it can be joined in n + 1 intervals. The need to generate n cut points is created, which are trainable variables within the algorithm. These cutoff points are called [β1, β2, …, βn] and move in an increasing monotonic fashion, hence, β1 < β2 < … < βn.
The function of the activation of the DNDT method starts from a neural network to make the computation, as is defined in Equation (11).
π = fw,b,τ (x) = softmax((wx + b))
where w is a constant and its value is set as w = [1, 2, …, n + 1], τ > 0 is a factor temperature, and b is constructed as defined by Equation (12).
b = [0, −β1, −β1β2, …, −β1β2 − … − βn]
The neural network, which is defined in Equation (12), produces an encoding of the ‘binning’ function x. In case τ approaches 0 (which is the case most often), the vector is sampled via the straight-through (ST) method Gumbel-Softmax [71]. Considering our ‘binning’ function defined above, the main idea is to create the decision tree through the Kronecker product. Suppose we get an input instance x ∈ RD with D features. Interleaving each feature xd with its neural network fd(xd), we can find all the final nodes of the decision trees, as expressed in Equation (13).
z = f1(x1) ⊗ f2(x2) ⊗ ⋯ ⊗ fD(xD)
where z is now also a vector indicating the index of the leaf node where the instance arrives x. Finally, we suppose that a linear classifier at every sheet z sorts the instances that arrive there. DNDT scales well with the number of inputs because of the mini-batch training of the neural network. However, a key design drawback is that, due to the use of the Kronecker product, it is not scalable concerning the number of features. In our implementation today, we avoid this problem with large data sets by having a forest with random subspace training [65].

3.9. Sensitivity Analysis

In Machine Learning techniques, it is also necessary to analyze the impact of variables as occurs in traditional statistical techniques, after using data samples that contain a wide variety of variables. To carry out this evaluation, a sensitivity analysis must be applied. The objective of this procedure is to determine the level of significance of the independent variables over the dependent variable [72,73]. Therefore, it tries to determine those models that are made up of the most important ones, and therefore, eliminate the variables that are not significant. For a variable to be considered significant, it must have a variance greater than the mean of the rest of the variables that make up the model. The Sobol method [74] is the technique chosen to decompose the variance of the total V (Y) given by the following equations expressed in (14).
V ( Y ) = i V i + i j > 1 V i j + V 1 , 2 , , k
where Vi = V(E(Y|Xi)y, Vij = V(E|Xi, Xj)) − ViVj.
The sensitivity indices are obtained by Sij = Vij/V, where Sij denotes the effect of interaction between two factors. The Sobol decomposition makes it possible to estimate a total sensitivity index STi, measuring the total sensitivity effects implied by the independent variables.

4. Sample, Data, and Variables

4.1. Sample and Data

From the 1970–2017 period, two samples have been obtained, each used for its purpose, which has been for analyzing the forecast of a sovereign debt crisis and the prediction of a currency crisis. For this, the samples have been classified by world regions, specifically Africa and the Middle East, Latin America, Asia, Europe, and the total (global) set. The database has been obtained from macroeconomic and financial data from the main international economic institutions like the International Monetary Fund (the database called ‘The World Economic Outlook’) and the World Bank (the database called ‘Open World Bank Data’).
The dataset of the sample has been classified into three groups that are mutually exclusive, reserving 70% for training samples, 10% for validation samples, and for the test samples, the remaining 20%. Next, we selected the variables set that provided the most number of classification hits in the verification set, and we have presented results based on the average number of hits in the test set. The classification and prediction finally involve using the developed model to produce predictions for the analyzed crises.

4.2. Variables

4.2.1. Sovereign Debt Crises

The database used for the construction of the sovereign debt crisis prediction models consisting of a comprehensive set of information (30 crude or converted significant variables, with annual periodicity) concerning a panel (unbalanced) of 115 developed and emerging markets in the period 1970–2017. An attempt is made to replicate the sample used by Dawood, Horsewood, and Strobel (2017) as a reference work, expanding the time range and the number of countries, as well as including the attributes of the indicators on policy conditions and credit scoring. The macroeconomic variables have been obtained from the World Bank, while the credit rating indicators are derived from Fitch Ratings statistics and the political variables from the POLITY IV project, carried out by the Center for Systemic Peace (http://www.systemicpeace.org/inscrdata.html (accessed on 5 March 2020)). The sample includes the four main regions worldwide, such as Africa and the Middle East, Asia, Latin America and Europe.
The dependent variable is formed like most of the previous literature, like the work of Dawood, Horsewood, and Strobel (2017). For emerging emerging countries, the dependent variable indicates the value 1 in the event of any of the following events and zero otherwise: interest and/or capital arrears increase above 5% of the pending debt; loans obtained from the International Monetary Fund (IMF) that exceed 100% of the country’s quota; the accumulated credit lent by the IMF exceeds 200% of the quota; participation in a debt restructuring or rescheduling plan involving a volume greater than 20% of the outstanding debt. For developed countries, in addition to the two related events around IMF loans, the dependent variable is identified as 1 if public debt exceeds 150% of GDP. Table 1 describes the variables used, and Table A1 in Appendix A shows the selected crisis years for each country from the database used.

4.2.2. Currency Crises

The database used for the construction of the currency crisis prediction models includes 32 explanatory variables from 163 developed, emerging, and developing countries in the period 1970–2017. The dependent variable is constructed from the definition of [75]: a currency crisis is a depreciation of the nominal value of the currency against the US dollar of at least 30 percent, which is at least 10 points percentage higher than the depreciation index in the previous year. The macroeconomic variables have been extracted from the World Bank Open Data (see: https://data.worldbank.org/ (accessed on 11 March 2020)) and chosen from the experiences of [6,36,76]. For their part, the political variables come from the POLITY IV project, following the factors used by [77]. Table 2 shows the set of variables used, with their definition and expected sign, and Table A2 of Appendix A details the years of crisis for the country by country in the sample. The Table A3 of Appendix A summaries the number of crises occurred in the period previously mentioned.

5. Results

This chapter completes the development of the empirical aspects of this research work, offering detail of the results obtained. These results are presented for the global and regional models, and for each of the crisis events considered. The results of the sensitivity analysis have been performed using the Sobol method described in Section 3.9, and those variables that have yielded a sensitivity level equal to or greater than 0.4 have been chosen as the most significant of each model.
To be more effective in demonstrating the superiority of machine learning techniques for the prediction of the crises treated in this study, a Logit analysis has been carried out (see results in Table A4 and Table A5 of Appendix A). The results of the Logit models performed show an accuracy of 86.11–79.17% for training data and an accuracy range of 83.03–78.14% for testing data. As explained in the Introduction, we applied machine learning techniques to increase the precision capacity.

5.1. Results for Sovereign Debt Crises

The results of the sensitivity and precision analysis obtained in each stage according to the data subsample (training, validation, and testing) of the global model, Africa, and the Middle East, Asia, Latin America, and Europe, are shown in Table 3 and Table 4, respectively. After observing the results of the sensitivity analysis, the global model shows that variables such as ORR are significant in all the applied methodologies. Another variable that shows the same dynamics is FXR, showing high levels of sensitivity. For their part, the variables that represent credit quality, such as SCFR and SBS, also have high importance according to the results obtained. If we generalize the model in the test sample, the classification level moves in the range 87.67–97.80%, showing the FDT technique with a precision of 97.80% with test data. Finally, the Root Mean Squared Error (RMSE) values (Figure 1) resulting from the methodologies used move in an interval of 0.33–0.22, showing that FDT provides the lowest error (0.22).
The results of the analysis of the sensitivity of the model built with the sample from Africa and the Middle East indicate that the most significant variables are IMFC, M2R, SCFR, and SBS. Regarding the precision results obtained, if we generalize the model in the test sample, the classification level moves in a range of 88.67–100%, with the FDT technique being the one with the highest precision, 100% (testing). Other techniques like AdaBoost and XGBoost show a high level of precision (exceeding 95%). The RMSE values (Figure 1) produced by the methodologies used move in an interval of 0.24–0.07, showing again the FDT technique as the algorithm with the lowest error (0.07).
The variables TRO, FXR, SCFR, and SBS have the greatest impact on the sensitivity analysis of the Asian model. Regarding the precision results, the classification level moves in a range of 8.44–96.82%, showing that FDT presents a precision of 96.82% with test data. In this Asian model, the RMSE values (Figure 1) move in an interval of 0.38–0.26, being again the FDT technique as the algorithm that yields the lowest error (0.26). Regarding the Latin American model, it is observed that the most significant variables are TRO, FXR, SCFR, and SBS. The classification level moves in a range of 87.65–98.85%, showing that FDT obtains the best precision results. In this model, FDT also achieves a lower RMSE. Finally, after examining the results of the sensitivity analysis, the European model shows that the variables with the greatest impact are TDEB, M2R, FXR, SCFR, and SBS. The classification level moves in a range of 86.36–99.76%, with the FDT technique being the one with the highest precision (99.76%). Other techniques such as AdaBoost and XGBoost have also obtained high levels of precision, exceeding 98% in the sample of testing. In this European model, the FDT technique shows the lowest error (0.14).

5.2. Results for Currency Crises

Table 5 and Table 6 detail the results of the sensitivity and precision analysis obtained in each stage according to the data subsample (training, validation, and testing) with the data related to currency crises. In the global model, the most significant variables are M2M, M2R, TRO, FDI, and REER. This shows that a considerable rise in the money supply and foreign investment flows can decide the existence of a global currency crisis. If we generalize the model in the test sample, the classification level moves in a range of 91.83–98.43%, showing that the DNDT technique reaches the highest precision (98.43% with test data). In this global model, the RMSE values (Figure 2) are within the interval 0.35–0.23, showing that the lowest error (0.23) is obtained with FDT.
The Africa and Middle East model shows that M2M, M2R, and FDI are significant with most of the techniques used. Therefore, increases in the money supply and with it, a growth in the proportion of this supply over the country’s foreign exchange reserves, and a low rate of foreign direct investment flows are the best predictors of currency crises in Europe. Regarding the precision of this model, the classification level moves in a range of 92.18–98.24%, showing that the DNDT technique obtains the best fit (precision of 98.24% with test data). Figure 2 details the RMSE values, being the DNDT technique the one with the lowest error (0.19).
The Asian model shows that the variables FXR, TRO, M2R, and CACC show high levels of sensitivity. Therefore, a large increase in the money supply and poor balance of payments and foreign exchange reserve levels appear to be the best currency crisis predictors in Asia. The DNDT technique is the one that offers the highest precision (98.54% with test data). The error range is 0.34–0.18, again being the DNDT technique the one that obtains the lowest (Figure 2). The variables TRO, RGDP, TDEB, and M2R are significant in most of the models built in Latin America. These results indicate that a significant rise in the proportion of the money supply to reserves and a low level of economic growth and trade openness, as well as a high level of public debt, are the main factors in predicting a currency crisis. For its part, the DNDT method is the best prediction technique, with a precision of 96.90% in test data. In this Latin American model, the RMSE values presented by the methods used are located in the interval of 0.34–0.26, with the RF technique being the algorithm with the lowest error (0.26). The results of the sensitivity analysis in the European model show that the variables of M2M, DCRE, FCF, and TDEB are the ones with the greatest impact in most of the applied techniques. These results suggest that an important expansion in the growth of the money supply and high levels of the balance of payments credit and public debt are especially significant in detecting currency crises in Europe. The level of precision is in the range of 92.93–99.07%, with the DNDT technique being the one that reaches a greater success of 99.07% in the testing stage. Figure 2 also details the RMSE values, being the DNDT technique the one with the lowest error (0.14).

5.3. Discussion of Results

The results obtained for the sovereign debt crises forecast reveal a set of robust variables that are reproduced in almost all of the estimated models. Variables of the debt exposure attribute such as TDEB and IMFC mean that the increase in debt levels also causes an increased likelihood of a public debt crisis. These significant variables coincide with the results of the previous works by [3,5], which indicate the great relevance of the debt level on the probability of default. For their part, banking sector variables are significant in previous studies [5], but they have not been validated in our estimates. On the contrary, it has been more common in our models to observe greater significance in variables of the foreign sector attribute such as FXR and M2R, which imply a high accumulation of foreign currency for the payment of the debt of the public institutions of a country. This fact has not been refuted, or at least not with such significance by previous works [7,10]. There are other significant variables such as SCFR and SBS that have not been contrasted either by the prior literature. These variables reflect the fact that a downgrading of the country’s credit rating and an increase in interest payments make it more difficult to access financing and pay the debt, which increases the risk of default due to difficulties in refinancing said debt [3,78]. Lastly, the most sensitive political variables, but with a weaker intensity than those mentioned above, have been: SFI (in the Latin American and Global models) which shows the state’s capacity to carry out public policies, and POLI that shows the country’s level of democracy. In previous literature, only POLI has been identified as significant [3].
The results on sovereign debt default show that models developing with fuzzy C4.5 (FDT) raise the ability to forecast sovereign debt crises, obtaining better ratios of both precision and other selection criteria. Most notably, the global model achieves an accuracy of 97.8%, higher than the 87.1% obtained by [5] employing logistic regression. The same work also reveals the improvement of the precision of their regional models. Along the same lines, it improves the results reported by [3], which had 87% accuracy with regression trees for emerging countries. Likewise, our methodology also improves the prediction capacity of other computational techniques such as neural networks used by [11], with which it obtained 85% accuracy for a sample of emerging countries. Reference [29] achieved 88.6% accuracy with their K-means method for a sample of emerging and developing countries. Even so, other methodologies have shown a consistent predictive capacity throughout the models built, both globally and regionally. These are the case of the AdaBoost, XGBoost, and DNDT techniques, which have shown an average prediction in testing close to 95% correct, making them interesting options to treat the prediction of a sovereign debt crisis. Regarding the level of residuals measured by RMSE, the levels obtained show that the models carried out have a high degree of fit, since the specific statistical literature indicates that those levels below unity present good goodness of fit and that those results less than 0.5 indicate particularly good goodness of fit [79,80]. Therefore, our results show a unique set of variables, in addition to achieving better precision results than the rest of the previous literature.
For their part, the results obtained in the study of currency crises also show a group of explanatory variables that is common in a large part of the estimated models. The FCF variable has been important in most of the models, showing the importance of the evolution of a country’s net investment in increasing the threat of a currency crisis. This result is in contradiction to the findings of [7], in which this variable was not statistically relevant. Continuing with the domestic macroeconomic variables, the variables concerning the money supply (M2M and M2R) have shown high significance, showing that a drastic increase in the money supply hurts the price of the currency. On the other side, the INF variable is not significant, in contrast to works like those of [6,35]. Another variable such as REER has not been refuted as a significant factor either, unlike that shown in the works of [38,45]. Likewise, variables of the foreign sector attribute such as TRO and CACC are shown as more significant variables due to the importance of a country’s international trade performance on price, something that refutes the results of the previous works of [2,36]. In turn, the variables of the banking sector have been relevant in previous investigations [2,6], but they have not obtained a huge significance in our estimates. Regarding the debt variables, the TDEB variable (in connection with the debt accumulation) has been largely significant, indicating that high public debt ratios decrease the currency’s value. Finally, the most important political variables in our models have been: DUR and YEAR (Africa and Asia) that show the state’s capacity to implement public policies, and POLI that shows the level of democracy in the country. These variables have not been pointed as significant in the prior literature [77].
The results on the case of currency crises conclude that the models built with DNDT obtain a forecasting ability close to 100% for currency crises in the regional and global models, with higher levels of accuracy than in other studies. The precision of the global model is 96.38%, but a comparison of this model is complex as it is the first model developed to predict currency crises worldwide. Other studies have obtained lower levels of precision, such as [2], with an accuracy of 84.62% based on the dynamic panel model. In the same way, we have also improved the results obtained by [6], who reached 93.8% accuracy employing neural networks for Turkey. Our methodology is also more powerful in prediction than other computational methods such as the k-nearest neighbor hybrid algorithm and vector support machines (kNN-SVM), which had an accuracy of 97% for a sample of emerging markets [36].

6. Conclusions

The present study developed robust global and regional models to predict international financial crises, specifically those related to sovereign debt and the price of the currency. Similarly, an attempt is made to show the superiority of computational techniques over statistics in terms of the level of precision. An attempt has been made to clarify these issues by overcoming the previous absence of definitive conclusions due to the lack of homogeneity caused by the disparity of methodologies, approaches, available databases, periods, and countries, among other issues.
The results of the study carried out have allowed us to obtain the conclusions that appear below. First, to confirm the existence of differences between the global and regional models, and that the global models can even show a precision capacity similar to the mean of the regional models. To this end, the global sovereign debt prediction models for the studied regions (Africa and the Middle East, Asia, Latin America, and Europe) have obtained an accuracy capacity of 97.80%, 100%, 96.82%, 98%, 85%, and 99.76%, respectively. For its part, this precision relationship for the models built in the study of the currency crisis shows a precision of 98.43%, 98.24%, 98.54%, 96.90%, and 99.07% for the Global sample, Africa and the Middle East, Asia, Latin America, and Europe, respectively. This shows the high level of robustness of the models built concerning previous works.
Second, about the objective that postulated that the application of computational methods could improve the level of precision shown by statistical techniques, our empirical evidence has allowed us to accept it for the analyzed crises, all based on the comparison made between levels of success for test sample data and obtained RMSE values. The best methods for the sovereign debt crisis have been FDT, AdaBoost, XGBoost, and DNDT. While for the prediction of the currency crisis, the best techniques have been DNDT, XGBoost, RF, and DBN.
Regarding the explanatory variables of sovereign debt crises, in the set of estimated models, some variables have appeared as significant continuously. They are the variables related to the exposure to the country’s debt, more specifically TDEB, which shows the importance of a high level of public debt in sovereign default, and IMFC, which indicates the influence of high dependence on credit provided by the IMF as a possible cause of the increased probability of default. On the other hand, the foreign sector variables related to the amount of foreign exchange reserves accumulated by a country, such as FXR and M2R, show the importance of a high level of foreign exchange reserves with which to be able to face international debt payments. Lastly, the SCFR and SBS variables also show continued significance, showing that interest paid and credit rating are important factors when evaluating the possibility of a sovereign default.
The results of the currency crisis prediction models also show that a small group of variables are consistently significant. This is the case of the FCF variable, indicating how a low level of dynamism in net investment in the country can cause a strong drop in the currency’s value. Similarly, the variables that the money supply represents, such as M2M and M2R, indicate that a rise in the money supply in the market makes the currency lose its price. Variables of the foreign sector attribute such as TRO and CACC are also presented as significant variables due to the importance of the commercial opening of a country in the price of its currency. Finally, in the case of naming the most significant political variables in a general way, the variables DUR and YEAR indicate a higher incidence of currency crises in those countries where political regimes are perpetuated, i.e., close to totalitarianism.

6.1. Implications

The above conclusions have important theoretical and practical implications. From a theoretical approach, the models developed can help provide tools for the prevision of sovereign debt and currency crises that are able to avoid international financial crises both at the regional level and as a whole (global), since a high level of robustness in these models concerning previous works. This study is a great contribution to the field of international finance, as the results presented in this work have considerable implications for further decisions, providing tools that help governments and financial markets achieve financial stability. Given the need of countries to obtain financing and establish international relations, our models can help to foresee sovereign debt and currency crises in them, avoiding financial disturbances and imbalances and reducing the possibility of damages in the financial intermediation process. All this implies an improvement in the functioning of financial markets, debt sustainability, the profitability of credit institutions, and the non-banking financial sector, such as investment funds. From a practical point of view, our sovereign debt and currency crisis prediction models can be useful to assess the reputation of a country more accurately. In a globalized world, companies always try to expand into markets outside their own, which makes it vital to enjoying a good image of the country of origin to improve the perception of the goods and services offered. A poor reputation of a country in terms of paying its debt obligations, as well as an unstable currency, can have a negative impact on companies from that country in other markets about seeking financing, suppliers, and partnerships with other companies. Therefore, a better perception of the country’s financial management can improve on the one hand, its position in the financial markets, and, on the other side, the country’s reputation for the benefit of its companies.

6.2. Limitations and Further Research

This investigation has certain limitations, principally the historical data available for emerging economies. As this research was conducted from a globally oriented perspective, it requires a much larger range of information compared to other studies in this field. Furthermore, future studies may delve into other types of political information to deepen their influence both on the financial crises studied and on the impact of the country’s reputation. It would be convenient to relate the influence of the financial crises suffered by a country on exports or tourism, important dimensions in the country’s reputation through modifications of the country strength models, as the main tools for measuring reputation. Likewise, and to increase the generalization of the results in the study of the country’s reputation, further analysis could be included on the impact that the financial strength of a country has on corporate reputation, both in large companies and in those that wish to expand internationally, for instance energy companies.
Machine learning techniques show a great capacity to absorb observations, the use of large data samples being vital to obtain a high level of accuracy. Therefore, it shows a greater margin to achieve better precision ratios and a low level of error. But some of the weaknesses of these computational techniques compared to statistics is their higher computational cost to perform the analyzes, as well as greater difficulty in interpreting some methodologies. Therefore, leaving aside the superiority of machine learning methodologies demonstrated in this study and a multitude of previous works, it is necessary to find new techniques that can mitigate the weaknesses described. An interesting technique to test powerful alternatives for predicting international financial crises, such as their effect on the management of the country’s reputation, would be dynamic systems. This technique has been used in different areas of management, obtaining very satisfactory results in simulations of medium and long-term scenarios [81,82,83,84].

Author Contributions

This study has been designed and performed by all of the authors. D.A and J.I.P. collected the data. D.A., J.I.P. and M.B.S. analyzed the data. The introduction and literature review were written by D.A. and M.A.F.-G. All of the authors wrote the discussion and conclusions. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Cátedra de Economía y Finanzas Sostenibles, Universidad de Málaga, Spain.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data available on request due to restrictions.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. Sovereign debt crisis by country and by year.
Table A1. Sovereign debt crisis by country and by year.
CountryYearsCountryYearsCountryYears
Albania1990Finland Nicaragua1980
Germany Francia Niger1983
Algeria Gabon1986, 2002Nigeria1983
Angola1988Gambia1986Norway
Argentina1982, 2001, 2014Georgia New Zealand
Armenia Ghana Netherlands
Australia Grenada2004Panama1983
Austria Greece2012Paraguay1982
Bangladesh Guinea1985Perú1978
Belgium Equatorial Guinea Poland1981
Belize2007, 2012, 2017Guyana1982Portugal
Bolivia1980Haiti United Kingdom
Brazil1983Honduras1981Central African Republic
Brunei Hong Kong Czech Republic
Bulgaria1990Hungary Dominican Rep.1982, 2003
Camerún1989India Romania1982
Canada Indonesia1999Russia1998
Chad Iran, R.I.1992Senegal1981
Chile1983Ireland Seychelles2008
China, R.P. Israel Sierra Leone1977
Cyprus2013Italy Singapore
Colombia Jamaica1978, 2010Syria
Congo, Rep. 1986Japan South Africa1985
Congo, D.R.1976Jordan1989Sudan1979
South Korea Kazajistan Sweden
Ivory Coast1984, 2001, 2010Kenya Switzerland
Costa Rica1981Kuwait Thailand
Croatia Lebanon Tanzania1984
Denmark Liberia1980Togo1979
Dominica2002Libya Trinidad y Tobago1989
Ecuador1982, 1999, 2008Madagascar1981Tunisia
Egypt1984Malasia Turkey1978
Slovakia Malawi1982Ukraine1998, 2015
Spain Morocco1983Uganda1981
United States Mexico1982Uruguay1983, 2002
Estonia Moldavia2002Venezuela1982, 2017
Ethiopia Mozambique1984Vietnam1985
Philippines1983Namibia Zambia1983
Table A2. Currency crisis by country and by year.
Table A2. Currency crisis by country and by year.
CountryYearsCountryYearsCountryYears
Albania1997Denmark Jordan1989
Germany Dominica Kazajistan1999, 2015
Algeria1988, 1994Ecuador1982, 1999Kenya1993
Angola1991, 1996, 2015Egypt1979, 1990, 2016Kirguistan1997
Argentina1975, 1981, 1987, 2002, 2013El Salvador1986Kuwait
Armenia Eritrea Laos, R.D.P.1972, 1978, 1986, 1997
Australia Slovakia Lesoto1985, 2015
Austria Slovenia Latvia1992
Azerbaiyán2015Spain1983Lebanon1984, 1990
Bangladesh1976United States Liberia
Barbados Estonia1992Libya2002
Belgium Ethiopia1993Lithuania1992
Belice Fiji 1998Luxemburgo
Benín1994Filipinas1983, 1998Macedonia
Belarus1997, 2009, 2015Finland1993Madagascar1984, 1994, 2004
Bolivia1973, 1981Francia Malasia1998
Bosnia y Herzegovina Gabon1994Malawi1994, 2012
Botsuana1984Gambia1985, 2003Maldives1975
Brazil1976, 1982, 1987, 1992, 1999, 2015Georgia1992, 1999Mali1994
Brunei Ghana1978, 1983, 1993, 2000, 2009, 2014Morocco1981
Bulgaria1996Grenada Mauricio
Burkina Faso1994Greece1983Mauritania1993
Burundi Guatemala1986Mexico1977, 1982, 1995
Bhutan Guinea1982, 2005Moldavia1999
Cape Verde Equatorial Guinea1980, 1994Mongolia1990, 1997
Camboya1971, 1992Guinea-Bissau1980, 1994Mozambique1987, 2015
Cameroon1994Guyana1987Myanmar1975, 1990, 1996, 2001,2007, 2012
Canada Haiti1992, 2003Namibia1984, 2015
Chad1994Honduras1990Nepal1984, 1992
Chile1972, 1982Hong Kong Nicaragua1979, 1985, 1990
China, R.P. Hungary Niger1994
Cyprus India Nigeria1983, 1989, 1997, 2016
Perú1976, 1981, 1988Sierra Leona1983, 1989, 1998Trinidad and Tobago1986
Poland Singapore Tunisia
Portugal1983Syria1988Turkmenistan2008
United Kingdom Sri Lanka1978Turkey1978, 1984, 1991, 1996, 2001
Central African Republic1994Swaziland1985, 2015Ukraine1998, 2009, 2014
Czech Republic South Africa1984, 2015Uganda1980, 1988
Dominican Rep.1985, 1990, 2003Sudan1981, 1988, 1993, 2012Uruguay1972, 1983, 1990, 2002
Ruanda1991South Sudan2015Uzbekistan2000
Romania1996Sweden1993Venezuela1984, 1989, 1994, 2002, 2010
Russia1998, 2014Switzerland Vietnam1972, 1981, 1987
San Cristóbal y Nieves Surinam1990, 1995, 2001, 2016Yemen1985, 1995
São Tomé and Príncipe1987, 1992, 1997Thailand1998Zambia1983, 1989, 1996, 2009, 2015
Senegal1994Tayikistan1999, 2015Zimbabue1983, 1991, 1998, 2003
Serbia2000Tanzania1985, 1990
Seychelles2008Togo1994
Table A3. Frequency of crisis event (number per year).
Table A3. Frequency of crisis event (number per year).
YearCurrency CrisesSovereign Debt Crises
1970
19711
19725
19731
1974
19755
197641
197711
197853
197932
198043
1981106
198259
1983129
1984104
1985103
198643
19876
198851
198983
1990102
19916
199261
19938
199420
19954
19966
19977
1998102
199972
20004
200132
200254
200341
200411
20051
2006
200711
200832
20095
201012
2011
201232
201321
201431
2015131
20164
2017 2
Total23675
Table A4. Results of Logit analysis for sovereign debt crises.
Table A4. Results of Logit analysis for sovereign debt crises.
Variables Coefficients Sig. (Wald) ROC Curve R2 Nagelkerke Classification (%)
TrainingTesting
GlobalSBS0.7310.0000.6750.58279.1777.38
TRO−0.8260.006
FXR−0.294−0.005
INF0.5020.000
Africa and Middle EastIMFC1.0380.0010.7180.638 85.3681.24
GOVS0.5920.007
TDEB0.291−0.004
SCFR−0.3740.000
POLI−0.1050.000
AsiaREER−1.2740.0000.6590.57281.9378.51
CACC−0.6820.000
NSAV−0.7190.007
POLI−0.0730.000
TDEB0.388−0.009
Latin AmericaTRO−0.7370.0000.7250.65380.2878.14
GOVS1.193−0.008
SFI0.1590.000
IMFC0.4610.003
SCLR−0.1530.005
INF0.2740.000
EuropeTDEB0.955−0.0120.7500.67482.4679.62
M2R0.6840.000
GOVS1.0030.000
GINT0.241−0.003
EFEE−0.6390.000
CDS0.1460.000
The sample has been divided into 70% for training and 30% for testing.
Table A5. Results of Logit analysis for currency crises.
Table A5. Results of Logit analysis for currency crises.
Variables Coefficients Sig. (Wald) ROC Curve R2 Nagelkerke Classification (%)
TrainingTesting
GlobalM2M1.048−0.0030.6250.54583.4880.57
M2R0.7340.000
POLI−0.382−0.004
REER−0.2850.013
CACC−0.4190.000
TRO−0.1180.000
Africa and Middle EastFDI−0.8920.0000.7270.62185.9482.26
FCF−0.537−0.008
DCRE0.5830.000
CACC−0.2420.006
AsiaCACC−1.2350.0000.6500.52986.1183.03
TRO−0.7280.000
EXP−0.3260.000
PINV−0.440−0.017
REER−0.9620.005
DCRE0.287
Latin AmericaTRO−0.9370.0060.7150.69284.2081.83
FCF−0.629−0.004
RGDP−0.2490.000
TDEB0.3850.000
DCRE0.273−0.001
EuropeDCRE0.849−0.0110.7250.64485.1982.62
M2M0.393−0.003
RGDP−0.7410.000
TDEB0.3610.004
FCF−0.1040.000
STD0.2150.003
The sample has been divided 70% for training and 30% for testing.

References

  1. Feenstra, R.C.; Taylor, A.M. International Macroeconomics, 2nd ed.; Worth Publishers: New York, NY, USA, 2012. [Google Scholar]
  2. Candelon, B.; Dumitrescu, E.I.; Hurlin, C. Currency crisis early warning systems: Why they should be Dynamic. Int. J. Forecast. 2014, 30, 1016–1029. [Google Scholar] [CrossRef]
  3. Savona, R.; Vezzoli, M. Fitting and Forecasting Sovereign Defaults using Multiple Risk Signals. Oxf. Bull. Econ. Stat. 2015, 77, 66–92. [Google Scholar] [CrossRef] [Green Version]
  4. Ristolainen, K. Predicting Banking Crises with Artificial Neural Networks: The Role of Nonlinearity and Heterogeneity. Scand. J. Econ. 2018, 120, 31–62. [Google Scholar] [CrossRef]
  5. Dawood, M.; Horsewood, N.; Strobel, F. Predicting Sovereign Debt Crises: An Early Warning System Approach. J. Financ. Stab. 2017, 28, 16–28. [Google Scholar] [CrossRef]
  6. Sevim, C.; Oztekin, A.; Bali, O.; Gumus, S.; Guresen, E. Developing an early warning system to predict currency crises. Eur. J. Oper. Res. 2014, 237, 1095–1104. [Google Scholar] [CrossRef]
  7. Boonman, T.M.; Jacobs, J.P.A.M.; Kuper, G.H. Sovereign Debt Crises in Latin America: A Market Pressure Approach. Emerg. Mark. Financ. Trade 2015, 51, S80–S93. [Google Scholar] [CrossRef] [Green Version]
  8. Alaminos, D.; Fernández, S.M.; García, F.; Fernández, M.A. Data Mining for Municipal Financial Distress Prediction, Advances in Data Mining, Applications and Theoretical Aspects. In Advances in Data Mining. Applications and Theoretical Aspects, Proceedings of the 18th Industrial Conference, ICDM 2018, New York, NY, USA, 11–12 July 2018; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2018; Volume 10933, pp. 296–308. [Google Scholar] [CrossRef]
  9. Ari, A.; Cergibozan, R. The Twin Crises: Determinants of Banking and Currency Crises in the Turkish Economy. Emerg. Mark. Financ. Trade 2016, 52, 123–135. [Google Scholar] [CrossRef]
  10. Dufrénot, G.; Paret, A.G. Sovereign debt in emerging market countries: Not all of them are serial defaulters. Appl. Econ. 2018, 50, 6406–6443. [Google Scholar] [CrossRef]
  11. Fioramanti, M. Predicting sovereign debt crises using artificial neural networks: A comparative approach. J. Financ. Stab. 2008, 4, 149–164. [Google Scholar] [CrossRef]
  12. Comelli, F. Comparing Parametric and Non-parametric Early Warning Systems for Currency Crises in Emerging Market Economies; IMF Working Paper, WP/13/134; International Monetary Fund: Washington, DC, USA, 2013. [Google Scholar]
  13. Caggiano, G.; Calice, P.; Leonida, L. Early warning systems and systemic banking crises in low income countries: A multinomial logit approach. J. Bank. Financ. 2014, 47, 258–269. [Google Scholar] [CrossRef]
  14. Leiva-Soto, R. The media reputation of Spain during the global financial crisis. Commun. Soc. 2014, 27, 1–20. [Google Scholar]
  15. Mariutti, F.; Tech, R. Are we talking the Same Language? Challenging Complexity in Country Brand Models. Athens J. Bus. Econ. 2015, 1, 49–62. [Google Scholar] [CrossRef]
  16. Teodorović, M.; Popesku, J. Country Brand Equity Model: Sustainability Perspective. Marketing 2016, 47, 111–128. [Google Scholar] [CrossRef] [Green Version]
  17. Papadopoulos, N.; Ibrahim, Y.; De Nisco, A.; Napolitano, M.R. The Role of Country Brandingin Attracting Foreign Investment: Country Characteristics and Country Image. Available online: https://www.francoangeli.it/riviste/Scheda_Rivista.aspx?IDArticolo=61808&Tipo=ArticoloPDF (accessed on 18 March 2020).
  18. Amador, M.; Phelan, C. Reputation and Sovereign Default; Staff Report 564; Federal Reserve Bank of Minneapolis: Minneapolis, MN, USA, 2018. [Google Scholar]
  19. Melnyk, T.M.; Varibrusova, A.S. Variable indicators affecting the country’s brand strategy effectiveness and competitiveness in the world. Manag. Sci. Lett. 2019, 9, 1685–1700. [Google Scholar] [CrossRef]
  20. Vaccaro, G.; Cabrera, F.E.; Pelaez, J.I.; Vargas, G. Comparison matrix geometric index: A qualitative online reputation metric. Appl. Soft Comput. 2020, 96, 106687. [Google Scholar] [CrossRef]
  21. Charette, F.; d’Astous, A. Country Image Effects in the Era of Protectionism. J. Int. Consum. Mark. 2020, 32, 271–286. [Google Scholar] [CrossRef]
  22. Lascu, D.; Ahmed, Z.U.; Ahmed, I.; Min, T.H. Dynamics of country image: Evidence from Malaysia. Asia Pac. J. Mark. Logist. 2020, 32, 1675–1697. [Google Scholar] [CrossRef]
  23. Billio, M.; Casarin, R.; Costola, M.; Pasqualini, A. An entropy-based early warning indicator for systemic risk. J. Int. Financ. Mark. Inst. Money 2016, 45, 42–59. [Google Scholar] [CrossRef] [Green Version]
  24. Manasse, P.; Roubini, N.; Schimmelpfennig, A. Predicting Sovereign Debt Crises (November 2003); IMF Working Paper, No. 03/221; International Monetary Fund: Washington, DC, USA, 2003; pp. 1–41. [Google Scholar]
  25. Ciarlone, A.; Trebeschi, G. Designing an early warning system for debt crises. Emerg. Mark. Rev. 2005, 6, 376–395. [Google Scholar] [CrossRef]
  26. Manasse, P.; Roubini, N. “Rules of thumb” for sovereign debt crises. J. Int. Econ. 2009, 78, 192–205. [Google Scholar] [CrossRef]
  27. Sarlin, P. Sovereign debt monitor: A visual Self-organizing maps approach. In Proceedings of the 2011 IEEE Symposium on Computational Intelligence for Financial Engineering and Economics (CIFEr), Paris, France, 11–15 April 2011. [Google Scholar]
  28. Dsoulia, O.; Khan, N.; Kakabadse, N.K.; Skouloudis, A. Mitigating the Davos dilemma: Towards a global self-sustainability index. Int. J. Sustain. Dev. World Ecol. 2018, 25, 81–98. [Google Scholar] [CrossRef] [Green Version]
  29. Fuertes, A.M.; Kalotychou, E. Optimal design of early warning systems for sovereign debt crises. Int. J. Forecast. 2007, 23, 85–100. [Google Scholar] [CrossRef]
  30. Arazmuradov, A. Assessing sovereign debt default by efficiency. J. Econ. Asymmetries 2016, 13, 100–113. [Google Scholar] [CrossRef]
  31. Alaminos, D.; Fernández, S.M.; Neves, P.M.; Santos, J.C. Predicting Sovereign Debt Crises with Fuzzy Decision Trees. J. Sci. Ind. Res. 2019, 78, 733–737. [Google Scholar]
  32. Lukkezen, J.; Rojas-Romagosa, H. A Stochastic Indicator for Sovereign Debt Sustainability. FinanzArchiv/Public Financ. Anal. 2016, 72, 229–267. [Google Scholar] [CrossRef] [Green Version]
  33. Lin, C.S.; Khan, H.A.; Chang, R.Y.; Wang, Y.C. A new approach to modeling early warning systems for currency crises: Can a machine-learning fuzzy expert system predict the currency crises effectively? J. Int. Money Financ. 2008, 27, 1098–1121. [Google Scholar] [CrossRef] [Green Version]
  34. Sarlin, P.; Marghescu, D. Visual predictions of currency crises using self-organizing maps. Intell. Syst. Account. Financ. Manag. 2011, 18, 15–38. [Google Scholar] [CrossRef]
  35. Chaudhuri, A. Support Vector Machine Model for Currency Crisis Discrimination. arXiv 2014, arXiv:1403.0481. [Google Scholar]
  36. Ramli, N.A.; Ismail, M.T.; Hooy, H.C. Measuring the accuracy of currency crisis prediction with combined classifiers in designing early warning system. Mach. Learn. 2015, 101, 85–103. [Google Scholar] [CrossRef] [Green Version]
  37. Mulder, C.; Perrelli, R.; Rocha, M.D. The Role of Bank and Corporate Balance Sheets on Early Warning Systems of Currency Crises—An Empirical Study. Emerg. Mark. Financ. Trade 2016, 52, 1542–1561. [Google Scholar] [CrossRef]
  38. Boonman, T.M.; Jacobs, J.P.A.M.; Kuper, G.H.; Romero, A. Early Warning Systems for Currency Crises with Real-Time Data. Open Econ. Rev. 2019, 30, 813–835. [Google Scholar] [CrossRef] [Green Version]
  39. Fratzscher, M. On currency crises and contagion. Int. J. Financ. Econ. 2003, 8, 109–129. [Google Scholar] [CrossRef] [Green Version]
  40. Yu, L.; Lai, K.K.; Wang, S.Y. Currency Crisis Forecasting with General Regression Neural Networks. Int. J. Inf. Technol. Decis. Mak. 2006, 5, 437–454. [Google Scholar] [CrossRef]
  41. Yu, L.; Wang, S.; Lai, K.K.; Cong, G. Currency Crisis Forecasting with a Multi-Resolution Neural Network Learning Approach. In Proceedings of the KSS’2007: The Eighth International Symposium on Knowledge and Systems Sciences, Ishikawa, Japan, 5–7 November 2007; Japan Advanced Institute of Science and Technology: Ishikawa, Japan, 2007. [Google Scholar]
  42. Pham, T.H.A. Are global shocks leading indicators of currency crisis in Vietnam? Res. Int. Bus. Financ. 2017, 42, 605–615. [Google Scholar] [CrossRef] [Green Version]
  43. Al-Assaf, G. An Early Warning System for Currency Crisis: A Comparative Study for the Case of Jordan and Egypt. Int. J. Econ. Financ. Issues 2017, 7, 43–50. [Google Scholar]
  44. Karimi, M.; Voia, M.C. Empirics of currency crises: A duration analysis approach. Rev. Financ. Econ. 2019, 37, 428–449. [Google Scholar] [CrossRef]
  45. Boonman, T.M.; Urbina, A.E.S. Extreme Bounds Analysis in Early Warning Systems for Currency Crises. Open Econ. Rev. 2020, 31, 431–470. [Google Scholar] [CrossRef]
  46. Berg, B.; Pattillo, C. Predicting currency crises: The indicators approach and an alternative. J. Int. Money Financ. 1999, 18, 561–586. [Google Scholar] [CrossRef]
  47. Steinberg, D.A.; Koesel, K.J.; Thompson, N.W. Political Regimes and Currency Crises. Econ. Politics 2015, 27, 337–361. [Google Scholar] [CrossRef]
  48. Alaminos, D.; Becerra-Vicario, R.; Fernández-Gámez, M.A.; Cisneros-Ruiz, A.J. Currency Crises Prediction using Deep Neural Decision Trees. Appl. Sci. 2019, 9, 5227. [Google Scholar] [CrossRef] [Green Version]
  49. Reinhart, C.; Kaminsky, G.; Lizondo, S. Leading Indicators of Currency Crises; IMF Staff Papers; International Monetary Fund: Washington, DC, USA, 1998; Volume 45, pp. 1–48. [Google Scholar]
  50. Cumperayot, P.; Kouwenberg, R. Early warning systems for currency crises: A multivariate extreme value approach. J. Int. Money Financ. 2013, 36, 151–171. [Google Scholar] [CrossRef]
  51. Bucevska, V. Currency Crises in EU Candidate Countries: An Early Warning System Approach. Panoeconomicus 2015, 62, 493–510. [Google Scholar] [CrossRef]
  52. Núñez de Castro, L.; Von Zuben, F.J. Optimised Training Techniques for Feedforward Neural Networks; Technical Report DCA RT 03/98; Department of Computer Engineering and Industrial Automation, FEEC, UNICAMP: Campinas, Brazil, 1998. [Google Scholar]
  53. Heidari, E.; Sobati, M.A.; Movahedirad, S. Accurate prediction of nanofluid viscosity using a multilayer perceptron artificial neural network (MLP-ANN). Chemom. Intell. Lab. Syst. 2016, 155, 73–85. [Google Scholar] [CrossRef]
  54. Lee, D.; Yeo, H. Real-Time Rear-End Collision-Warning System using a Multilayer Perceptron Neural Network. IEEE Trans. Intell. Transp. Syst. 2016, 17, 3087–3097. [Google Scholar] [CrossRef]
  55. Hearst, M.; Schölkopf, B.; Dumais, S.; Osuna, E.; Platt, J. Trends and controversies–Support vector machines. IEEE Intell. Syst. 1998, 13, 18–28. [Google Scholar] [CrossRef] [Green Version]
  56. Rawal, B.; Agarwal, R. Improving Accuracy of Classification Based on C4.5 Decision Tree Algorithm Using Big Data Analytics. Computational Intelligence in Data Mining. Adv. Intell. Syst. Comput. 2019, 711, 203–211. [Google Scholar]
  57. Kingsford, C.; Salzberg, S.L. What are the decision trees? Nat. Biotechnol. 2008, 26, 1011–1013. [Google Scholar] [CrossRef] [PubMed]
  58. Lee, Y.C.; Chung, P.H.; Shyu, J.Z. Performance evaluation of medical device manufacturers using a hybrid fuzzy MCDM. J. Sci. Ind. Res. 2017, 76, 28–31. [Google Scholar]
  59. Prashanth, K.D.; Parthiban, P.; Dhanalakshmi, R. Evaluation and ranking of criteria affecting the supplier’s performance of a heavy industry by fuzzy AHP method. J. Sci. Ind. Res. 2018, 77, 268–270. [Google Scholar]
  60. Alfaro, E.; García, N.; Gámez, M.; Elizondo, D. Bankruptcy forecasting: An empirical comparison of AdaBoost and neural networks. Decis. Support Syst. 2008, 45, 110–122. [Google Scholar] [CrossRef]
  61. Zhou, L.; Lai, K.K. AdaBoost Models for Corporate Bankruptcy Prediction with Missing Data. Comput. Econ. 2017, 50, 69–94. [Google Scholar] [CrossRef]
  62. Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. arXiv 2016, arXiv:1603.02754. [Google Scholar]
  63. Chang, Y.C.; Chang, K.H.; Wu, G.J. Application of eXtreme gradient boosting trees in the construction of credit risk assessment models for financial institutions. Appl. Soft Comput. 2018, 73, 914–920. [Google Scholar] [CrossRef]
  64. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Green Version]
  65. Ho, T.K. Random decision forests. In Proceedings of the International Conference on Document Analysis and Recognition, Montreal, QC, Canada, 14–16 August 1995; IEEE Computer Society: Los Alamitos, CA, USA, 1995. [Google Scholar]
  66. Raschka, S. Python Machine Learning; Packt Publishing Ltd.: Birmingham, UK, 2015. [Google Scholar]
  67. Hastie, T.; Tibshirani, R.; Friedman, J. Random Forests. In The Elements of Statistical Learning: Data Mining, Inference, and Prediction, 2nd ed.; Springer: New York, NY, USA, 2009; pp. 587–603. [Google Scholar]
  68. Bengio, Y. Learning Deep Architectures for Artificial Intelligence. Found. Trends Mach. Learn. 2009, 2, 1–127. [Google Scholar] [CrossRef]
  69. Yang, Y.; Garcia-Morillo, I.; Hospedales, T.M. Deep Neural Decision Trees. In Proceedings of the 2018 ICML Workshop on Human Interpretability in Machine Learning (WHI 2018), Stockholm, Sweden, 14 July 2018. [Google Scholar]
  70. Dougherty, J.; Kohavi, R.; Sahami, M. Supervised and unsupervised discretization of continuous features. In Machine Learning: Proceedings of the Twelfth International Conference, Tahoe City, CA, USA, 9–12 July 1995; Morgan Kaufmann Publishers: San Francisco, CA, USA, 1995. [Google Scholar]
  71. Jang, E.; Gu, S.; Poole, B. Categorical reparameterization with Gumbel-Softmax. arXiv 2016, arXiv:1611.01144. [Google Scholar]
  72. Delen, D.; Kuzey, C.; Uyar, A. Measuring firm performance using financial ratios: A decision tree approach. Expert Syst. Appl. 2013, 40, 3970–3983. [Google Scholar] [CrossRef]
  73. Efimov, D.; Sulieman, H. Sobol Sensitivity: A Strategy for Feature Selection. In Mathematics across Contemporary Sciences; AUS-ICMS 2015; Springer Proceedings in Mathematics & Statistics; Springer: Cham, Switzerland, 2015; Volume 190. [Google Scholar]
  74. Saltelli, A. Making best use of model evaluations to compute sensitivity indices. Comput. Phys. Commun. 2002, 145, 280–297. [Google Scholar] [CrossRef]
  75. Laeven, L.; Valencia, F. Systemic Banking Crises Revisited; IMF Working Paper, WP/18/206; International Monetary Fund: Washington, DC, USA, 2018. [Google Scholar]
  76. Kaminsky, G.L. Currency and Banking Crises: The Early Warnings of Distress; International Finance Discussion Papers 629; Board of Governors of the Federal Reserve System: Washington, DC, USA, 1998. [Google Scholar]
  77. Rother, B. The Determinants of Currency Crises: A Political-Economy Approach Hardcover; Palgrave Macmillan: London, UK, 2009. [Google Scholar]
  78. Baum, C.F.; Schäfer, D.; Stephan, A. Credit rating agency downgrades and the Eurozone sovereign debt crises. J. Financ. Stab. 2016, 24, 117–131. [Google Scholar] [CrossRef] [Green Version]
  79. Kalapanidas, E.; Avouris, N.; Craciun, M.; Neagu, D. Machine Learning Algorithms: A Study on Noise Sensitivity. In Proceedings of the First Balkan Conference in Informatics, Thessaloniki, Greece, 21–23 November 2003; pp. 356–365. [Google Scholar]
  80. Wang, W.; Lu, Y. Analysis of the Mean Absolute Error (MAE) and the Root Mean Square Error (RMSE) in Assessing Rounding Model. In IOP Conference Series: Materials Science and Engineering, Proceedings of the 5th International Conference on Mechanical Engineering, Materials Science and Civil Engineering, Kuala Lumpur, Malaysia, 15–16 December 2017; IOP Publishing: Bristol, UK, 2017; Volume 324, p. 012049. [Google Scholar]
  81. Di Nardo, M. Developing a Conceptual Framework Model of Industry 4.0 for Industrial Management. Ind. Eng. Manag. Syst. 2020, 19, 551–560. [Google Scholar] [CrossRef]
  82. Alaminos, D.; León-Gómez, A.; Fernández-Gámez, M.A.; Ferreira, T.S. Next Reaction Method for Solving Dynamic Macroeconomic Models: A Growth Regressions Simulation. J. Sci. Ind. Res. 2020, 79, 277–280. [Google Scholar]
  83. Di Nardo, M.; Madonna, M.; Murino, T.; Castagna, F. Modelling a Safety Management System Using System Dynamics at the Bhopal Incident. Appl. Sci. 2020, 10, 903. [Google Scholar] [CrossRef] [Green Version]
  84. Di Nardo, M.; Gallo, M.; Murino, T.; Santillo, L.C. System Dynamics Simulation for Fire and Explosion Risk Analysis in Home Environment. Int. Rev. Model. Simul. 2017, 10, 43–54. [Google Scholar] [CrossRef]
Figure 1. RMSE values for sovereign debt crises prediction models. Note: training (blue); validation (orange); testing (yellow).
Figure 1. RMSE values for sovereign debt crises prediction models. Note: training (blue); validation (orange); testing (yellow).
Symmetry 13 00652 g001
Figure 2. RMSE values for currency crises prediction models. Note: training (blue); validation (orange); testing (yellow).
Figure 2. RMSE values for currency crises prediction models. Note: training (blue); validation (orange); testing (yellow).
Symmetry 13 00652 g002
Table 1. Definition of the independent variables for the sovereign debt crises.
Table 1. Definition of the independent variables for the sovereign debt crises.
AttributeAbbreviationDescriptionExp. Sign.
Exposure to debtTDEBGross external debt as% of GDP+
IMFCLoans from the IMF as% of GDP+
GINTGlobal LIR+
Foreign SectorFXRTotal reserves (excluding gold) as% of GDP
TRORatio of exports plus imports to GDP+/−
EXPGAnnual export growth ratio
CACCBalance of payments account as% of GDP
FDIForeign direct investment flows as% of GDP
Domestic Macroeconomic FactorsRGDPAnnual growth of real GDP
INFRate of change in the consumer price index+
M2RMoney supply ratio (M2) divided by reserves+
REERDeviation of the ratio of the real effective exchange rate of the currency (moving average of the last 5 years)
GOVSFinal central government spending as% of GDP+/−
NSAVTotal savings as% of GDP
CONSovereign debt crisis event in a country in the same region (t − 1)+
Banking SectorDCREDomestic credit ratio as% of GDP+/−
BASSRatio of bank assets as% of GDP
GBLNet bank claims on the central government+
Credit Rating IndicatorsSCLRLocal currency long-term government bond credit quality scale+/−
SCFRScale of the credit quality of the long-term government bond in foreign currency+/−
SBSRatio of interest paid on 10-year public debt bond+
CDSPrice of public debt bond default insurance+
Political FactorsFRAGPolitical fragmentation score (regional/ethnic tensions)+
POLICombined politics score (autocracy score minus democracy score)+/−
DURDurability of the political regime (‘POLI’ control variable)+
PERSNumber of years since the last radical and abrupt political change. (‘POLI’ control variable)+
RIRScore of the magnitude of civil war episodes involving the country (by year)+
SFIState fragility index+
EFEEEffectiveness of economic policy measured by GDP per capita
Table 2. Definition of the independent variables for the currency crises.
Table 2. Definition of the independent variables for the currency crises.
AttributeAbbreviationDescriptionExp. Sign.
Exposure to debtTDEBGross external debt as % of GDP Short-term gross external debt as% of GDP Credit interest rate adjusted for inflation+
STDGross external debt as % of GDP Short-term gross external debt as% of GDP Credit interest rate adjusted for inflation+
RIRGross external debt as % of GDP Short-term gross external debt as% of GDP Credit interest rate adjusted for inflation+
Foreign SectorFXRTotal reserves (excluding gold) as % of GDP
TRORatio of exports plus imports to GDP+/−
IMPImports of goods and services in current dollars (USD)+/−
EXPExports of goods and services in current dollars (USD)
CACCBalance of payments account as % of GDP
PINVNet portfolio investment in current dollars (USD)
FDIForeign direct investment flows as % of GDP
Domestic Macroeconomic Factors RGDPAnnual real GDP in current dollars (USD)
GDPGAnnual growth of real GDP
INFRate of change in the consumer price index+
M2MAnnual growth of money supply (M2)+
M2RMoney supply ratio (M2) divided by reserves+
REERDeviation of the ratio of the real effective exchange rate of the currency (moving average of the last five years)
GOVSFinal central government spending as % of GDP+/−
FCFGross fixed capital formation in current dollars (USD)
UNETotal unemployment as % of the total labor force+
CONSovereign debt crisis event in a country in the same region (with a delay of one year)+
SPEGExchange rate regime applied to a currency to keep its value stable against a reserve currency.+
PEGExchange rate regime in which the value of a currency is set against the value of another country’s currency.+
Banking SectorDCREDomestic credit ratio as % of GDP+/−
LIRBank rate that meets the financing needs in the short and medium term
DIRRate paid by banks for demand, time, or savings deposits
Political FactorsPOLICombined politics score (autocracy score minus democracy score)
DURDurability of the political regime expressed in years (‘POLI’ control variable)+
PERSNumber of years elapsed since the last radical and abrupt political change (control variable for ‘POLI’)+
SFIState frailty index (The higher the score, the greater the risk of frailty)+
LGOVBinary variable denoted by 1 if the government has a left ideology, and 0 otherwise+
ELECBinary variable denoted by 1 if it is the year of general elections, and 0 otherwise+
TURNAnnual rotation of political agents with veto (1—year in which there has been a change of government; 0—otherwise)+
YEARYears in office as president of the national government+
EFEEEffectiveness of economic policy measured by GDP per capita
Table 3. Sensitivity analysis of sovereign debt crises.
Table 3. Sensitivity analysis of sovereign debt crises.
MLPSVMFDTAdaBoostXGBoostRFDBNDNDT
VariablesSensitivityVariablesSensitivityVariablesSensitivityVariablesSensitivityVariablesSensitivityVariablesSensitivityVariablesSensitivityVariablesSensitivity
GlobalSBS0.624SBS0.482TRO0.875TRO0.915TRO0.767TRO0.927TRO0.712TRO0.755
TRO0.619FXR0.428FXR0.752SCFR0.651FXR0.724INF0.452FXR0.561FXR0.727
FXR0.482INF0.415SCFR0.452SBS0.562SFI0.406SFI0.451SFI0.325SFI0.652
SFI0.375TRO0.345INF0.375FXR0.519SCFR0.319SCFR0.282 SCFR0.321
GINT0.304 SFI0.375
Africa & Middle EastIMFC1.294IMFC1.601IMFC1.370IMFC0.916IMFC1.039IMFC1.023IMFC1.261IMFC1.069
POLI0.621TDEB0.612TDEB0.493SCFR0.634GOVS0.526TDEB0.521POLI0.542TDEB0.653
SCFR0.458POLI0.452GOVS0.452TDEB0.451TDEB0.427M2R0.378GOVS0.346M2R0.631
M2R0.325POLI0.452GOVS0.175SCFR0.237SBS0.325M2R0.315POLI0.329
GDPG0.321SCFR0.355 POLI0.194GOVS0.315SCFR0.301
GOVS0.305 GDPG0.312
AsiaCACC1.350CACC1.342CACC1.157CACC0.897CACC1.309CACC1.215CACC0.945CACC1.051
POLI0.615GDPG0.621REER0.626TDEB0.436REER0.571SCLR0.623TDEB0.621REER0.548
SCLR0.521M2R0.385NSAV0.502NSAV0.421TDEB0.425POLI0.525IMFC0.324NSAV0.451
NSAV0.502POLI0.317TDEB0.428GINT0.325FXR0.381REER0.519POLI0.317SCLR0.329
REER0.493 POLI0.317 NSAV0.359FXR0.417 POLI0.308
GDPG0.345TDEB0.314
GDPG0.312
Latin AmericaTRO1.682GOVS0.910TRO1.145TRO1.206TRO1.243TRO1.324TRO0.910TRO1.231
SFI0.956TDEB0.653SFI0.625SFI0.625SCLR0.652GOVS0.563IMFC0.675SCLR0.634
SCLR0.679IMFC0.611SCLR0.452IMFC0.362GOVS0.423SCLR0.458SCLR0.452IMFC0.564
IMFC0.454TRO0.563IMFC0.427GOVS0.324INF0.321GINT0.328SFI0.346SFI0.415
REER0.428INF0.510REER0.329 SFI0.315SBS0.324GINT0.357
SBS0.421SFI0.462GINT0.317 GINT0.314
SCLR0.452
REER0.323
FXR0.322
EuropeTDEB1.428TDEB1.351TDEB1.351TDEB1.452TDEB1.046M2R1.014M2R0.988TDEB1.152
M2R1.145M2R1.05M2R1.145M2R1.231M2R1.023TDEB0.965TDEB0.872M2R1.061
GOVS0.851GINT0.452GOVS0.325GINT0.514GOVS0.627GDPG0.621GINT0.329GOVS0.324
EFEE0.462EFEE0.344 CACC0.347CDS0.325GOVS0.384GOVS0.314CACC0.314
CACC0.321 CDS0.322GINT0.316CDS0.312
GOVS0.307 EFEE0.261
Note: Variables with a significance coefficient greater than 0.4 have been chosen.
Table 4. Accuracy analysis for sovereign debt crises.
Table 4. Accuracy analysis for sovereign debt crises.
MethodClassificationGlobalAfrica and Middle EastAsiaLatin AmericaEurope
MLPTraining88.8890.2888.7087.3588.82
Validation87.9689.0486.0486.3986.76
Testing87.6788.6785.4487.6586.36
SVMTraining91.0992.8091.3090.0691.12
Validation89.4190.9888.4189.7290.67
Testing88.6290.0288.0188.4289.45
FDTTraining98.95100.00100.0099.22100.00
Validation98.13100.0098.5299.0399.91
Testing97.80100.0096.8298.9599.76
AdaBoostTraining98.4897.3099.4998.7499.49
Validation97.6399.3496.5498.3399.75
Testing96.0898.4095.9797.1399.45
XGBoostTraining97.3896.7197.8497.3399.29
Validation96.6596.1296.0297.8199.65
Testing94.4295.2695.4395.4498.19
RFTraining95.4697.9597.2594.8898.92
Validation94.6896.2595.8996.2897.80
Testing92.4995.4094.9893.8395.50
DBNTraining95.3095.2796.8394.1098.46
Validation93.1794.6994.2095.0696.46
Testing91.7193.7093.9593.7694.02
DNDTTraining96.2997.1397.8194.1299.36
Validation94.7996.2296.4495.7098.94
Testing93.4395.3095.2094.2397.58
Note: Values expressed in percentage.
Table 5. Sensitivity analysis of currency crises.
Table 5. Sensitivity analysis of currency crises.
MLPSVMFDTAdaBoostXGBoostRFDBNDNDT
VariablesSensitivityVariablesSensitivityVariablesSensitivityVariablesSensitivityVariablesSensitivityVariablesSensitivityVariablesSensitivityVariablesSensitivity
GlobalM2M1.315TRO1.314TDEB0.872M2M1.248M2R1.627M2M1.248M2M1.307M2M1.248
POLI0.632M2R0.981M2M0.865M2R1.172M2M0.827RGDP0.624M2R1.152M2R1.172
FCF0.553FCF0.814M2R0.691TRO0.834TRO0.725REER0.524TRO0.928TRO0.834
M2R0.523TDEB0.720REER0.482CACC0.624FDI0.608TDEB0.501TDEB0.563CACC0.624
TDEB0.497FDI0.689FDI0.387REER0.597TDEB0.472TRO0.442CACC0.528REER0.597
CACC0.437POLI0.445POLI0.382POLI0.382REER0.425POLI0.331GOVS0.520TDEB0.439
TRO0.435GOVS0.421PINV0.335FDI0.375POLI0.422FDI0.324REER0.517POLI0.382
REER0.321CACC0.418DCRE0.317TDEB0.318 FCF0.341FDI0.375
Africa and Middle EastFDI1.237PINV1.428FDI1.342FDI1.304FDI1.12M2R1.542FDI1.248M2M1.732
M2M1.226FDI1.121FCF0.837FCF1.283TRI0.953M2M1.173M2M1.228FDI1.178
REER0.985TRO0.925PINV0.628M2M0.728DCRE0.871FDI0.924M2R0.824FCF0.785
FCF0.742M2M0.825M2R0.62TRO0.685FCF0.843FCF0.824DCRE0.708TRO0.748
M2R0.653GOVS0.756TRO0.582CACC0.572PINV0.781CACC0.651TRO0.694DCRE0.627
POLI0.653FCF0.647POLI0.573GOVS0.561M2M0.527TRO0.546PINV0.675M2R0.62
CACC0.652DCRE0.357GOVS0.561POLI0.452REER0.473GDPG0.379CACC0.639PINV0.531
SFI0.582POLI0.349SFI0.525M2R0.34POLI0.375 FCF0.624POLI0.493
DCRE0.538 CACC0.391 SFI0.304 POLI0.315CACC0.483
PINV0.368
AsiaCACC1.652PINV1.562M2R1.582TRO1.351TRO1.067TRO0.952CACC1.275TRO1.351
TRO1.223TRO1.132TRO1.214CACC1.181DCRE0.705REER0.951TRO1.274CACC1.181
M2R0.562FXR0.924EXP1.159EXP0.657EXP0.621FCF0.572REER0.854EXP0.657
RIR0.523FDI0.896CACC0.859FXR0.634FDI0.571PINV0.412FXR0.634FXR0.634
TDEB0.452POLI0.651FCF0.625REER0.349M2R0.481RGDP0.354EXP0.512REER0.349
EXP0.377CACC0.563DCRE0.527 CACC0.437TDEB0.198
FCF0.327EXP0.547REER0.349 RIR0.309POLI0.185
POLI0.324GDPG0.524RGDP0.345
Latin AmericaTRO1.314GDPG1.505TRO1.528TRO1.253TRO1.342TRO1.321TRO1.164TRO1.253
RGDP1.256TRO1.285TDEB0.899RGDP1.173RGDP1.206GOVS0.851RGDP1.132RGDP1.173
FCF0.788M2M0.895GDPG0.649FCF0.593FCF0.972TDEB0.715TDEB0.627TDEB0.726
TDEB0.687DCRE0.852M2M0.618TDEB0.435DCRE0.628FCF0.627FCF0.505FCF0.593
FDI0.649FCF0.683POLI0.524IMP0.415TDEB0.582FDI0.582DCRE0.425IMP0.415
DCRE0.427TDEB0.652DCRE0.521RIR0.317FDI0.418POLI0.537 DCRE0.301
POLI0.354FDI0.649FDI0.415DCRE0.301REER0.391EXP0.324
EuropeDCRE1.528FCF1.528RGDP1.162DCRE1.518M2M1.62M2M1.494M2M1.529DCRE1.518
M2M1.234M2M1.293M2M0.925M2M1.494DCRE1.372RGDP0.952DCRE1.152M2M1.494
FCF1.176DCRE1.184DCRE0.693FCF0.843TDEB0.983TDEB0.925FCF0.581FCF0.843
PINV0.965STD0.765STD0.641TDEB0.648FCF0.843DCRE0.527TDEB0.421TDEB0.586
TDEB0.326TDEB0.652PINV0.581STD0.415PINV0.721EXP0.517
EXP0.315PINV0.541GOVS0.521 STD0.473FCF0.355
SFI0.437TDEB0.458 GDPG0.318
Note: Variables with a significance coefficient greater than 0.4 have been chosen.
Table 6. Accuracy analysis for currency crises.
Table 6. Accuracy analysis for currency crises.
MethodClassificationGlobalAfrica & Middle EastAsiaLatin AmericaEurope
MLPTraining94.8494.4495.0694.1295.43
Validation94.2793.9194.5293.3795.10
Testing93.7693.6294.1392.8594.46
SVMTraining93.3393.3893.4793.0493.81
Validation92.6592.5793.0292.6893.22
Testing91.8392.1892.6191.9592.93
FDTTraining96.5295.9095.1894.6295.56
Validation96.1495.0893.7393.2093.87
Testing95.7994.5993.0392.7293.06
AdaBoostTraining95.9595.2596.1795.0896.86
Validation95.3494.5795.6494.2196.42
Testing94.2894.1195.1993.3695.73
XGBoostTraining98.3696.8196.4598.2697.78
Validation97.8798.8795.5296.1996.23
Testing97.2595.4195.3495.7196.33
RFTraining96.4898.8398.3898.0198.88
Validation94.7997.7997.0797.1297.58
Testing94.0196.5296.1795.9397.01
DBNTraining96.6398.9799.4298.2799.70
Validation95.8097.5297.4297.6198.90
Testing94.5796.7996.4596.1798.13
DNDT Training99.1699.1799.6898.42100.00
Validation98.8798.8599.0397.7999.61
Testing98.4398.2498.5496.9099.07
Note: Values expressed in percentage.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Alaminos, D.; Peláez, J.I.; Salas, M.B.; Fernández-Gámez, M.A. Sovereign Debt and Currency Crises Prediction Models Using Machine Learning Techniques. Symmetry 2021, 13, 652. https://doi.org/10.3390/sym13040652

AMA Style

Alaminos D, Peláez JI, Salas MB, Fernández-Gámez MA. Sovereign Debt and Currency Crises Prediction Models Using Machine Learning Techniques. Symmetry. 2021; 13(4):652. https://doi.org/10.3390/sym13040652

Chicago/Turabian Style

Alaminos, David, José Ignacio Peláez, M. Belén Salas, and Manuel A. Fernández-Gámez. 2021. "Sovereign Debt and Currency Crises Prediction Models Using Machine Learning Techniques" Symmetry 13, no. 4: 652. https://doi.org/10.3390/sym13040652

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop