1. Introduction
The crucial role of crude oil in the world economy has implied a discussion on links between oil prices and other macroeconomic and financial variables. Both theoretical and empirical research have pointed out some sources and potential consequences of these links (cf. [
1]). It has been noticed that one of the most important factors connected with crude oil prices is exchange rates. The relation between oil prices and exchange rates has always been of interest to academics and policy analysts. Theory indicates various mechanisms which explain this relationship. They refer not only to direct ways how both variables affect each other but also to indirect transmission channels referring to specific macroeconomic or financial factors [
2]. It should be noted that both directions of causation are well-founded. On the one hand, crude oil prices affect exchange rates. Crude oil is the most important source of energy in the world, and its price does not offer a substantial arbitrage opportunities. On the other hand, exchange rate connects the internal and external economies, hence in market-oriented and open economies crude oil prices exert on exchange rates [
3]. More specifically, three direct transmission channels of oil prices to exchange rates can be indicated: the terms of the trade channel, the wealth effect channel, and the portfolio reallocation channel [
4]. On the other hand, reverse causality from exchange rates to crude oil prices is also theoretically motivated. The main reason for this fact is that oil prices are denominated in USD. An appreciation of the U.S. dollar increases the price of oil in domestic currencies for countries besides the U.S., which directly affects the oil supply and demand. Moreover, exchange rates can also affect oil prices directly through financial markets or indirectly via other financial assets, and through portfolio rebalancing and hedging practices in particular [
5].
The relationships between crude oil prices and exchange rates have been the topic of a rapidly growing body of empirical literature over the past two decades (cf. [
1,
3,
6,
7,
8,
9]). The general literature on this issue can be divided into four main research areas: links between exchange rates and imported crude oil prices, causality analysis, variance decomposition and impulse response, and the influence of crisis [
7]. The obtained results showed that the relations between crude oil prices and exchange rates can differ in time length. Many studies found long-run connections between oil prices and exchange rates. There is also much weaker evidence for short-run linkages and spillovers between both variables at daily and monthly frequencies (cf. [
1,
3]). Moreover, it has been shown that the detected relationships are time-varying, which can be the effect of their nonlinear or asymmetric mechanism [
3].
The main purpose of our paper was to test for bidirectional Granger causality between crude oil prices and selected exchange rates, namely, EUR/USD, GBP/USD, and JPY/USD, and to analyze its stability. In econometrics, Granger causality is one of the most popular concepts of causality. It provides not only a strong insight into the mechanism of the relationships, but most of all indicates the potential ability to predict investigated time series. In the economic literature, Granger causality is usually tested in the framework of linear dependencies, represented by VAR models (cf. [
10]). In particular, linear Granger causality between crude oil prices and exchange rates has been studied by [
2,
7,
9,
11,
12,
13,
14,
15,
16]. The obtained results are not so clear on the direction of the causal relationship between these two variables; however, some authors found evidence for bidirectional causality (see [
1,
9]). On the other hand, it has been generally noted that the linear approach is not sufficient in the case of nonlinear relations (e.g., [
17,
18,
19]). Many studies have confirmed the nonlinear dynamics of financial and economic systems, which indicates the need for including nonlinear causality tests in studies. Otherwise, one can omit important properties of the investigated dependencies that could be exploited for forecasting purposes (cf. [
10]). The nonlinear analysis of the relationships between crude oil prices and exchange rates has been performed much more rarely than the linear one, but the obtained results show that it can give a better insight into the mechanism of the investigated dependencies (e.g., [
8,
20,
21,
22,
23,
24]). It has been argued that the nonlinear causality behavior between oil prices and exchange rates can be explained by asymmetric responses of economic activity to oil price shocks [
25,
26,
27], the negative effects of oil price uncertainty on economic activity [
28], structural breaks, persistence and discontinuity in the adjustment (cf. [
21]).
For these reasons, in our study, we tested for nonlinear causality, using two nonlinear causality tests, introduced by Hiemstra and Jones [
18] and Diks and Panchenko [
29]. Moreover, we divided the analyzed period into two subperiods in order to verify if the existing causalities were stable over time.
It has been concluded in the literature that the frequent finding that exchange rates and oil prices move together (especially over the long-run) does not necessarily imply that one is useful when forecasting the other. The reason is that past relationships do not necessarily hold in the future and the link between in-sample and out-of-sample is often rather weak [
1]. That is why the purpose of our study was not limited only to detecting causality between the investigated series, but additionally to make an attempt to exploit these relations for effective forecasting. As the predictor, we applied Support Vector Regression (SVR)—the machine learning method of time series modeling and forecasting. In recent years, specific machine learning techniques have been successfully applied for forecasting purposes. They are data-driven, self-adaptive methods requiring very few assumptions concerning the investigated data. The support vector regression model [
30] is based on the support vector machine method [
31], which was originally introduced to solve classification problems. It is designed to have a good power of generalization and an overall stable behavior, which implies a good out-of-sample performance. Many studies in the literature have shown that SVR models can give more accurate forecasts than alternative machine learning methods and can be successfully used to forecast financial time series, such as stock indices, stock prices, future contracts, or exchange rates (see, e.g., [
32,
33,
34,
35]). SVR and SVR-based models have also been applied to forecast crude oil prices [
36,
37,
38,
39,
40,
41] or exchange rates [
42,
43,
44,
45,
46]. However, it should be noted that most of these models were autoregressive. In particular, to the best of our knowledge, there has not been an attempt to incorporate crude oil prices and exchange rates jointly to the SVR model, using one of these variables as the regressor for the second one. In our study, we construct and analyzed such SVR models to verify if potential predictability (ensured by the existence of Granger causality) really can result in more accurate forecasts.
The paper has three main contributions:
First, we found strong nonlinear causal relationships between crude oil prices and most investigated exchange rates;
Second, we showed that the significance of the detected relationships has changed in recent years;
Third, we applied SVR models of different kernels and regressors to verify if it is possible to exploit the detected relationships for effective forecasting.
The rest of the paper is organized in the following way. In
Section 2, we introduce data and describe the applied methods.
Section 3 provides the results of our research. Finally, in the last section, we discuss and conclude our findings.
3. Results
3.1. Nonlinear Granger Causality Testing
We tested for nonlinear Granger causality by applying the H-J and D-P tests. Eight values of lags: and two distance measures and were used. We analyzed two directions of causality—from crude oil to exchange rates and vice versa—and two subperiods—Period 1 and Period 2.
The obtained results are summarized in
Table 2,
Table 3 and
Table 4. Each cell in the table contains
p-values of both tests. We bolded the values smaller than 0.05, indicating the rejection of the null hypothesis of noncausality.
In Period 1 we found strong bidirectional causalities between crude oil and two currency pairs: EUR/USD and GBP/USD. The relations between crude oil and JPY/USD in this period were less evident, since they were detected only for the distance measure . Moreover, causality from crude oil to JPY/USD was detected only by the H-J test.
Different results were obtained for Period 2. First of all, one can see the lack of causality between EUR/USD and crude oil (in both directions). Additionally, the results for GBP/USD and crude oil were not so univocal as in Period 1. Although the final conclusions in this case were the same (i.e., bidirectional causalities were detected), one can see that only some value of the lags applied in the testing procedure led to rejection of the null hypothesis. In the case of the relation between crude oil and JPY/USD, the results also changed in comparison to Period 1. First, the p-values for the direction JPY/USDBrent clearly decreased, strongly confirming this causality. Additionally, the results for the opposite direction (BrentJPY/USD) were also slightly different than before. Both conducted tests led to the same conclusion, confirming the existence of causality; however, this conclusion was derived only from small values of lags (), which suggests that the JPY/USD exchange rate reacted to changes in crude oil prices much faster than before.
3.2. Forecasting
The results of nonlinear causality testing showed that most of the investigated series were linked by causal relationships. This means that there is a potential possibility to use lagged crude oil returns as the regressor for the exchange rates’ returns and vice versa. However, the crucial question is if it is really feasible to find a forecasting method that can exploit these potential possibilities to generate accurate forecasts. It should be noted that both tests for nonlinear Granger causality applied in the study are nonparametric, which means that they test the null hypothesis of noncausality against an unspecified alternative. This fact is beneficial since it allows detecting causal relations of a different type—linear and nonlinear ones. On the other hand, a shortcoming of this approach is that the rejection of the null hypothesis gives no information about the functional form of the model that can be used to exploit the detected relationship for forecasting purposes [
10]. However, there are many forecasting techniques that do not impose assumptions about the form of the modeling dependencies and, as a consequence, are flexible with respect to different types of dependencies, including nonlinear ones. It has been shown that SVR satisfies these requirements, combining the training efficiency and simplicity of linear methods with the prediction accuracy of the best nonlinear algorithms. Moreover, SVR copes with high-dimensional or incomplete data and is robust to outliers [
40,
57,
58].
In our study, we applied two alternative approaches to the SVR models’ specification. In the first one, we used only lagged dependent variables as the regressors, which means that the constructed models are autoregressive, i.e.,:
where
is the lag length. In the second approach, we additionally incorporated the second lagged variable as the regressor:
where
and
are the lag lengths. This means that if the dependent variable
denotes the crude oil returns, then
denotes the exchange rates’ returns and vice versa. According to the purpose of our study, we intended to assess if the extended model of the form (26) outperformed the autoregressive model (25) in terms of its predictive power.
We determined the lag lengths
and
in the SVR models based on the results of the nonlinear causality tests presented in
Table 2,
Table 3 and
Table 4 (assuming
as in the applied tests). For a better comparison, we decided to choose the same lag for Period 1 and Period 2 (separately for each modeled relationship). In the autoregressive model (25), we used the same
as in the corresponding model (26). The chosen lag lengths are summarized in
Table 5.
Before estimating the SVR models, the regressors were standardized, i.e., centered by subtracting their mean and divided by the standard deviation. The kernel and the values of the model hyperparameters
ε, C (and
in case of the RBF kernel) must be specified before estimation as well. In the study, we constructed the SVR models with two different kernels: the linear and RBF ones. There are competitive propositions in the literature of how to tune the hyperparameters in SVR models (e.g., [
52,
59,
60,
61]), but previous studies did not prove the convincing superiority of any of them. To this purpose, we applied Bayesian optimization, which is a method for performing global optimization of unknown “black box” objectives and is particularly appropriate when objective function evaluations are expensive (in any sense, such as time or money [
62]).
Finally, for each investigated pair of time series, we considered four variants of the SVR models:
The autoregressive model of type (25) with the linear kernel (SVR_ar_lin);
The autoregressive model of type (25) with the RBF kernel (SVR_ar_rbf);
The extended model of type (26) with the linear kernel (SVR_reg_lin);
The extended model of type (26) with the RBF kernel (SVR_reg_rbf).
To estimate the SVR models, we used a rolling window in the following way. For the starting three-year sample (i.e., from 3 January 2011 to 31 December 2013 for Period 1, and from 4 January 2016 to 31 December 2018 for Period 2), we estimated the models and calculated one-day-ahead forecasts. Consecutively, we changed the estimation sample by adding one new observation while removing the oldest one. For each estimation sample, we determined the optimal hyperparameters ε, C, and , re-estimated the models, and forecasted. We repeated this procedure until we obtained forecasts for the whole two-year period (i.e., from 2 January 2014 to 31 December 2015 for Period 1 and from 2 January 2019 to 31 December 2020 for Period 2).
In order to assess the predictive power of the models, two primary measures of the forecasts’ accuracy, namely the Mean Squared Error (MSE) and the Mean Absolute Error (MAE), were applied. They are defined as:
where
is the forecast of
at time
t and
is the number of forecasts. As the benchmarks, we applied the white noise models, where the forecasts
were calculated as the mean of the observations from the previous three-year sample (used to estimate the corresponding SVR models). The obtained results are given in
Table 6. For each modeled relationship (and each period), the smallest values of the MAE and MSE are bolded.
The results showed that the constructed SVR models did not differ significantly from each other in terms of the forecasts’ accuracy. What is most important is that the results did not support the hypothesis that extended SVR models outperform the autoregressive ones. This means that lagged crude oil returns used as regressors do not help to calculate more accurate forecasts of the exchange rates’ returns and vice versa. Moreover, we showed that none of the applied kernels had an advantage over the second one. Finally, the results implied that the constructed SVR models do not outperform the benchmark white noise model.
4. Discussion
In our study, we tested for bidirectional causal relationships between crude oil prices (Brent spot prices’ FOB) and the most important exchange rates (EUR/USD, GBP/USD, and JPY/USD). To this purpose we applied two tests for nonlinear Granger causality, introduced by Hiemstra and Jones and Diks and Panchenko. In order to analyze stability of the investigated relations, we divided the analyzed period into two subperiods: Period 1—from 3 January 2011 to 31 December 2015 and Period 2—from 4 January 2016 to 31 December 2020. Due to the fact that we analyzed daily data, our study was concentrated on short-term relationships.
We found that most of the investigated series were linked by causal relationships. However, our study revealed some differences between both analyzed subperiods. Generally, EUR/USD and GBP/USD proved to be more strongly related to crude oil in the earlier period (Period 1) than in the later one (Period 2). One can even see that the bidirectional causality between EUR/USD and crude oil, which was strongly indicated by both tests in Period 1, vanished in Period 2. Moreover, in Period 1, JPY/USD was linked to crude oil (in both directions) much more weakly than EUR/USD and GBP/USD. However, the opposite situation took place in Period 2, where the unidirectional causality from JPY/USD to crude oil was stronger in comparison to both other currency pairs.
There are many empirical studies concentrating on the detection of causality between crude oil price and exchange rates, and their results are mixed [
21]. The inclusiveness of the causation between exchange rates and oil price may depend on the choice of the exchange rate measure, the time-varying causality patterns, or others [
7]. Moreover, it should be noted that most of previous investigations have been restricted to linear framework, ignoring the possible nonlinear behaviors, which may be caused by asymmetry, persistence, or structural breaks [
21]. The nonlinear Granger causality tests were applied to detect the relationships between crude oil price and exchange rates by [
8,
22,
23,
24,
63]. The results of these studies were also mixed. Bayat et al. [
63] analyzed three transition countries, namely the Czech Republic, Hungary, and Poland. Based on the D-P test, they found that neither oil price shocks, nor exchange rate fluctuations affect each other. This conclusion was confirmed by Drachal [
22], who also applied the D-P test to CEE countries, namely the Czech Republic, Hungary, Poland, Romania, and Serbia, and found no causal relations between the exchange rates and oil prices. According to the results of the H-J and D-P tests, Wen et al. [
8], pointed out sufficient statistical evidence in favor of nonlinear Granger causality from the crude oil prices to the USD exchange rate and much weaker for causation in the opposite direction. Kumar [
23] tested for causality between oil prices and exchange rate in the Indian context and found that the H-J test strongly rejected the hypothesis of no causality in both directions. Ajala et al. [
24] investigated the impact of oil prices on the exchange rates in Nigeria and found that oil prices significantly affected the exchange rates. All of the mentioned studies were performed for monthly data, except Wen et al. [
8], who applied weekly data. We conducted our analysis for daily data, which means that the relationships we detected can be regarded as more short-term. Our results, confirming causal relationships between crude oil price and exchange rates, have practical implications for policymakers in the field of monetary policies and strategic risk management. However, due to the short-term character of the detected relationships, they should be taken into consideration primarily by market participants, such as investors, financial managers, and traders, to create effective investment portfolios and risk-hedging strategies (cf. [
7,
23]).
The revealed existence of bidirectional causal relations between crude oil and exchange rates’ returns implies the potential possibility of using lagged values of one of these variables as the regressor for the second one. However, the applied tests are nonparametric, which means that they give no information about the model that can describe the detected relations. Therefore, it causes a question about the forecasting method that can be successfully applied to investigated time series. That is why in the second part of our study, we verified if the support vector regression model can be used for this purpose.
Generally, the obtained results did not support the hypothesis that SVR can be effectively used to forecast the investigated time series. First of all, the constructed models, regardless of the applied kernel and regressors, did not significantly outperform the benchmark white noise model. Secondly, we found that including the lagged crude oil returns to the SVR models of the exchange rates’ returns (and vice versa) did not significantly improve the accuracy of the obtained forecasts. This shows that the applied models were not able to exploit the dependencies detected by the Granger causality tests.
This finding seems consistent with previous studies performed using other forecasting methods. It has been concluded in the literature that the fact that exchange rates and crude oil prices are linked to each other does not necessarily imply that one is useful when forecasting the other. The reason is that past relationships do not necessarily hold in the future, and the link between in-sample and out-of-sample is often rather weak [
1]. Chen et al. [
64] showed that exchange rates of commodity exporters have robust power in predicting global commodity prices. Their explanation was that exchange rates embody information about future movements in commodity export markets. However, based on comprehensive literature studies, Alquist et al. [
65] derived the general conclusion that trade-weighted exchange rates have no significant predictive power for the nominal price of oil. On the other hand, they noted that this does not necessarily mean that all exchange rates lack predictive power and found evidence that the Australian exchange rate has significant predictive power for the sign of the change in the nominal price of oil at certain horizons. When analyzing the opposite direction models, one cannot find systematic evidence that oil price is useful for exchange rates’ predictions. Chen et al. [
64] noted that the problem with effective exchange rates’ forecasting can result from the fact that exchange rates are strongly forward-looking, whereas commodity price fluctuations are typically more sensitive to short-term demand imbalances. The literature on fundamental exchange rate models is vast, starting from the seminal work of Meese and Rogoff [
66], which showed that such models do not outperform the benchmark random walk model. Contemporarily, it has been argued that the forecasting performance of exchange rate models based on economic fundamentals can depend on the choice of predictor, forecast horizon, sample period, model, and forecast evaluation method [
67].
Future research might extend this study by considering SVR models with other lags of regressors. Moreover, alternative machine learning methods of forecasting such as neural networks or hybrid models could be applied.