Next Article in Journal
Steady-State Performance of an Adaptive Combined MISO Filter Using the Multichannel Affine Projection Algorithm
Next Article in Special Issue
Special Issue on Algorithms in Computational Finance
Previous Article in Journal
Parallel Reservoir Simulation with OpenACC and Domain Decomposition
Previous Article in Special Issue
Classification of Normal and Abnormal Regimes in Financial Markets
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Effects of Geopolitical Uncertainty in Forecasting Financial Markets: A Machine Learning Approach

by
Vasilios Plakandaras
,
Periklis Gogas
* and
Theophilos Papadimitriou
Department of Economics, Democritus University of Thrace, 69100 Komotini, Greece
*
Author to whom correspondence should be addressed.
Algorithms 2019, 12(1), 1; https://doi.org/10.3390/a12010001
Submission received: 16 November 2018 / Revised: 8 December 2018 / Accepted: 17 December 2018 / Published: 20 December 2018
(This article belongs to the Special Issue Algorithms in Computational Finance)

Abstract

:
An important ingredient in economic policy planning both in the public or the private sector is risk management. In economics and finance, risk manifests through many forms and it is subject to the sector that it entails (financial, fiscal, international, etc.). An under-investigated form is the risk stemming from geopolitical events, such as wars, political tensions, and conflicts. In contrast, the effects of terrorist acts have been thoroughly examined in the relevant literature. In this paper, we examine the potential ability of geopolitical risk of 14 emerging countries to forecast several assets: oil prices, exchange rates, national stock indices, and the price of gold. In doing so, we build forecasting models that are based on machine learning techniques and evaluate the associated out-of-sample forecasting error in various horizons from one to twenty-four months ahead. Our empirical findings suggest that geopolitical events in emerging countries are of little importance to the global economy, since their effect on the assets examined is mainly transitory and only of regional importance. In contrast, gold prices seem to be affected by fluctuation in geopolitical risk. This finding may be justified by the nature of investments in gold, in that they are typically used by economic agents to hedge risk.

1. Introduction

The notion of risk is central to financial economics. Risk manifests in various forms; credit and default risk in taking lending and investing positions, exchange rate risk in the foreign exchange market, market risk, liquidity risk, and many other forms. Regardless of the vast literature in the field, the relationship between geopolitical risk and financial markets is examined sparsely. The recent literature points out that markets and the economy in general often reverberate major political changes that act as exogenous shocks. The geopolitical risk was typically considered as the effect of terrorist attacks on the economy, and as such its occurrence is rare and hard to foresee and capture empirically. Nevertheless, during the last years, the notion of the geopolitical risk became more general, including additional facets of geopolitical events. Carney in [1] builds the “uncertainty trinity” theory, which includes geopolitical, economic, and policy uncertainty as indicators of adverse economic effects. More recently, the European Central Bank in [2] and the International Monetary Fund in [3] highlight geopolitical uncertainties as a salient risk to economic outlook.
The typical approach in studying the relationship between geopolitical risk and the economy is to quantify the effect of terrorist attacks or conflicts on oil prices. The relation between political instability and economic growth is first explored in [4]. Asteriou and Siriopoulos in [5] extend the study framework using time-series; while Kollias et al. in [6] investigate the cross-market transmission of the London Stock Exchange’s reaction to the terrorist attacks of 2005. Unlike previous studies that mostly rely on daily data to assess the impact of terrorist events on financial markets as well as their contagion effect, they are using high frequency intraday data, and indicate that the volatility of stock market returns is increased in all three cases, namely London, Paris, and Frankfurt stock exchanges”.
Focusing on the oil market, Bloomberg et al. in [7] examine a panel dataset of the top twenty oil exporting countries in the world (and members of the OPEC) spanning the period 1968–2005. Using various databases that record terrorism attacks and incidences of violence, the authors conclude that the effect of terrorist attacks after 1973 have a small impact on oil prices due to the diminishing cartel behaviour of the OPEC and the fact that conflicts and terrorist attacks are often only of peripheral or local character. Antonakakis et al. in [8] quantify the effect of geopolitical tensions and conflicts on an extended sample of West Texas Intermediate (WTI) crude oil prices and S&P 500 stock index returns, spanning the period 1899–2016. Based on a multivariate VAR-BEKK-GARCH model, they find that oil returns are more prone to geopolitical tensions than stock markets. Kollias et al. in [9] study the impact of international security shocks (such as wars and terrorist acts) on the volatility fluctuations of the daily Brent crude oil prices and the European stock returns for the period 08 August 1989 to 18 June 2008. Their empirical findings, based on a BEKK-GARCH model, suggest that investors tend to overreact to acts of terrorism and war, increasing oil prices and market volatility.
An alternative approach to the oil channel of “uncertainty diffusion” to the economy is to study the effect of armed conflicts and terrorist attacks to the stock market. Motivated by the investor sentiment literature, Drakos [10] explores the impact of terrorist attacks on daily stock market returns for a sample of 22 countries. Based on Capital Asset Pricing Models (CAPM) that allow for autoregressive conditional heteroscedasticity, he finds that terrorist activity leads to significantly lower returns on the day of terrorist attack occurrence, but this effect has no permanent effect. Kollias et al. in [11] examine the impact of terrorist attacks over the period of 36 years on the London and the Athens stock market; two markets of different capitalization and maturity. The empirical findings suggest that there exist no clear and unequivocal picture or pattern over time in terms of abnormal returns in either market. In line with other studies, the effects in both markets generally appear to be transitory with no significant permanent changes. Focusing specifically on the 11 September 2001 terrorist attack and its impact on 53 stock markets, Nikinnen et al. in [12] conclude that in the aftermath of the attacks all stocks exhibit increased volatility and negative returns, but recovered quickly afterwards.
In a different perspective, Gupta et al. in [13] evaluate whether terrorist attacks forecast gold returns. Using a quantile-predictive-regression (QPR) approach, they find that terrorist attacks have predictive value for the lower and especially for the upper quantiles of the conditional distribution of gold returns. Thus, their empirical results suggest that terrorist attacks are an indicator of abnormal returns but no overall causal linkage that describes the entire distribution can be established. The empirical evidence of a permanent effect of geopolitical risk to exchange rates is also scarce. The International Monetary Fund in [14] states that the terrorist attacks of September 11, 2001 in the United States, had a substantial albeit short-lived negative effect on exchange-rate expectations. Balcilar et al. in [15] reach to a similar conclusion for the U.K. pound/U.S. dollar exchange rate, using a QPR approach. Filippou et al. in [16] find that the profitability of a portfolio, including various currencies stems from the different exposure of each currency to the U.S. dollar. In a similar context, Suleman in [17] argues that political risk exerts a statistically significant negative effect on a floating exchange rate, while in [18] the authors claim that the exchange rate markets react only to conflicts and terrorist acts and not to political news of stability and peace. Nevertheless, the reported response is statistically not significant, suggesting that the markets are efficient and that the exchange rate cannot be forecasted based on political events.
In this paper, we attempt to forecast a set of financial assets with the geopolitical risk acting as a leading indicator, introducing several innovations. Instead of following the typical approach in the literature, which introduces terrorist attacks and conflicts as a dummy variable to the models, we consider the geopolitical risk indicator of Caldara and Iacovello proposed in [19]. This index, apart from being a continuous variable with the obvious advantages in econometric modelling over discrete (dummy) variables, captures a much broader notion of geopolitical risk (GPR). They construct monthly indices of GPR for each country by counting the occurrence of words related to geopolitical tensions in leading international newspapers. The selection of the specific GPR index is motivated by the interesting features that it introduces in comparison with other indices. For instance, several studies measure geopolitical risk based on an index published by a national agency, such as the European Policy Uncertainty Index (EPU) proposed by the European Central Bank (ECB). Nevertheless, this index uses a wide-ranging definition of risk that includes very diverse events, ranging from wars and major economic crises to climate change. In contrast, the GPR index of Caldara and Iacovello focuses specifically on political risk. Moreover, a significant number of researchers exploit market-based indices, such as the VIX, but the construction of a market-based index is based on proprietary data making it hard to replicate (for more details see Davis in [20]). Moreover, in our paper we depart from developed economies, and search for the effect of the GPR index on 14 developing economies. The decision to investigate exclusively developing economies stems from the fact that despite their rapid growth over the past 20 years and that they account for the majority of the global population, they are only sparsely examined in the literature. In fact, developing countries are expected to account for more than 40% of the global stock market capitalization by 2030, with China overtaking the United States in equity market capitalization as postulated in [21]. Moreover, these countries are among the largest world exporters of commodities that include coal, chrome, gold, and iron.
The innovation is also methodological, as this is the first attempt to use machine learning methodologies in studying the GPR effect on economic variables. The machine learning applications have attracted significant attention to economics and finance, not only because of their lack of initial assumptions, such as stationarity and normality, which are used in typical econometric approaches, but also due to their comparatively superior forecasting performance as suggested in [22]. Moreover, most of the studies mentioned above relate GPR with movements in the oil markets based on in-sample analysis. However, as Campbell points out in [23] that the ultimate test of any predictive model is its out-of-sample forecasting performance. Extending the existing literature and considering the absence of analysis based on out-of-sample forecasts, in this paper, we analyze the ability of GPR index in out-of-sample forecasting of oil prices, exchange rates, gold prices, and stock indices with our focus on the emerging economies.

2. Methodology and Data

2.1. Support Vector Regression

The Support Vector Regression (SVR) stems from the research field of machine learning and it is a direct extension of the Support Vector Machine algorithm. The ability of the SVR in better describing nonlinear and nonstationary phenomena than other econometric techniques has gained the interest of many researchers in economics and finance ( for more details see [24,25,26,27]). The technique was proposed by Cortes and Vapnik in [28] and it attempts to describe actual data observations based on a function where the errors terms do not play any role and are not taken into account as long as they do not violate a predefined threshold ε; only errors higher than ε are penalized. The observations that specify the “error tolerance band” given ε are called Support Vectors (SV) and are located through a minimization procedure.
Unlike other machine learning approaches, the SVR is based on a convex minimization problem with a unique global minimum, avoiding local minima. In order to train the model, we use a large part of the available dataset to pinpoint the SVs, while the remaining observations are utilized to test the generalization ability of the model. A typical approach in avoiding overfit of the model is to use cross-validation training techniques.
For a training dataset D = [ ( x 1 , y 1 ) , ( x 2 , y 2 ) , . ( x n , y n ) ] , x i R m , y i R , i = 1 , 2 , . n , where x i is a vector of independent variables and y i is the dependent variable, the linear regression function takes the form of   y = f ( x ) = w T x + b (where T denotes the transpose). This is achieved by solving:
min ( 1 2 w 2 + C ι = 1 n ( ζ i + ζ i * ) )
subject   to { y i ( w T x i + b ) ε + ζ i ( w T x i + b ) y i ε + ζ i * ζ i ,   ζ i * 0
where ε defines the width of the tolerance band, and ζ i , ζ i *   are slack (penalty) variables controlled through a penalty parameter C (see Figure 1). Points inside the tolerance band are not penalized. System (1) describes a convex quadratic optimization problem with linear constraints, where the first part controls the generalization ability of the regression, through the Euclidean norm w . The second part of the objective function controls the fit of the regression to the training data. When the parameter C is increased, we apply a “heavier” penalty on any point outside the error tolerance band i.e., with ζ i 0 or ζ i * 0 . The optimum model in the one that finds the balance between the two parts of the objective function.
Using the Lagrange multipliers in System (1), the solution is given by:
w = i = 1 n ( a i a i * ) x i
and   y = i = 1 n ( a i a i * ) x i T x
with the coefficient α i , a i * = 0 for all non-SVs observations. Nevertheless, most real-life phenomena are nonlinear and they cannot be adequately described using linear models. Given that the SVR is a linear model that finds a linear tolerance band, we extend it by coupling it with kernel functions. The notion of a kernel function is to project the initial dataset into a “richer” dimensional space, where we can find a linear solution, and then return to the initial dimensional space. The so-called “kernel trick” ensures small computational effort, since the projection is achieved using inner products instead of mapping each data point explicitly. The use of a nonlinear kernel function transforms our SVR model into a nonlinear one. In the empirical part of this paper we use the linear and the nonlinear radial basis function (RBF) kernel. The mathematical representation of the two kernels is:
Linear      K 1 ( x 1 , x 2 ) = x 1 T x 2
RBF      K 2 ( x 1 , x 2 ) = e γ x 1 x 2 2
with γ representing a kernel parameter.

2.2. The Data

To measure geopolitical risk, we compile a dataset of monthly GPR indices for 14 developing countries (Turkey, Mexico, Korea, Russia, India, Brazil, China, Indonesia, Saudi Arabia, Argentina, Thailand, Israel, Malaysia, Philippines) from Caldara and Iacovello as proposed in [19] and we also use data on West Texas Intermediate crude oil prices, gold prices, and exchange rates for the selected national currencies against the U.S. dollar. All variables are from the database of the Federal Reserve Bank of St. Louis (FRED). We also compile stock index prices from Yahoo! Finance for the selected economies, in order to study the relationship between GPR and the financial market. The GPR data spans the period January 1985–May 2018 and it is adjusted according to the availability of the rest of the variables for each country. All of the values are transformed into their logarithmic forms. The descriptive statistics for all variables are reported in Table 1.
As we observe, all variables are negatively skewed, suggesting that the mass of the distribution is gathered at the left end of the distribution, exhibiting frequent values that are lower than the mean. The kurtosis of the exchange rates is mainly below 3, indicating platykurtic distributions, while for Mexico, Saudi Arabia, Israel, and Philippines, we observe high values that suggest leptokurtic distributions. The same applies for the stock indices of Brazil, China, and Argentina. The leptokurtic distributions imply the existence of extreme values.

3. Empirical Results

In order to study the ability of the GPR index in forecasting a pool of selected variables, we train OLS (We use first differences in all estimations and Newey-West Robust Standard Errors) and SVR regression models in rolling windows. In each step we use 120 observations for training our models. Based on the trained model, we evaluate the forecasting ability in 1, 3, 6, 12, and 24 months ahead forecasting. Afterwards, we slide our training window one observation forward removing the first observation of the previous window as to maintain our training sample at 120 observations and retrain the model. We do so until the end of our sample. After collecting all out-of-sample forecasts, we measure the Mean Absolute Percentage Error (MAPE). All of the models include the first lag of the dependent variable (We also trained models of higher lag order, but the results were quantitatively similar). In the following tables we report the MAPE for the OLS model, the most accurate kernel for the SVR model (All results are available from the authors upon request.) and the MAPE of the Random Walk (RW) model (where we assume that the best forecast is the present value).

3.1. Oil prices

We start our forecasting exercise in evaluating the ability of the GPR index in forecasting oil prices (Table 2). Given that the dependent variable for all models is the WTI oil prices, we consider the country specific GPR index of each economy and the first lag of the WTI dependent variable as regressors. As we observe, the OLS and the SVR models exhibit similar forecasting performance and they both fail to outperform the RW model. Their performance is worse in the longer than the shorter horizons in MAPE terms. In these cases, the markets appear efficient, since we cannot outperform the RW model. Thus, trying to forecast these time series is impossible and any comparison between the two forecasting models is redundant. Thus, the GPR index has limited ability in foreseeing future oil price fluctuations, since it fails to outperform a simple guess about the future value of oil prices. This finding is interesting, especially for oil exporting countries such as Saudi Arabia, where we would expect that conflicts and terrorist acts that affect oil inventories would influence oil prices. Thus, unlike [19], who argue that their GPR index adheres to oil price fluctuations closely, our out-of-sample forecasting exercise reveals that the “true” forecasting ability of the emerging economies’ index is limited, regardless of the economy under examination, oil producing or not. This finding could be attributed to the way that the index is constructed, since most articles in leading global newspapers have limited coverage of peripheral incidents and especially for emerging economies.
To visualise the forecasts of our models, in Figure 2 we depict the actual and the forecasted oil prices for Saudi Arabia in the one-month ahead and in Figure 3 in the 12-months ahead forecasting windows respectively, for the period Jan-2017 to May-2018. The selection of the Saudi Arabia over the other emerging economies is motivated by the fact that oil is the main exporting commodity of this economy. We graph only the 17 last forecasts so that the figures are readable.
As expected, in the shorter one-month horizon, both models adhere closely to the actual oil prices, while in the longer 12-month forecasts they fail to capture the “true” data generating mechanism. This fact could be justified by the larger uncertainty in forecasting oil prices in longer horizons, given that the macroeconomic conditions and especially the demand for oil that significantly affects its price is volatile in longer forecasting horizons.

3.2. Exchange Rates

Next, we evaluate the ability of the GPR index in forecasting exchange rates. The dependent variable in each model for each country is the exchange rate of the national currency against the U.S. dollar, while the independent variables are the lagged exchange rate and the country specific GPR index of the developing economy under examination. The forecasting accuracies in terms of the MAPE are reported in Table 3. As with the oil prices, no model consistently outperforms the RW model, except for Saudi Arabia in all forecasting horizons and Philippines in the three and six-month ahead forecasting window, where both the OLS and the SVR model outperform the RW. In the case of Saudi Arabia, the OLS and the SVR model exhibit similar performance, while in the Philippine peso, the OLS model has lower forecasting error than the SVR one. Nevertheless, the forecasting performance in the case of the Philippine peso is episodical, since it disappears in all other forecasting horizons.
Our findings suggest that the GPR index of the emerging countries has a limited predictive power on exchange rates. As we discuss in the introductory section, the effect of a terrorist attack or a conflict on the exchange rates is transitory and probably not obvious on our monthly dataset. As an example, in Figure 4 and Figure 5, we depict the actual and the forecasted exchange rates for Mexico in one-month and 12-months ahead forecasting windows, respectively.
As we observe, both models produce similar forecasts, which are consistently diverging from the actual exchange rate values, especially in the longest 12-month forecasting horizon. The fact that the GPR indices of emerging countries do not adhere to the data generating process of exchange rates might be attributed to the small potential impact of peripheral geopolitical tensions to the exchange rate markets, as stated in [7].

3.3. Stock Indices

In Table 4, we report the forecasting performance of our forecasting models in forecasting the national stock index of each developing economy, using the GPR index and the lagged value of the stock index as regressors. This empirical setting of employing machine learning and the specific GPR index in forecasting the stock markets of developing economies has not been used before in the relevant literature.
In all countries and horizons, neither the OLS nor the SVR outperform the RW model, except for the SVR model for Mexico, Argentina, and Malaysia in the one-month forecasting horizon. The efficacy of the GPR index in forecasting the national stock index is rather limited, given the transitory nature of geopolitical shocks on stock prices that cannot be detected in our monthly dataset. In Figure 6 and Figure 7, we depict the actual and the forecasted values of the Shanghai Composite index for the one-month and the 12-months ahead forecasting, which represents the index with the largest capitalization among the emerging economies in our sample. As expected, the deviations of the models’ forecasts that form the actual data are larger on the yearly than the monthly forecasting horizon.

3.4. Gold Prices

Finally, we evaluate the ability of the GPR index in forecasting gold prices. Although gold is a commodity, its use as a “safe-heaven” investment during periods of economic and political turmoil renders the examination of gold prices based on geopolitical risk parameters very interesting. Τhe dependent variable in all models is the price of gold, with explanatory variables being the lagged price of gold, and the respective GPR index of the developing country under examination. In Table 5, we report the forecasting performance of our forecasting models in forecasting the gold prices, using the GPR index and the lagged value of gold prices as regressors.
As we observe, both models outperform the RW model for most countries and in most forecasting horizons up to 12 months. More specifically, in the one-month forecasting horizon, both models outperform the RW model in the case of Turkey, Korea, Russia, India, Brazil, China, Indonesia, Saudi Arabia, and Argentina. In eight out of these nine countries, the OLS model is more accurate than the SVR. In the three-month forecasting horizon, the list of the nine countries is expanded to 11 countries, adding Israel and Philippines. In nine out of these 11 countries, the OLS model is more accurate that the SVR one. In the six-month forecasting horizon, all models—except those for Malaysia—outperform the RW model, where again in nine out of the 13 countries, the OLS model is the most accurate, while in the 12-month horizon we revert to the initial list of countries of the one-month forecasting horizon. In the longer 24-month forecasting horizon, the ability of all models to outperform the RW model is completely lost. This finding suggests that the GPR indices can forecast gold prices with consistency based on the GPR index of most countries for up to 12 months ahead, while we do not find evidence in favor of using the SVR over the OLS model for one-month up to 12-months ahead forecasting. In Figure 8 and Figure 9, we depict the gold price forecasts on one- and 12-months ahead for China. The selection of China is motivated by the fact that China is the largest gold producing country in the world, with 440 tons in 2017 as documented in [29].
Apparently, in the shorter horizon, both models adhere more closely to gold prices than in the longest 12-month horizon. The ability of the GPR indices of emerging economies to forecast gold price fluctuations more accurately than the RW model is detected in the case of Turkey, Korea, Russia, India, Brazil, China, Indonesia, Saudi Arabia, and Argentina consistently up to 12-months ahead forecasting, suggesting the direct link between gold prices and risk management investing decisions.

4. Conclusions

In this paper, we attempt to forecast a list of variables, namely the price of oil, national exchange rates, national stock market indices, and the price of gold for fourteen developing economies. In doing so, we employ the Geopolitical Risk index of Caldara and Iacovello, as a leading indicator. The analysis is performed using data from the period January 1985–May 2018, which is adjusted according to the availability of the rest of the variables for each country. We train machine learning models based on the Support Vector Regression technique and measure their forecasting ability in several forecasting horizons, namely, 1-, 3-, 6-, 9-, 12-, and 24-months ahead. We also compare the results with a traditional OLS model, and moreover, the naïve Random Walk model is used as a benchmark reference model to compare the performance of the two others. Thus, our empirical findings suggest that the geopolitical risk (the GPR index) in emerging countries has no forecasting ability over the three of the four variables under examination, since it fails to provide models that outperform the simple RW model. In contrast, we find that the GPR index appears to possess significant forecasting ability on gold prices, as is captured by our models.
These empirical findings may provide some relevant policy implications. As the effects of geopolitical tensions on oil prices, exchange rates and stock prices, appear to be temporary, both governments and economic agents must be cautious and not overreact to the initial price fluctuations in the aftermath of geopolitical tensions. The exception is the case of gold, where these tensions appear to have a significant lasting effect, confirming that gold is used as a safe haven by investors.
Overall, we do not find empirical evidence on a link between oil prices, exchange rates, stock indices, and geopolitical tensions in emerging economies. This finding could be attributed to the peripheral character of political conflicts in emerging economies that fail to spillover into the global market. As expected, gold prices seem to be driven by political risk, given that throughout history gold is used as a safe haven to hedge uncertainty and risk [30].

Author Contributions

Conceptualization, V.P., P.G. and T.P.; Data curation, V.P., P.G. and T.P.; Methodology, V.P., P.G. and T.P.; Writing—original draft, V.P., T.P and P.G; Writing—review & editing, V.P., T.P. and P.G.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Carney, M. Uncertainty, the Economy and Policy; Bank of England: London, UK, 2016. [Google Scholar]
  2. European Central Bank. Economic Bulletin, Frankfurt, 2017, 3. Available online: https://www.ecb.europa.eu/pub/economic-bulletin/html/eb201703.en.html (accessed on 20 December 2018).
  3. International Monetary Fund. Seeking Sustainable Growth: Short-Term Recovery, Long-Term Challenges. Washington, DC, USA, October 2017. Available online: https://www.imf.org/~/media/Files/Publications/WEO/2017/October/pdf/main-chapter/text.ashx (accessed on 20 December 2018).
  4. Alesina, A.; Ozler, S.; Roubini, N.; Swagel, P. Political instability and economic growth. J. Econ. Growth 1996, 1, 189–211. [Google Scholar] [CrossRef] [Green Version]
  5. Asteriou, D.; Siriopoulos, C. The role of political instability in stock market development and economic growth: The case of Greece. Econ. Notes 2000, 29, 355–374. [Google Scholar] [CrossRef]
  6. Kollias, C.; Papadamou, S.; Siriopoulos, C. Terrorism Induced Cross-Market Transmission of Shocks: A Case Study Using Intraday Data; Economics of Security Working Paper, No. 66; Deutsches Institut für Wirtschaftsforschung (DIW): Berlin, Germany, 2012. [Google Scholar]
  7. Blomberg, B.; Hess, G.; Jackson, H. Terrorism and the returns to oil. Econ. Politics 2009, 21, 409–432. [Google Scholar] [CrossRef]
  8. Antonakakis, N.; Gupta, R.; Kollias, C.; Papadamou, S. Geopolitical risks and the oil-stock nexus over 1899–2016. Financ. Res. Lett. 2017, 23, 165–173. [Google Scholar] [CrossRef]
  9. Kollias, C.; Kyrtsou, C.; Papadamou, S. The Effects of Terrorism and War on the Oil Price–stock Index Relationship. Energy Econ. 2013, 40, 743–752. [Google Scholar] [CrossRef]
  10. Drakos, K. Terrorism activity, investor sentiment and stock returns. Rev. Financ. Econ. 2010, 19, 128–135. [Google Scholar] [CrossRef]
  11. Kollias, C.; Papadamou, S.; Stagiannis, A. Stock markets and terrorist attacks: Comparative evidence from a large and a small capitalization market. Eur. J. Political Econ. 2011, 27 (Suppl. 1), S64–S77. [Google Scholar] [CrossRef]
  12. Nikkinen, J.; Omran, M.; Sahlstrom, P.; Aijo, J. Stock returns and volatility following the September 11 attacks: Evidence from 53 equity markets. Int. Rev. Financ. Anal. 2008, 17, 27–46. [Google Scholar] [CrossRef]
  13. Gupta, R.; Majumdar, A.; Pierdzioch, C.; Wohar, M.E. Do Terror Attacks Predict Gold Returns? Evidence from a Quantile-Predictive-Regression Approach. Q. Rev. Econ. Financ. 2017, 65, 276–284. [Google Scholar] [CrossRef]
  14. International Monetary Fund. How has September 11 influenced the global economy. In World Economic Outlook; International Monetary Fund: Washington, DC, USA, 2001; Chapter 2; pp. 14–33. [Google Scholar]
  15. Balcilar, M.; Gupta, R.; Pierdzioch, C.; Wohar, M. Do terror attacks affect the dollar-pound exchange rate? A nonparametric causality-in-quantiles analysis. N. Am. J. Econ. Financ. 2017, 41, 44–56. [Google Scholar] [CrossRef]
  16. Filippou, I.; Gozluklu, A.; Taylor, M. Global Political Risk and Currency Momentum. J. Financ. Quant. Anal. 2018, 53, 2227–2259. [Google Scholar] [CrossRef]
  17. Suleman, M.T. Political Uncertainty, Exchange Rate Return and Volatility. 2015. Available online: https://ssrn.com/abstract=2598866 (accessed on 1 October 2018).
  18. Cosset, J.C.; Doutriaux De La Rianderie, B. Political Risk and Foreign Exchange Rates: An Efficient-Market Approach. Int. J. Bus. Stud. 1985, 16, 21–55. [Google Scholar] [CrossRef]
  19. Caldara, D.; Iacovello, M. Measuring Geopolitical Risk. Board of Governors of the Federal Reserve System; International Finance Discussion Paper; Federal Reserve: Washington, DC, USA, 2018; No. 1222. [Google Scholar]
  20. Davis, S. Policy Uncertainty vs. the VIX: Streets and Horizons. In Proceedings of the Federal Reserve Board Workshop on Global Risk, Uncertainty, and Volatility, Washington, DC, USA, 25 September 2017. [Google Scholar]
  21. Mensi, W.; Beljid, M.; Boubaker, A.; Managi, S. Correlations and Volatility Spillovers across Commodity and Stock Markets: Linking Energies, Food, and Gold. Econ. Model. 2013, 32, 15–22. [Google Scholar] [CrossRef]
  22. Mullainathan, S.; Spiess, J. Machine Learning: An Applied Econometric Approach. J. Econ. Perspect. 2017, 31, 87–106. [Google Scholar] [CrossRef] [Green Version]
  23. Campbell, J.Y. Viewpoint: Estimating the equity premium. Can. J. Econ. 2008, 41, 1–21. [Google Scholar] [CrossRef]
  24. Khandani, A.E.; Kim, A.J.; Lo, A.W. Consumer credit-risk models via machine-learning algorithms. J. Bank. Financ. 2010, 34, 2767–2787. [Google Scholar] [CrossRef] [Green Version]
  25. Öğüt, H.; Doğanay, M.M.; Ceylan, N.B.; Aktaş, R. Prediction of bank financial strength ratings: The case of Turkey. Econ. Model. 2012, 29, 632–640. [Google Scholar] [CrossRef]
  26. Plakandaras, V.; Gupta, R.; Gogas, P.; Papadimitriou, T. Forecasting the U.S., Real House Price Index. Econ. Model. 2015, 45, 259–267. [Google Scholar] [CrossRef]
  27. Rubio, G.; Pomares, H.; Rojas, I.; Herrera, L.J. A heuristic method for parameter selection in LS-SVM: Application to time series prediction. Int. J. Forecast. 2011, 27, 725–739. [Google Scholar] [CrossRef]
  28. Cortes, C.; Vapnik, V. Support-Vector Networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
  29. U.S. Geological Survey. Mineral Commodity Summaries 2018; U.S. Geological Survey: Reston, VA, USA, 2018.
  30. Jones, A.; Sackley, W. An uncertain suggestion for gold-pricing models: The effect of economic policy uncertainty on gold prices. J. Econ. Financ. 2106, 40, 367–379. [Google Scholar] [CrossRef]
Figure 1. The Support Vectors (black filled circles) define the boundaries of the error tolerance band. Forecasted values greater than | ε | get a penalty equal to ζ according to their deviation from the tolerance band.
Figure 1. The Support Vectors (black filled circles) define the boundaries of the error tolerance band. Forecasted values greater than | ε | get a penalty equal to ζ according to their deviation from the tolerance band.
Algorithms 12 00001 g001
Figure 2. Out-of-sample 1-month ahead oil prices forecasts based on the Saudi Arabia geopolitical risk (GPR) index for the Support Vector Regression (SVR) and Ordinary Least Square (OLS) model for the period Jan-2017 to May-2018.
Figure 2. Out-of-sample 1-month ahead oil prices forecasts based on the Saudi Arabia geopolitical risk (GPR) index for the Support Vector Regression (SVR) and Ordinary Least Square (OLS) model for the period Jan-2017 to May-2018.
Algorithms 12 00001 g002
Figure 3. Out-of-sample 12-month ahead oil prices forecasts based on the Saudi Arabia GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Figure 3. Out-of-sample 12-month ahead oil prices forecasts based on the Saudi Arabia GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Algorithms 12 00001 g003
Figure 4. Out-of-sample 1-month ahead exchange rate forecasts for Mexico based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Figure 4. Out-of-sample 1-month ahead exchange rate forecasts for Mexico based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Algorithms 12 00001 g004
Figure 5. Out-of-sample 12-month ahead exchange rate forecasts for Mexico based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Figure 5. Out-of-sample 12-month ahead exchange rate forecasts for Mexico based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Algorithms 12 00001 g005
Figure 6. Out-of-sample 1-month ahead exchange rate forecasts for the Shanghai Composite index based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Figure 6. Out-of-sample 1-month ahead exchange rate forecasts for the Shanghai Composite index based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Algorithms 12 00001 g006
Figure 7. Out-of-sample 12-month ahead exchange rate forecasts for the Shanghai Composite index based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Figure 7. Out-of-sample 12-month ahead exchange rate forecasts for the Shanghai Composite index based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Algorithms 12 00001 g007
Figure 8. Out-of-sample one-month ahead gold prices forecasts for China based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Figure 8. Out-of-sample one-month ahead gold prices forecasts for China based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Algorithms 12 00001 g008
Figure 9. Out-of-sample 12-month ahead gold prices forecasts for China based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Figure 9. Out-of-sample 12-month ahead gold prices forecasts for China based on the GPR index for the SVR and OLS model for the period Jan-2017 to May-2018.
Algorithms 12 00001 g009
Table 1. Descriptive Statistics.
Table 1. Descriptive Statistics.
CountriesMeanStandard DeviationSkewnessKurtosisStart DateEnd Date
Panel A: Exchange rates
Turkey−1.792.95−0.762.00Dec-84Apr-18
Mexico2.370.36−1.195.69Dec-92Jun-17
Korea6.890.20−0.172.00Dec-84May-18
Russia2.891.21−1.685.49May-92Mar-18
India3.580.50−0.962.78Dec-84May-18
Brazil0.710.38−0.462.52Dec-94May-18
China1.860.30−1.133.29Dec-84May-18
Indonesia8.550.84−0.481.50Dec-84Mar-18
Saudi Arabia1.320.00−3.6950.75Oct-95May-18
Argentina1.200.870.172.37Jul-96May-18
Thailand3.460.190.251.78Dec-84May-18
Israel1.150.37−1.324.19Dec-84Mar-18
Malaysia1.160.18−0.031.53Dec-84May-18
Philippines3.800.19−1.535.21Oct-95May-18
Panel B: Stock indices
Turkey8.882.61−0.912.44Dec-89May-18
Mexico9.371.15−0.251.61Oct-91May-18
Korea6.830.66−0.723.50Dec-84May-18
Russia6.561.12−1.103.19Aug-97May-18
India8.491.29−0.332.12Dec-84May-18
Brazil8.613.94−2.166.54Nov-89May-18
China7.350.73−1.275.22Nov-90May-18
Indonesia6.691.30−0.112.20Dec-84May-18
Saudi Arabia8.370.76−0.301.71Dec-93May-18
Argentina6.662.39−2.099.16Dec-87May-18
Thailand6.870.40−0.181.91Apr-03May-18
Israel6.380.69−0.391.73Aug-92May-18
Malaysia7.150.33−0.571.97Jun-02May-18
Philippines7.760.710.142.12Nov-86May-18
Panel C: Other variables
WTI oil3.540.650.361.78Dec-84May-18
Gold price6.300.600.641.82Dec-84May-18
Table 2. Oil prices out-of-sample forecasting accuracy—MAPE.
Table 2. Oil prices out-of-sample forecasting accuracy—MAPE.
Forecasting Horizons1 Month3 Months6 Months12 Months24 Months
CountryOLSSVRRWOLSSVRRWOLSSVRRWOLSSVRRWOLSSVRRW
Turkey6.866.866.6915.7415.6313.9828.2727.3421.0642.7643.6427.5850.7048.9836.74
Mexico7.027.026.6816.2716.3014.6829.4728.2822.6543.2542.2730.0549.1247.5839.64
Korea6.736.686.5515.1315.4913.3325.9625.7920.1636.7036.3227.5944.5942.9536.56
Russia7.217.266.9817.7717.8416.2731.6829.2425.1045.8942.3932.4449.3546.9843.24
India6.886.776.5515.3915.1213.3325.8525.1520.1635.8336.5627.5942.9846.7836.56
Brazil6.886.856.7716.4416.5314.9730.7529.4123.0543.3044.3629.9747.4351.4839.16
China6.826.856.6615.5515.7814.2327.9526.4821.5339.6540.0228.4551.4755.2437.54
Indonesia6.716.826.5715.3115.6613.4126.2325.8020.2435.5136.6327.7941.8345.7036.64
Saudi Arabia6.896.986.7117.3716.9615.2533.2230.5423.7048.4048.7230.5447.0149.2140.81
Argentina6.917.026.8217.7517.8115.7034.0232.2324.5147.7046.6032.1549.7552.6441.60
Thailand7.027.156.5618.8318.4114.6437.6335.4521.8662.6766.6835.2085.8789.4177.78
Israel6.876.836.7315.7315.6314.4329.0827.7321.7343.4643.9228.9051.5455.6439.69
Malaysia6.446.536.4614.6115.1513.9527.3825.3019.7154.0653.6231.2578.6178.9164.72
Philippines6.846.846.7116.2516.5815.2531.9230.1123.7045.9545.0730.5450.9556.6240.81
Note: All values are percentages. Although the oil prices (dependent variable) used for all countries are the same, the different MAPE of the RW model is attributed to the different number of out-of-sample forecasts for each country, according to the availability of the data so that the comparison between the dependent variables could be feasible.
Table 3. Exchange rate out-of-sample forecasting accuracy—MAPE.
Table 3. Exchange rate out-of-sample forecasting accuracy—MAPE.
Forecasting Horizons1 Month3 Months6 Months12 Months24 Months
CountryOLSSVRRWOLSSVRRWOLSSVRRWOLSSVRRWOLSSVRRW
Turkey2.972.902.826.676.305.9211.0510.568.9719.0418.6113.7340.6532.2918.72
Mexico1.821.841.833.783.883.845.595.685.338.749.417.9713.0614.6811.41
Korea1.961.931.804.984.223.728.256.445.7813.8710.729.1715.0412.7513.77
Russia3.233.253.157.297.096.619.199.838.9617.1216.8613.0425.8423.0819.85
India1.161.141.082.532.512.354.054.173.646.927.426.199.7110.649.35
Brazil2.993.112.696.876.545.6612.2611.099.2219.6117.8614.3332.3831.8219.57
China0.380.360.340.940.930.881.761.741.563.654.082.7810.6111.725.07
Indonesia3.683.393.217.606.736.1314.539.638.5330.3414.9312.7061.7822.2218.19
Saudi Arabia0.050.050.060.050.050.060.050.050.070.050.050.070.050.050.07
Argentina1.851.681.825.124.284.639.767.257.8517.1616.3214.2622.2024.5227.12
Thailand1.021.011.012.222.102.123.793.853.395.946.325.237.627.848.66
Israel1.781.811.723.393.473.155.235.384.737.157.396.7210.759.918.06
Malaysia1.651.631.593.673.633.416.196.424.6810.1110.837.8519.0119.0013.57
Philippines1.181.151.122.682.782.424.574.695.947.537.895.8711.4012.098.21
Note: All values are percentages.
Table 4. Stock Indices out-of-sample forecasting accuracy—MAPE.
Table 4. Stock Indices out-of-sample forecasting accuracy—MAPE.
Forecasting Horizons1 Month3 Months6 Months12 Months24 Months
CountryOLSSVRRWOLSSVRRWOLSSVRRWOLSSVRRWOLSSVRRW
Turkey7.847.707.6313.3312.8512.1022.2621.8017.3535.8635.0724.1866.9947.7027.88
Mexico3.643.623.686.907.096.6311.3111.6910.1621.1822.3215.7640.0639.7521.64
Korea5.555.545.4710.5310.5210.2516.2516.5514.8524.1924.7222.1226.4626.2826.23
Russia5.625.545.3012.0411.6010.6320.3319.5517.0933.0832.0823.6540.0819.8519.90
India5.415.485.399.8610.049.5815.3015.4113.8724.8324.2220.3635.3035.8625.75
Brazil5.205.215.0910.0010.059.6315.5716.0314.4022.0323.2819.6832.9031.0221.09
China5.836.005.8011.9512.0211.4419.2518.4417.7624.5723.5025.7341.0733.8030.19
Indonesia5.545.565.5211.1511.2410.8317.0517.2216.2227.4629.2423.6233.5434.3328.08
Saudi Arabia6.006.455.8311.5412.5011.1820.0221.4016.9838.6840.4226.6775.5870.6630.84
Argentina7.637.497.3913.8613.8613.8121.9722.0021.6837.1336.4234.5146.6250.0942.79
Thailand2.802.832.725.545.835.088.418.507.6110.5010.8011.1012.4718.907.69
Israel3.743.753.717.417.787.1812.4512.5811.0421.7321.7116.9829.1130.1621.04
Malaysia1.771.751.762.932.962.854.023.963.728.187.006.307.939.068.64
Philippines4.224.134.138.578.468.0214.7614.6013.0223.2622.8319.4927.4331.6725.17
Note: All values are percentages.
Table 5. Gold prices out-of-sample forecasting accuracy—MAPE.
Table 5. Gold prices out-of-sample forecasting accuracy—MAPE.
Forecasting Horizons1 Month3 Months6 Months12 Months24 Months
CountryOLSSVRRWOLSSVRRWOLSSVRRWOLSSVRRWOLSSVRRW
Turkey3.833.907.636.116.1612.108.708.7117.3515.3315.6524.1831.7432.5527.88
Mexico4.204.203.686.756.856.639.519.5110.1616.0816.3215.7635.2436.0821.64
Korea3.563.585.476.045.9310.258.558.5814.8514.5815.0622.1230.7831.5026.23
Russia4.164.275.306.796.8310.638.809.2217.0915.2515.5923.6533.4034.5319.90
India3.563.555.395.995.959.588.478.5313.8714.3114.8820.3631.1532.5025.75
Brazil4.064.085.096.686.709.639.319.4214.4015.7516.2119.6832.6733.6521.09
China3.863.895.806.496.5111.448.949.0317.7615.2815.9025.7331.4432.9830.19
Indonesia3.603.615.525.955.8310.838.518.4216.2214.4614.8923.6231.4132.7628.08
Saudi Arabia4.074.145.836.746.7511.189.059.1016.9814.2014.7726.6730.3131.9630.84
Argentina4.014.057.396.616.6513.818.728.8221.6814.5114.9734.5130.5131.6142.79
Thailand3.453.392.725.725.745.086.806.747.619.699.7011.1019.2520.997.69
Israel4.054.033.716.446.557.188.978.9011.0414.8715.0516.9831.4632.8121.04
Malaysia3.363.351.765.956.512.858.478.653.7215.5815.906.3033.9735.898.64
Philippines4.114.154.136.786.788.029.209.0713.0214.7415.5319.4930.8632.1125.17
Note: All values are percentages. Although the gold prices used for all countries are the same, the different MAPE of the RW model is attributed to the different number of out-of-sample forecasts for each country, according to the availability of the data so that the comparison between the dependent variables could be feasible.

Share and Cite

MDPI and ACS Style

Plakandaras, V.; Gogas, P.; Papadimitriou, T. The Effects of Geopolitical Uncertainty in Forecasting Financial Markets: A Machine Learning Approach. Algorithms 2019, 12, 1. https://doi.org/10.3390/a12010001

AMA Style

Plakandaras V, Gogas P, Papadimitriou T. The Effects of Geopolitical Uncertainty in Forecasting Financial Markets: A Machine Learning Approach. Algorithms. 2019; 12(1):1. https://doi.org/10.3390/a12010001

Chicago/Turabian Style

Plakandaras, Vasilios, Periklis Gogas, and Theophilos Papadimitriou. 2019. "The Effects of Geopolitical Uncertainty in Forecasting Financial Markets: A Machine Learning Approach" Algorithms 12, no. 1: 1. https://doi.org/10.3390/a12010001

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