Next Article in Journal
Expenditure-Based Indicators of Energy Poverty—An Analysis of Income and Expenditure Elasticities
Next Article in Special Issue
Biomass Sea-Based Supply Chains and the Secondary Ports in the Era of Decarbonization
Previous Article in Journal
Cooling Capacity and Energy Performance of Open-Type Ceiling Radiant Cooling Panel System with Air Circulators
Previous Article in Special Issue
Energy Prices and COVID-Immunity: The Case of Crude Oil and Natural Gas Prices in the US and Japan
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Forecasting Volatility of Energy Commodities: Comparison of GARCH Models with Support Vector Regression

by
Marcin Fałdziński
1,2,
Piotr Fiszeder
1,2,* and
Witold Orzeszko
3
1
Department of Econometrics and Statistics, Faculty of Economic Sciences and Management, Nicolaus Copernicus University in Torun, ul. Gagarina 13a, 87-100 Torun, Poland
2
Faculty of Finance and Accounting, Prague University of Economics and Business, W. Churchill Sq. 1938/4, Žižkov, 130 67 Prague, Czech Republic
3
Department of Applied Informatics and Mathematics in Economics, Faculty of Economic Sciences and Management, Nicolaus Copernicus University in Torun, ul. Gagarina 13a, 87-100 Torun, Poland
*
Author to whom correspondence should be addressed.
Energies 2021, 14(1), 6; https://doi.org/10.3390/en14010006
Submission received: 29 October 2020 / Revised: 25 November 2020 / Accepted: 18 December 2020 / Published: 22 December 2020
(This article belongs to the Special Issue Economic Analysis on Energy and Environmental Issues and Policy)

Abstract

:
We compare the forecasting performance of the generalized autoregressive conditional heteroscedasticity (GARCH) -type models with support vector regression (SVR) for futures contracts of selected energy commodities: Crude oil, natural gas, heating oil, gasoil and gasoline. The GARCH models are commonly used in volatility analysis, while SVR is one of machine learning methods, which have gained attention and interest in recent years. We show that the accuracy of volatility forecasts depends substantially on the applied proxy of volatility. Our study confirms that SVR with properly determined hyperparameters can lead to lower forecasting errors than the GARCH models when the squared daily return is used as the proxy of volatility in an evaluation. Meanwhile, if we apply the Parkinson estimator which is a more accurate approximation of volatility, the results usually favor the GARCH models. Moreover, it is difficult to choose the best model among the GARCH models for all analyzed commodities, however, forecasts based on the asymmetric GARCH models are often the most accurate. While, in the class of the SVR models, the results indicate the forecasting superiority of the SVR model with the linear kernel and 15 lags, which has the lowest mean square error (MSE) and mean absolute error (MAE) among the SVR models in 92% cases.

Graphical Abstract

1. Introduction

Energy risk has always been one of the major risk factors for most firms involved in key industrial sectors in both developed and developing countries. Risk management of energy commodities is a crucial issue for majority industrial firms, as it can seriously affect its competitiveness, viability and future profitability. Global economic developments, emerging technological advances and economic, geopolitical and environmental events have caused a significant increase in volatility of energy commodities prices in the last 20 years (cf. [1]). For these reasons, the ability to predict volatility of energy commodities has been gaining more and more importance.
Commodity market participants, like the large corporate producers, manufacturers, large energy consuming firms, alongside a number of investment banks, specialist funds, investors and traders, need volatility forecasts for effective investment, hedging risk and arbitrage strategies. There are many methods for volatility forecasting but the most popular in the literature are the generalized autoregressive conditional heteroscedasticity (GARCH) models. In particular, they have already been applied in plenty of studies for energy commodities, including: Crude oil (e.g., [2,3,4,5,6,7,8,9,10,11]), natural gas (e.g., [4,6,12]), heating oil (e.g., [2,3,6]), gasoline (e.g., [3,6]) and gasoil (e.g., [2]).
In order to forecast volatility, machine learning techniques can also be applied. One such technique, which has been gaining high popularity in recent years, is support vector regression (SVR). In particular, SVR and SVR-based hybrid models have been applied in many studies to forecast prices of energy commodities, including: crude oil (e.g., [13,14,15,16,17,18]) and natural gas (e.g., [19,20]). However, they have been used only by Zhang and Zhang [8] to forecast volatility of energy commodities, specifically crude oil.
In this paper, we compare the volatility forecasting performance of the GARCH-type models with support vector regression for futures contracts of selected energy commodities, namely, crude oil, gasoil, gasoline, heating oil and natural gas, quoted at New York Mercantile Exchange and International Exchange. It should be noted that, nowadays, derivative markets are very important research areas since they play an essential role in trading energy commodities, and turnover on such markets has become significantly higher in comparison to spot markets.
This study has two main contributions. Firstly, it is the first comparison of the GARCH-type models and SVR for futures contracts for energy commodities. As we mentioned before, according to our knowledge, SVR has been used for volatility forecasting of energy commodities only by Zhang, and Zhang [8] who applied the least-squares version of a SVR model—least squares support vector machines (LSSVM) [21] for the West Texas Intermediate (WTI) and Brent crude oil spot prices. However, they used this model only as a part of the hybrid forecasting method—to forecast the residual series from the exponential generalized autoregressive conditional heteroscedasticity (EGARCH) model.
Secondly, we show that the accuracy of volatility forecasts depends substantially on the applied proxy of volatility. It has been shown in the literature that volatility forecasts of financial assets based on SVR models can be more precise than those from GARCH-type models (e.g., [22,23,24,25,26,27,28,29,30,31,32,33]). However, in most of these papers, the squared daily returns have been taken as the ex-post measure of volatility. Our study confirms that SVR with properly determined hyperparameters can lead to lower forecasting errors than the GARCH models when the squared daily return is used as the proxy of volatility in an evaluation. Meanwhile, if we apply the Parkinson estimator, which is a more accurate approximation of volatility, the results are different since they usually favor the GARCH models over SVR.
The rest of the paper is organized in the following way. Section 2 provides a description of applied models and methods. In Section 3 we introduce and describe data, explain the forecasting procedure and present the results of the research for energy commodities. Finally, in the last section, we give our concluding remarks.

2. Description of Models

2.1. GARCH-Type Models

The GARCH models are a standard tool applied in volatility research. The primary model is the standard GARCH model introduced by Bollerslev [34], which describes time-varying variance. Let us assume that ε t is the innovation process which can be presented as:
ε t | ψ t 1 ~ N ( 0 ,   h t ) ,
where h t is the conditional variance, ψ t 1 is the set of all information available at time t 1 , N is the conditional normal distribution. Then the GARCH ( p , q ) model (denoted as GARCH-n) is given as,
h t = α 0 + i = 1 q α i ε t i 2 + j = 1 p β j h t j ,
where α 0 > 0 ,   α i 0 ,   β j 0 for i = 1 , 2 , , q ;   j = 1 , 2 , , p , however Nelson, Cao [35] gave weaker conditions for non-negativity of the conditional variance.
Instead of the conditional normal distribution in the Equation (1) the Student’s t-distribution can be applied (the model denoted as GARCH-t) in order to better describe fatter tails and leptokurtosis of unconditional distributions of many empirical financial time series [36].
The conditional variance function of the standard GARCH model is symmetric in the lagged values of ε t . Such function may be inappropriate for modelling the volatility of returns because it cannot represent a phenomenon, known as the leverage effect, i.e., the negative correlation between volatility and past returns. The first model describing asymmetric responses of the conditional variance to positive and negative errors is the exponential GARCH (EGARCH) model proposed by Nelson [37]. The EGARCH ( p , q ) model is specified as,
ln   h t = α 0 + i = 1 q α i { θ z t i + γ [ | z t i | E ( | z t i | ) ] } + j = 1 p β j ln   h t j ,
where α 1 1 , z t = ε t / h t 1 / 2 , E is the expected value. The logarithmic form of the conditional variance means that it is not necessary to introduce any restrictions on parameters to ensure the positivity of the conditional variance.
The second most popular asymmetric GARCH model is the GJR model introduced by Glosten et al. [38]. The GJR ( p , q ) model is given as,
h t = α 0 + i = 1 q α i ε t i 2 + i = 1 q γ i I t i ε t i 2 + j = 1 p β j h t j ,
where I t i is a dummy variable which satisfies I t i = 1 when ε t i 0 and I t i = 0 when ε t i > 0 . To ensure the positivity of the conditional variance parameters should meet the following requirements: α 0 > 0 ,   α i 0 ,   α i + γ i 0 for i = 1 , 2 , , q , β j 0 for j = 1 , 2 , , p .
Another model which captures asymmetry in volatility is the asymmetric power autoregressive conditional heteroscedasticity (APARCH) model proposed by Ding et al. [39]. The APARCH ( p , q ) model is defined as,
( h t 1 / 2 ) d = α 0 + i = 1 q α i ( | ε t i | + γ i ε t i ) d + j = 1 p β j ( h t j 1 / 2 ) d ,
where α 0 > 0 ,   α i 0 ,   β j 0 for i = 1 , 2 , , q ;   j = 1 , 2 , , p . The exponent d allows for more flexibility in the description of volatility. The class of APARCH models includes several other GARCH extensions as special cases, like the GJR model, the threshold autoregressive conditional heteroscedasticity (TARCH) model of Zakoian [40], the Taylor ([41])/Schwert ([42]) GARCH model, the nonlinear autoregressive conditional heteroscedasticity (NARCH) of Higgins and Bera [43], the Log-ARCH of Geweke [44] and Pentula [45].
In many empirical studies, the sum of parameters estimates (except α 0 ) in the standard GARCH model is close to 1 which makes variance highly persistent. That is why Engle and Bollerslev [46] proposed the integrated GARCH (IGARCH) model in the form of Equation (2), where α 1 + + α q + β 1 + + β p = 1 . A shock to the conditional variance in the IGARCH model is persistent in the sense that it remains significant for forecasts of all horizons.
The last considered parameterization is the GARCH-in-mean (GARCH-M) model introduced by Engle et al. [47]. The GARCH-M ( p , q ) model is described as,
r t = γ 0 + δ h t + ε t ,
h t = α 0 + i = 1 q α i ε t i 2 + j = 1 p β j h t j ,
where α 0 > 0 ,   α i 0 ,   β j 0 for i = 1 , 2 , , q ;   j = 1 , 2 , , p . The GARCH-M model is able to describe the fundamental trade-off relationship between return and risk.
The parameters of the above GARCH-type models can be estimated by maximum likelihood or quasi-maximum likelihood methods. The log-likelihood function is described as,
L ( ς ) = n 2 ln ( 2 π ) 1 2 t = 1 n ( ln h t + ε t 2 h t ) ,
where ς is a vector containing unknown parameters of the model, n is the number of observations used in estimation.

2.2. SVR Model

Let y be the dependent variable and x the vector of regressors. Based on a training data set { ( x t , y t ) } t = 1 , n , we want to estimate the regression function that has, at most, ε deviation from the outputs y t and that, at the same time, is as flat as possible [48]. The idea of SVR is to map the vectors x onto a high-dimensional feature space using some fixed (nonlinear) transformation and then to estimate the linear model,
f ( x ) = i = 1 d ω i φ i ( x ) + b ,
where d is the dimension of the space, φ i ( x ) denote transformations, ω i are the coefficients and b is the bias term [49,50]. To assess the estimated model Vapnik [51] proposed the ε -insensitive loss function,
L ε ( y , f ( x ) ) = { 0 ,   | y f ( x ) | ε , | y f ( x ) | ε ,   otherwise ,
which does not penalize errors below ε . To estimate the coefficients of the SVR model (9) the ε -insensitive loss function is used, however at the same time, the postulate of the model complexity reduction is taken into account by minimizing the expression | | ω | | 2 = ω T ω , where ω = ( ω 1 , ω 2 , , ω d ) T . In practice, it is not always possible to approximate all data of the training set with an error below ε (cf. [52]). In order to allow errors to be greater, the SVR model incorporates nonnegative slack variables ξ t and ξ t representing the upper and lower constraints, s.t.,
y t f ( x t ) ε + ξ t ,
f ( x t ) y t ε + ξ t ,
for all t = 1 , 2 , , n . Finally, the regression function f ( x ) is obtained as the minimum of the functional,
Φ ( ω , ξ ) = 1 2 | | ω | | 2 + C t = 1 n ( ξ t + ξ t ) ,
where C is a pre-specified positive value. The first term of the Functional (13) is used to penalize large weights and to maintain regression function flatness, whereas the second term penalizes training errors by using the ε-insensitive loss function [53]. Where, C is the hyperparameter to trade off these two terms. It controls the penalty imposed on observations that lie outside the ε -margin and, in consequence, helps to prevent overfitting. Both the ε and C hyperparameters must be determined by the user.
The optimization problem described above can be transformed into a corresponding dual problem using the Karush-Kuhn-Tucker conditions, with the solution,
f ( x ) = t = 1 n S V ( α t α t ) K ( x t , x ) ,   s . t .   0 α t C ,   0 α t C ,
where α t and α t are the Lagrange multipliers, n S V is the number of support vectors and K is the kernel function of the form,
K ( x t , x ) = i = 1 d φ i ( x ) φ i ( x t ) .
Any function satisfying the Mercer’s condition ([51]) can be used as the kernel. In practice, the most commonly used kernel functions include (cf. [54]):
-
Linear (dot product): K ( x t , x ) = x t T x ,
-
Radial basis function (RBF): K ( x t , x ) = exp ( γ | | x t x | | 2 ) ,
-
Polynomial: K ( x t , x ) = ( 1 + x t T x ) p ; p = 2 , 3 ,

2.3. Ex-Post Volatility Measures

Volatility is not directly observable, even ex-post, therefore it has to be estimated. A popular proxy of the daily variance is the squared daily return,
σ s q r , t 2 = r t 2 ,
where r t is the daily logarithmic return at day t . This proxy can be identified as the classical variance estimator.
Andersen and Bollerslev [55] showed that although the squared daily return is an unbiased estimator of the variance of return, it is also extremely noisy. A significantly more accurate measure of volatility is the realized variance ( R V ) calculated from intraday prices,
R V t = k = 1 K r k , t 2 ,
where r k , t is the intraday return (e.g., the 5-min return), K is the number of intraday observations during a day. The realized variance is a significantly more efficient estimator of variance than the daily squared return, but high-frequency data are not commonly available and are significantly more expensive in comparison to daily data.
An alternative way is to calculate range-based variance estimators, based on daily opening, low and high prices. In practice, these values are easily available alongside with daily closing prices. The range-based estimators have already been used as the proxy of volatility in many studies (e.g., [56,57,58,59]). Furthermore, many volatility models have been proposed based on these estimators (e.g., [60,61,62,63,64]).
The Parkinson [65] estimator, the simplest of this class, is given as,
σ P , t 2 = [ ln ( H t / L t ) ] 2 / ( 4 ln 2 ) ,
where H t and L t are high and low prices over a day t . This estimator assumes a zero drift process and is more than 4.9 times efficient than the classical variance estimator based on closing prices [65]. It has been shown that the accuracy of the Parkinson estimator is similar to the accuracy of the realized variance calculated from six observations during the day (see [59,66]).
Two other most popular range-based variance estimators are Garman-Klass [67] and Rogers-Satchell [68] estimators. The former can be presented as,
σ G K , t 2 = 0.5 [ ln ( H t / L t ) ] 2 ( 2 ln 2 1 ) [ ln ( C t / O t ) ] 2 ,
where C t and O t are closing and opening prices at day t , respectively. The Garman-Klass estimator assumes a zero drift process and is more than 7.4 times efficient than the classical variance estimator based on closing prices [67].
The Rogers-Satchell estimator is defined as:
σ R S , t 2 = ln ( H t / O t ) ln ( H t / C t ) + ln ( L t / O t ) ln ( L t / C t ) .
This estimator is independent of the drift. For a zero drift it is more than 6.0 times efficient than the classical variance estimator based on closing prices [68].
The realized variance is a more accurate proxy of volatility than the range-based estimators provided that intraday data are of good quality and the analyzed market is liquid (see [69]). However, the application of very high frequency data suffers from a large computational burden. Moreover, the range-based estimators are more robust than the realized variance to some microstructure effects like the bid-ask spread (e.g., [69,70]).

3. Forecasting Volatility of Energy Commodities

3.1. Data

In our study we investigate futures contracts of the selected energy commodities: WTI crude oil, gasoil, gasoline, heating oil and natural gas. Gasoil is quoted at the International Exchange (ICE) and the rest of considered contacts are listed at the New York Mercantile Exchange (NYMEX).
We analyze the data for the five-year period from 2 January 2015 to 31 December 2019. We apply two proxies of ex-post volatility in the forecast evaluation: the daily squared return (Equation (16)) and the Parkinson estimator (Equation (18)). In order to avoid the noise induced by measuring the overnight volatility we analyze open-to-close percentage returns r t = 100 ln ( C t / O t ) instead of close-to-close returns. Additionally, this concept allows for better comparability with the Parkinson estimator which, by definition, measures volatility only during the exchange session. Since we analyze percentage returns, we compute the Parkinson estimator multiplied by 1002. Daily closing prices and open-to-close returns for the all analyzed future contracts are presented in Figure 1.
The descriptive statistics for daily returns and two considered proxies of volatility are presented in Table 1. The calculated means of returns are negative, despite the prices of all commodities (except natural gas) increased during the analyzed period. It stems from the fact that we analyze open-to-close returns instead of close-to-close ones. The absolute value of the minimum and maximum returns are relatively high. The highest volatility of returns (see standard deviations for returns) but also variation of volatility (see the standard deviations for both the squared returns and the Parkinson estimator) can be seen for natural gas, which is a well-known fact for this energy asset (see e.g., [71]. Crude oil is the second most volatile contract. Meanwhile, the lowest volatility is for gasoil and heating oil.
The distributions of both proxies of volatility exhibit strong skewness and high kurtosis. Significantly higher variability can be seen for the squared returns than for the Parkinson estimator which indicates much stronger noise in the former. The autocorrelation of returns is weak and mostly insignificant. The autocorrelation of the squared returns and the Parkinson estimator is very high and significant, much stronger for the latter measure of volatility. These results shows that the Parkinson estimator can be useful as the volatility measure.

3.2. Forecasting Procedure

We compared the forecasting performance of the GARCH models with SVR. We have not detected any significant dependencies in the conditional mean, which is the reason for modelling only the conditional variance. To estimate both the GARCH and SVR models, we used a rolling window and apply the following procedure. For the starting sample (i.e., 2 January 2015 to 30 December 2016) we estimate models and obtain one-day-ahead forecasts. Consecutively, we added one new observation to the estimation sample, while at the same time removing the oldest observation. Then, based on each estimation sample, we re-estimated the models and made forecasts. We repeat this procedure until we obtain forecasts for the three-year period from 3 January 2017 to 31 December 2019. In our procedure we consider a small estimation sample, because the persistence of the conditional volatility in large samples could be exaggerated by the existence of structural breaks in the GARCH parameters (see [72]).
The considered GARCH models are GARCH-n, GARCH-t, EGARCH, GJR, APARCH, IGARCH and GARCH-M. The parameters of the models are estimated using the quasi-maximum likelihood method, except for the GARCH-t model, whereby the maximum likelihood method was applied.
We consider autoregressive SVR models, which means that we calculate the variance forecasts σ f ,   t + 1 2 using the lagged squared returns as predictor variables:
σ f ,   t + 1 2 = f ( r t 2 , r t 1 2 , , r t l + 1 2 ) ,
where l is the lag length. In order to construct the SVR models the regressors r t 2 , r t 1 2 , , r t l + 1 2 were first standardized, i.e., the lagged squared returns were centered by subtracting their mean and divided by standard deviation. After applying the Model (21) we use reverse standardization of σ f ,   t + 1 2 to calculate the final variance forecast.
We applied two kernels in the SVR models: The linear and RBF ones and four values of lags: l = 1 , l = 5 , l = 10 and l = 15 , however, we present only the results for lags l = 1 and l = 15 . The lag l = 1 led to the simplest specification of the model, in which only the previous lagged squared return is used as the predictor variable. Obviously, higher lags led to a more general form of the model, which could potentially generate more accurate forecasts. On the other hand, high lags could introduce spurious information to the model, and additionally, substantially increase computation time. Our calculations show that l = 15 leads to slightly more accurate forecasts than l = 5 and l = 10 and it seems to be optimal when considering the accuracy of the forecasts and computation time.
Finally, we consider four specifications of the SVR models:
(1)
SVR with the linear kernel and l = 1 (hereafter SVR-lin-1),
(2)
SVR with the linear kernel and l = 15 (SVR-lin-15),
(3)
SVR with the RBF kernel and l = 1 (SVR-rbf-1),
(4)
SVR with the RBF kernel and l = 15 (SVR-rbf-15).
As stated before, the values of the ε and C hyperparameters (and additionally γ in the case of the RBF kernel) must be determined. For this aim, we applied the grid search technique. This method consisted in constructing many models for different values of the hyperparameters and selecting the optimal model on the basis of a validation set (we use the function fitrsvm in MATLAB R2015b to train the SVR models). We performed the grid search by considering consecutive values of C = 0.5 ,   1 ,   1.5 ,   ,   10 , ε = 0.5 ,   0.6 ,   0.7 ,   ,   2.5 and γ = 2 3 ,   2 2 , , 2 2 ,   2 3 . To evaluate the model for each combination of hyperparameters, a 10-fold cross-validation procedure is applied. According to this approach, the investigated sample was randomly partitioned into 10 equal-sized subsamples. Nine of them were used to construct the SVR model, while the remaining one was used to validate the model. To this end, the mean square error (MSE) was computed on the observations in the validation subsample. This procedure is repeated 10 times (for each of the 10 subsamples used as a test set), and the average of 10 values of the obtained MSEs was calculated. Finally, the hyperparameters that led to the smallest MSE were considered to be optimal. It is worth noting that the optimal hyperparameters were determined for each forecast separately.
It should be emphasized that the computation of forecasts based on the SVR model (Equation (21)) does not ensure that it will always output non-negative values. In such cases we propose to take the previous squared return as the forecast, i.e., σ f , t + 1 2 = r t 2 . However, situations where our models led to negative outputs are very exceptional. Such problem occurs only for natural gas, for which SVR-lin-15 leads to 9 (out of 759) negative forecasts.
In the evaluation of forecasts we consider two proxies of volatility: the squared daily return and the Parkinson estimator. In Section 3.3 we present results for the squared daily return and Section 3.4 shows the results for the Parkinson estimator. Despite shortcomings of the squared daily return, we apply it due to its popularity in previous studies in which GARCH models have been compared with SVR models (see Introduction).
The forecasts are evaluated based on two primary measures, namely, the mean squared error and the mean absolute error.
The MSE is the most frequently used criterion in forecasting studies. It is written as,
MSE = 1 T t = 1 T ( σ R , t 2 σ f , t 2 ) 2 ,
where σ R , t 2 is the proxy of volatility of returns and σ f , t 2 is the variance forecasts at time t , T is the number of forecasts.
The MSE is robust to the use of a noisy volatility proxy (it yields the same ranking of competing forecasts using an unbiased volatility proxy, see e.g., [59]).
The mean absolute error (MAE) is less sensitive to outliers, which is very important when evaluating extraordinary events. It is given as:
MAE = 1 T t = 1 T | σ R , t 2 σ f , t 2 | .
In order to assess whether the loss differentials between competing models are statistically significant two different tests are applied: the test of superior predictive ability (SPA) of Hansen [73] and the model confidence set (MCS) of Hansen et al. [74]. In the first test, it is checked whether each of the models considered is outperformed significantly by any of the alternatives. In this regard, the performance of the benchmark model relative to model k can be described as,
d k , t =   L ( σ R ,   t 2 , σ B , t 2 ) L ( σ R ,   t 2 , σ k , t 2 ) ,   k = 1 , ,   m ,   t = 1 , , T ,
where σ B , t 2 and σ k , t 2 are the volatility forecasts from the benchmark model and model k , respectively, L ( σ R ,   t 2 , σ B , t 2 ) , L ( σ R ,   t 2 , σ k , t 2 ) denote the loss functions, and m is the number of competing models (excluding the benchmark model). In this study, we applied two measures, namely MSE and MAE, to calculate L ( σ R ,   t 2 , σ B , t 2 ) . The null hypothesis of the SPA test is formulated as,
H 0 : E [ d k , t ] 0 ,   for   all   k = 1 , ,   m ,
meaning that the benchmark model is the best forecasting model compared to any of the models k = 1 , , m . The test statistic can be expressed as,
SPA = max k T d ¯ k ω ¯ k ,
where d ¯ k is the mean of d k , t and ω ¯ k is a consistent estimator of the asymptotic variance.
The objective of the MCS procedure is to determine the set of best models, denoted as M b e s t , from a given collection of models, M . The set of the best models is defined as,
M b e s t { i M : E [ d i j ] 0 }   for   all   j M ,
where d i j = L ( σ R ,   t 2 , σ i , t 2 ) L ( σ R ,   t 2 , σ j , t 2 ) is the loss differential for i , j M .
The null hypothesis is as follows,
H 0 : E [ d i j , t ] = 0 ,   for   all   i , j M s ,
where M s M . The testing procedure begins with initially setting M s = M . Then the null hypothesis is tested at a given significance level. If the null is not rejected then the M ^ b e s t = M s , otherwise the model that contributes most to the test statistic is removed from M s and the whole procedure is repeated until there is no more models to be removed. The M ^ b e s t is then referred to as the model confidence set (MCS). The best models are selected with a given level of confidence in terms of a criterion for the loss function that is user-specified. In our case we use the MSE and MAE as such criteria.

3.3. Results for the Squared Daily Return Used as a Proxy of Volatility

In this Section we evaluate the forecasts by applying the squared daily return as a proxy of volatility. The results are given in Table 2 and Table 3, for the MSE, and MAE measures, respectively.
Both for the MSE and MAE measures, the highest errors of the forecasts are for natural gas, while the lowest are for gasoil. It corresponds with the fact that these commodities have the highest, and the lowest volatility of daily returns, respectively (see Table 1). The values of MSE are considerably higher than of MAE because the former measure is more sensitive to outliers.
Figure 2 depicts the one-day-ahead volatility forecasts for one selected commodity, namely crude oil. For greater clarity, we present the forecasts only for the two best models in their classes chosen according to the MSE criterion, i.e., SVR-lin-15 and GARCH-t. We found that the forecasts from the GARCH models are greater than those from SVR in times of high volatility. It relates to the observation that the GARCH models react more quickly and strongly to the past huge changes in volatility than the SVR models. That is the reason squared forecasting errors are higher for the SVR models than for the GARCH ones. These general conclusions are also valid for other analyzed energy commodities.
Generally, the GARCH models have lower MSE values than the SVR models, but when it comes to MAE we cannot derive such general conclusion. However, according to the MAE measure the SVR-lin-15 model is often preferable. In order to assess whether these findings are statistically significant we apply the SPA and MCS tests (calculated p-values are given in Table 2 and Table 3, for the MSE, and MAE measures, respectively).
The results of the SPA test for the MSE measure indicate that only the following models are outperformed significantly (at the 10% significance level) by any of the alternatives: IGARCH for crude oil, SVR-lin-1, SVR-rbf-1, SVR-rbf-15 for gasoil, SVR-rbf-15 for gasoline, IGARCH, GARCH-M, SVR-rbf-15 for heating oil and SVR-lin-1, SVR-rbf-1 for natural gas. According to the results of the MCS test, all models for all commodities belong to the model confidence set and there is no evidence to reject the null hypothesis of equal predictive ability. It means that the MCS test with the MSE criterion does not differentiate the examined models.
In contrast to the results for MSE, the SPA test for the MAE measure rejects the null hypothesis for most cases, indicating that most models are outperformed significantly by any of the alternatives. The only exceptions are: SVR-lin-15 for crude oil, EGARCH, APARCH for gasoil, SVR-lin-15 for gasoline, GARCH-n, GARCH-t, EGARCH, APARCH, SVR-lin-15 for heating oil and SVR-lin-1, SVR-lin-15, SVR-rbf-1 for natural gas. Similar conclusions come from the results of the MCS test and indicate that the most accurate forecast of volatility are obtained from SVR-lin-15 for crude oil, EGARCH, APARCH for gasoil, SVR-lin-1, SVR-rbf-1 for gasoline, EGARCH, APARCH, SVR-lin-15 for heating oil and SVR-lin-1, SVR-lin-15, SVR-rbf-1, SVR-rbf-15 for natural gas. It is worth noting that SVR-lin-15 is among the best models for all commodities except gasoil. It is difficult to choose the best model among the GARCH models for all analyzed commodities. However, forecasts based on the asymmetric GARCH models are often the most accurate.

3.4. Results for the Parkinson Estimator Used as a Proxy of Volatility

In this Section we evaluate the forecasting performance of the analyzed models by applying the Parkinson estimator as a proxy of volatility instead of the squared daily return. As it was discussed, this estimator is significantly more efficient than the classical variance estimator based on closing prices. For this reason we expect that the results of an evaluation of models may change significantly. The corresponding results are given in Table 4 and Table 5 for the MSE, and MAE measures, respectively.
Both the MSE and MAE forecasting errors are significantly lower when the Parkinson estimator is used for the forecasts evaluation. The values of these measures are sometimes even more than three times lower than those obtained for the squared daily returns (compare Table 2 and Table 3). The highest errors of forecasts are for natural gas, while the lowest for heating oil and gasoil.
Figure 3 depicts the one-day-ahead volatility forecasts for the same commodity as shown in Figure 2, namely crude oil. We present the forecasts only for the two best models in their classes chosen according to the MSE criterion, i.e., SVR-lin-15 and GJR. The main difference between Figure 2 and Figure 3 is that the values of the Parkinson estimator are considerably lower than the squared daily returns in the periods of high volatility. The findings derived from Figure 3 are similar to those from Figure 2. One can see that the forecasts from the GARCH models are greater than those from the SVR ones in times of high volatility. Moreover, the GARCH models fit even better to extreme changes in volatility than it is observed in the Figure 2. These general conclusions are also valid for the other investigated energy commodities.
The results of the SPA test for the MSE measure show that the following models are not outperformed significantly by any of the alternatives: EGARCH, GJR, APARCH for crude oil, GARCH-t, APARCH, IGARCH, GARCH-M for gasoil, GARCH-n, EGARCH, GJR, APARCH, IGARCH, GARCH-M for gasoline, GARCH-n, GARCH-t, EGARCH, GJR, APARCH, GARCH-M, SVR-lin-15 for heating oil and all GARCH models with SVR-rbf-15 for natural gas. The results of the MCS test are similar and the following models belong to the model confidence set: EGARCH, GJR, APARCH for crude oil, GARCH-n, GARCH-t, APARCH, IGARCH, GARCH-M for gasoil, all GARCH models with SVR-lin-1, SVR-lin-15 for gasoline, GARCH-n, GARCH-t, EGARCH, GJR, GARCH-M, SVR-lin-15 for heating oil and all GARCH models with SVR-rbf-15 for natural gas. According to the MSE measure the forecasts of volatility from the SVR models are generally inferior to the forecasts based on the GARCH models.
When it comes to the MAE measure the conclusions are quite similar to those for the MSE criterion. Significantly more precise forecasts of volatility are based on: EGARCH, GJR, APARCH, SVR-lin-15 for crude oil, APARCH for gasoil, all GARCH models with SVR-lin-15 (according to the SPA test) and all considered models except SVR-rbf-15 (according to the MCS test) for gasoline, EGARCH, APARCH for heating oil, GARCH-t, SVR-lin-15 (according to the SPA test) and GARCH-n, GARCH-t, SVR-lin-15 (according to the MCS test) for natural gas. Therefore for three energy commodities the SVR-lin-15 model is not significantly inferior to the GARCH models. It is difficult to choose the best model among the GARCH models for all analyzed commodities, however, similarly to the results in Section 3.3, forecasts based on the asymmetric GARCH models are often the most accurate.

3.5. Discussion of the Results

In this study, we apply two proxies of volatility to evaluate forecasts: The squared return and the Parkinson estimator. The former is an extremely noisy variance estimator and its usage can lead to an unreliable evaluation of models. That is the reason why the Parkinson estimator, which is significantly more accurate measure of volatility is also adopted.
When the squared daily returns are used as an ex-post volatility measure the results are ambiguous. The MSE values are large (due to the existence of large outliers) and it is not possible to indicate significantly better models amongst analyzed ones. Meanwhile, the MAE criterion favors the SVR-lin-15 model for most commodities. On the other hand, when the Parkinson estimator is used as a proxy of volatility the forecasting errors are significantly lower, indicating more accurate predictions from the considered models and usually the obtained results favor the GARCH models over the SVR ones. Our findings indicate that the accuracy of volatility forecasts depends substantially on the applied proxy of volatility. This conclusion is important since in most papers concerning the application of SVR models to volatility forecasting, only the squared daily returns (or a moving average of the daily squared returns) have been analyzed (e.g., [22,23,24,25,26,27,28,29,30,31,32,33]). Our results, obtained for the squared daily returns, confirm the conclusion formulated in these studies that SVR can lead to lower forecasting errors than the GARCH models. However, we argue that this forecasting superiority of SVR models is not unequivocal, since it depends on the measure used to evaluate the forecasting errors and is valid only for models with properly determined hyperparameters.

4. Conclusions

Due to global economic developments, emerging technological advances and economic, geopolitical and environmental events a significant increase in volatility of energy commodities prices has occurred in the last 20 years. This highly volatile environment has become attractive to financial speculators, magnifying the risk on the energy commodities markets. That is reason there is a strong need to look for more accurate methods of volatility forecasting for such commodities.
In the paper we compare the forecasting performance of the GARCH-type models with support vector regression for futures contracts of selected energy commodities: Crude oil, natural gas, heating oil, gasoil and gasoline. The GARCH models are a standard tool applied in the volatility literature, while SVR is one of machine learning techniques which have been gaining huge popularity in recent years.
We show that the accuracy of volatility forecasts depends substantially on the applied proxy of volatility. Our study confirms that SVR with properly determined hyperparameters can lead to lower forecasting errors than the GARCH models when the squared daily return is used as the proxy of volatility in an evaluation. Meanwhile, if we apply the Parkinson estimator which is a more accurate approximation of volatility, the results are different since they usually favor the GARCH models over SVR.
Moreover, it is difficult to choose the best model among the GARCH models for all analyzed commodities, however, forecasts based on the asymmetric GARCH models are often the most accurate. While, in the class of the SVR models, the results indicate the forecasting superiority of the SVR model with the linear kernel and 15 lags. Precisely speaking, in 92% (i.e., 18 cases out of 20) the SVR model with the linear kernel and 15 lags has the lowest MSE or MAE among SVR models, for all analyzed time series and for both volatility proxies.
In the future, this study can be extended in several directions. Firstly, other machine learning methods like neural networks or hybrid models can be applied. Secondly, other proxies of volatility like the realized variance or the bi-power variation can be used for the evaluation of forecasts. Thirdly, the analysis can be done for the COVID-19 crisis that is, for a period with unheard-of volatility on the energy market. Fourthly, the comparison of the models can be performed for simulated data assuming different generating processes.

Author Contributions

W.O. described, estimated and applied the SVR models. M.F. and P.F. described, estimated and applied the GARCH-type models. All authors wrote, reviewed and commented on the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Science Centre under Grant 2019/35/B/HS4/00642.

Acknowledgments

The authors would like to thank four anonymous reviewers for helpful and constructive comments.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Halkos, G.E.; Tsirivis, A.S. Effective energy commodity risk management: Econometric modeling of price volatility. Econ. Anal. Policy 2019, 63, 234–250. [Google Scholar] [CrossRef]
  2. Nomikos, N.K.; Pouliasis, P.K. Forecasting petroleum futures markets volatility: The role of regimes and market conditions. Energy Econ. 2011, 33, 321–337. [Google Scholar] [CrossRef]
  3. Wang, Y.; Wu, C. Forecasting energy market volatility using GARCH models: Can multivariate models beat univariate models? Energy Econ. 2012, 34, 2167–2181. [Google Scholar] [CrossRef]
  4. Chkili, W.; Hammoudeh, S.; Nguyen, D.K. Volatility forecasting and risk management for commodity markets in the presence of asymmetry and long memory. Energy Econ. 2014, 41, 1–18. [Google Scholar] [CrossRef]
  5. Klein, T.; Walther, T. Oil price volatility forecast with mixture memory GARCH. Energy Econ. 2016, 58, 46–58. [Google Scholar] [CrossRef] [Green Version]
  6. Kumar, D. Forecasting energy futures volatility based on the unbiased extreme value volatility estimator. IIMB Manag. Rev. 2017, 29, 294–310. [Google Scholar] [CrossRef]
  7. Herrera, A.M.; Hu, L.; Pastor, D. Forecasting crude oil price volatility. Int. J. Forecast. 2018, 34, 622–635. [Google Scholar] [CrossRef]
  8. Zhang, Y.-J.; Zhang, J.-L. Volatility forecasting of crude oil market: A new hybrid method. J. Forecast. 2018, 37, 781–789. [Google Scholar] [CrossRef]
  9. Bildirici, M.; Bayazit, N.G.; Ucan, Y. Analyzing crude oil prices under the impact of COVID-19 by using LSTARGARCHLSTM. Energies 2020, 13, 2980. [Google Scholar] [CrossRef]
  10. Lin, L.; Jiang, Y.; Xiao, H.; Zhou, Z. Crude oil price forecasting based on a novel hybrid long memory GARCH-M and wavelet analysis model. Phys. A 2020, 543, 123532. [Google Scholar] [CrossRef]
  11. Lin, Y.; Xiao, Y.; Li, F. Forecasting crude oil price volatility via a HM-EGARCH model. Energy Econ. 2020, 87, 104693. [Google Scholar] [CrossRef]
  12. Lv, X.; Shan, X. Modeling natural gas market volatility using GARCH with different distributions. Phys. A 2013, 392, 5685–5699. [Google Scholar] [CrossRef]
  13. Xie, W.; Yu, L.; Xu, S.; Wang, S. A New Method for Crude Oil Price Forecasting Based on Support Vector Machines. In Proceedings of the Computational Science–ICCS 2006, Reading, UK, 28–31 May 2006; Lecture Notes in Computer Science, 3994. Alexandrov, V.N., van Albada, G.D., Sloot, P.M.A., Dongarra, J., Eds.; Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar]
  14. Li, S.; Ge, Y. Crude Oil Price Prediction Based on a Dynamic Correcting Support Vector Regression Machine. Abstr. Appl. Anal. 2013, 2013, 528678. [Google Scholar]
  15. Fan, L.; Pan, S.; Li, Z.; Li, H. An ICA-based support vector regression scheme for forecasting crude oil prices. Technol. Forecast. Soc. Chang. 2016, 112, 245–253. [Google Scholar] [CrossRef]
  16. Li, T.; Zhou, M.; Guo, C.; Luo, M.; Wu, J.; Pan, F.; Tao, Q.; He, T. Forecasting Crude Oil Price Using EEMD and RVM with Adaptive PSO-Based Kernels. Energies 2016, 9, 1014. [Google Scholar] [CrossRef] [Green Version]
  17. Yu, L.; Zhang, X.; Wang, S. Assessing Potentiality of Support Vector Machine Method in Crude Oil Price Forecasting. EURASIA J. Math. Sci. Technol. Educ. 2017, 13, 7893–7904. [Google Scholar] [CrossRef]
  18. Li, T.; Zhou, Y.; Li, X.; Wu, J.; He, T. Forecasting Daily Crude Oil Prices Using Improved CEEMDAN and Ridge Regression-Based Predictors. Energies 2019, 12, 3603. [Google Scholar] [CrossRef] [Green Version]
  19. Hu, Y.; Trafalis, T.B. New kernel methods for asset pricing: Application to natural gas price prediction. Int. J. Financ. Mark. Deriv. 2011, 2, 106–120. [Google Scholar] [CrossRef]
  20. Su, M.; Zhang, Z.; Zhu, Y.; Zha, D. Data-Driven Natural Gas Spot Price Forecasting with Least Squares Regression Boosting Algorithm. Energies 2019, 12, 1094. [Google Scholar] [CrossRef] [Green Version]
  21. Suykens, J.A.K.; Vandewalle, J. Least squares support vector machine classifiers. Neural Process. Lett. 1999, 9, 293–300. [Google Scholar] [CrossRef]
  22. Gavrishchaka, V.V.; Ganguli, S.B. Volatility forecasting from multiscale and high-dimensional market data. Neurocomputing 2003, 55, 285–305. [Google Scholar] [CrossRef]
  23. Perez-Cruz, F.; Afonso-Rodriguez, J.; Giner, J. Estimating GARCH Models Using Support Vector Machines. Quant. Financ. 2003, 3, 163–172. [Google Scholar] [CrossRef]
  24. Gavrishchaka, V.V.; Banerjee, S. Support vector machine as an efficient framework for stock market volatility forecasting. Comput. Manag. Sci. 2006, 3, 147–160. [Google Scholar] [CrossRef]
  25. Chen, S.; Härdle, W.K.; Jeong, K. Forecasting volatility with support vector machine-based GARCH model. J. Forecast. 2010, 29, 406–433. [Google Scholar] [CrossRef]
  26. Ou, P.; Wang, H. Financial Volatility Forecasting by Least Square Support Vector Machine Based on GARCH, EGARCH and GJR Models: Evidence from ASEAN Stock Markets. Int. J. Econ. Financ. 2010, 2, 51–64. [Google Scholar] [CrossRef] [Green Version]
  27. Bildirici, M.; Ersin, O.O. Support Vector Machine GARCH and Neural Network GARCH Models in Modeling Conditional Volatility: An Application to Turkish Financial Markets. Available online: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2227747 (accessed on 15 October 2020).
  28. Geng, L.-Y.; Yu, F. Forecasting Stock Volatility using LSSVR-based GARCH Model Optimized by Siwpso Algorithm. J. Appl. Sci. 2013, 13, 5132–5137. [Google Scholar] [CrossRef] [Green Version]
  29. Santamaría-Bonfil, G.; Frausto-Solís, J.; Vázquez-Rodarte, I. Volatility forecasting using support vector regression and a hybrid genetic algorithm. Comput. Econ. 2015, 45, 111–133. [Google Scholar] [CrossRef]
  30. Bezerra, P.C.S.; Albuquerque, P.H.M. Volatility forecasting via SVR–GARCH with mixture of Gaussian kernels. Comput. Manag. Sci. 2017, 14, 179–196. [Google Scholar] [CrossRef]
  31. Bezerra, P.C.S.; Albuquerque, P.H.M. Volatility Forecasting: The Support Vector Regression Can Beat the Random Walk. Econ. Comput. Econ. Cybern. Stud. Res. 2019, 4, 115–126. [Google Scholar]
  32. Peng, Y.; Albuquerque, P.H.; de Sá, J.M.C.; Padula, A.J.A.; Montenegro, M.R. The best of two worlds: Forecasting high frequency volatility for cryptocurrencies and traditional currencies with support vector regression. Expert Syst. Appl. 2018, 97, 177–192. [Google Scholar] [CrossRef]
  33. Gong, X.-L.; Liu, X.-H.; Xiong, X.; Zhuang, X.-T. Forecasting stock volatility process using improved least square support vector machine approach. Soft Comput. 2019, 23, 11867–11881. [Google Scholar] [CrossRef]
  34. Bollerslev, T. Generalised Autoregressive Conditional Heteroskedasticity. J. Econom. 1986, 31, 307–327. [Google Scholar] [CrossRef] [Green Version]
  35. Nelson, D.B.; Cao, C.Q. Inequality Constraints in the Univariate GARCH Model. J. Bus. Econ. Stat. 1992, 10, 229–235. [Google Scholar]
  36. Bollerslev, T. A Conditionally Heteroskedastic Time Series Model for Speculative Prices and Rates of Return. Rev. Econ. Stat. 1987, 69, 542–547. [Google Scholar] [CrossRef] [Green Version]
  37. Nelson, D.B. Conditional Heteroskedasticity in Asset Returns: A New Approach. Econometrica 1991, 59, 347–370. [Google Scholar] [CrossRef]
  38. Glosten, L.R.; Jagannathan, R.; Runkle, D.E. On the Relation Between the Expected Value and the Volatility of the Nominal Excess Return on Stocks. J. Financ. 1993, 48, 1779–1801. [Google Scholar] [CrossRef]
  39. Ding, Z.; Granger, C.W.J.; Engle, R.F. A Long Memory Property of Stock Market Returns and a New Model. J. Empir. Financ. 1993, 1, 83–106. [Google Scholar] [CrossRef]
  40. Zakoian, J.M. Threshold heteroskedastic models. J. Econ. Dyn. Control 1994, 18, 931–955. [Google Scholar] [CrossRef]
  41. Taylor, S.J. Modelling Financial Time Series; Wiley: Chichester, UK, 1986. [Google Scholar]
  42. Schwert, W. Stock volatility and the crash of ’87. Rev. Financ. Stud. 1990, 3, 77–102. [Google Scholar] [CrossRef] [Green Version]
  43. Higgins, M.; Bera, A. A class of nonlinear arch models. Int. Econ. Rev. 1992, 33, 137–158. [Google Scholar] [CrossRef]
  44. Geweke, J. Modelling the Persistence of Conditional Variances: A Comment. Econom. Rev. 1986, 5, 57–61. [Google Scholar] [CrossRef]
  45. Pentula, S. Modelling the Persistence of Conditional Variances: A Comment. Econom. Rev. 1986, 5, 71–74. [Google Scholar]
  46. Engle, R.F.; Bollerslev, T. Modelling the Persistence of Conditional Variances. Econom. Rev. 1986, 5, 1–50. [Google Scholar] [CrossRef]
  47. Engle, R.F.; Lilien, D.M.; Robins, R.P. Estimating Time Varying Risk Premia in the Term Structure: The ARCH-M Model. Econometrica 1987, 55, 391–407. [Google Scholar] [CrossRef]
  48. Smola, A.J.; Schölkopf, B. A tutorial on support vector regression. Stat. Comput. 2004, 14, 199–222. [Google Scholar] [CrossRef] [Green Version]
  49. Cherkassky, V.; Ma, Y. Practical selection of SVM parameters and noise estimation for SVM regression. Neural Netw. 2004, 17, 113–126. [Google Scholar] [CrossRef] [Green Version]
  50. Lee, S.; Kim, C.K.; Lee, S. Hybrid CUSUM Change Point Test for Time Series with Time-Varying Volatilities Based on Support Vector Regression. Entropy 2020, 22, 578. [Google Scholar] [CrossRef] [PubMed]
  51. Vapnik, V.N. The Nature of Statistical Learning Theory; Springer: Berlin/Heidelberg, Germany, 1995. [Google Scholar]
  52. Martínez-Álvarez, F.; Troncoso, A.; Asencio-Cortés, G.; Riquelme, J.C. A Survey on Data Mining Techniques Applied to Electricity-Related Time Series Forecasting. Energies 2015, 8, 13162–13193. [Google Scholar] [CrossRef] [Green Version]
  53. Peng, L.-L.; Fan, G.-F.; Huang, M.-L.; Hong, W.-C. Hybridizing DEMD and Quantum PSO with SVR in Electric Load Forecasting. Energies 2016, 9, 221. [Google Scholar] [CrossRef]
  54. Lux, M.; Härdle, W.K.; Lessmann, S. Data driven value-at-risk forecasting using a SVR-GARCH-KDE hybrid. Comput. Stat. 2020, 35, 947–981. [Google Scholar] [CrossRef]
  55. Andersen, T.G.; Bollerslev, T. Answering the Skeptics: Yes, Standard Volatility Models Do Provide Accurate Forecasts. Int. Econ. Rev. 1998, 39, 885–905. [Google Scholar] [CrossRef]
  56. Mapa, D. A Range-Based GARCH Model for Forecasting Volatility. Philipp. Rev. Econ. 2003, 60, 73–90. [Google Scholar]
  57. Chou, R.Y. Forecasting Financial Volatilities with Extreme Values: The Conditional Autoregressive Range (CARR) Model. J. Money Credit Bank. 2005, 37, 561–582. [Google Scholar] [CrossRef]
  58. Liu, H.C.; Hung, J.C. Forecasting Volatility and Capturing Downside Risk of the Taiwanese Futures Markets under the Financial Tsunami. Manag. Financ. 2010, 36, 860–875. [Google Scholar] [CrossRef]
  59. Patton, A.J. Volatility Forecast Comparison using Imperfect Volatility Proxies. J. Econom. 2011, 160, 246–256. [Google Scholar] [CrossRef] [Green Version]
  60. Molnár, P. High-low range in GARCH models of stock return volatility. Appl. Econ. 2016, 48, 4977–4991. [Google Scholar] [CrossRef]
  61. Fiszeder, P. Low and high prices can improve covariance forecasts: The evidence based on currency rates. J. Forecast. 2018, 37, 641–649. [Google Scholar] [CrossRef]
  62. Fiszeder, P.; Fałdziński, M. Improving Forecasts with the Co-Range Dynamic Conditional Correlation Model. J. Econ. Dyn. Control 2019, 108, 103736. [Google Scholar] [CrossRef]
  63. Fiszeder, P.; Fałdziński, M.; Molnár, P. Range-Based DCC Models for Covariance and Value-at-Risk Forecasting. J. Empir. Financ. 2019, 54, 58–76. [Google Scholar] [CrossRef]
  64. Wu, X.; Hou, X. Forecasting volatility with component conditional autoregressive range model. N. Am. J. Econ. Financ. 2020, 51, 101078. [Google Scholar] [CrossRef]
  65. Parkinson, M. The Extreme Value Method for Estimating the Variance of the Rate of Return. J. Bus. 1980, 53, 61–65. [Google Scholar] [CrossRef]
  66. Degiannakis, S.; Livada, A. Realized Volatility or Price Range: Evidence from a Discrete Simulation of the Continuous Time Diffusion Process. Econ. Model. 2013, 30, 212–216. [Google Scholar] [CrossRef] [Green Version]
  67. Garman, M.B.; Klass, M.J. On the Estimation of Security Price Volatilities from Historical Data. J. Bus. 1980, 53, 67–78. [Google Scholar] [CrossRef]
  68. Rogers, L.C.G.; Satchell, S.E. Estimating Variance From High, Low and Closing Prices. Ann. Appl. Probab. 1991, 1, 504–512. [Google Scholar] [CrossRef]
  69. Shu, J.; Zhang, J.E. Testing Range Estimators of Historical Volatility. J. Futures Mark. 2006, 26, 297–313. [Google Scholar] [CrossRef]
  70. Alizadeh, S.; Brandt, M.; Diebold, F.X. Range-Based Estimation of Stochastic Volatility Models. J. Financ. 2002, 57, 1047–1091. [Google Scholar] [CrossRef] [Green Version]
  71. Alterman, S. Natural Gas Price Volatility in the UK and North America; NG 60; Oxford Institute for Energy Studies: Oxford, UK, 2012. [Google Scholar]
  72. Hwang, S.; Valls Pereira, P.L. The effects of structural breaks in ARCH and GARCH parameters on persistence of GARCH models. Commun. Stat.-Simul. Comput. 2006, 37, 571–578. [Google Scholar] [CrossRef]
  73. Hansen, P.R. A Test for Superior Predictive Ability. J. Bus. Econ. Stat. 2005, 23, 365–380. [Google Scholar] [CrossRef] [Green Version]
  74. Hansen, P.R.; Lunde, A.; Nason, J.M. The Model Confidence Set. Econometrica 2011, 79, 453–497. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Daily closing prices and open-to-close returns of the investigated energy commodities.
Figure 1. Daily closing prices and open-to-close returns of the investigated energy commodities.
Energies 14 00006 g001aEnergies 14 00006 g001b
Figure 2. One-day-ahead volatility forecasts and the squared daily returns for crude oil.
Figure 2. One-day-ahead volatility forecasts and the squared daily returns for crude oil.
Energies 14 00006 g002
Figure 3. One-day-ahead volatility forecasts and values of the Parkinson estimator for crude oil.
Figure 3. One-day-ahead volatility forecasts and values of the Parkinson estimator for crude oil.
Energies 14 00006 g003
Table 1. Summary statistics of daily returns, squared returns and values of the Parkinson estimator.
Table 1. Summary statistics of daily returns, squared returns and values of the Parkinson estimator.
CommoditiesMeanMinMaxSDSkewKurtLB
Returns
Crude oil−0.053−8.6249.7422.190−0.0424.5090.187
Gasoil−0.019−7.9947.7751.7970.2245.3860.096
Gasoline−0.034−8.6249.7422.004−0.134.4920.205
Heating oil−0.022−10.2267.7761.8520.1824.9940.103
Natural gas−0.091−14.48417.2162.3640.2607.2420.147
Squared returns
Crude oil4.7990.00094.9058.9934.21227.4290.000
Gasoil3.2310.00095.5436.7595.88657.2430.000
Gasoline4.0180.000104.5757.5174.75140.0420.000
Heating oil3.4320.00090.4216.8505.01841.0090.000
Natural gas5.5970.000296.39213.92611.445197.9590.000
Parkinson estimator
Crude oil4.7630.25354.2455.6183.27617.5810.000
Gasoil3.4324.24543.2554.2453.84823.6950.000
Gasoline4.1460.19149.7614.5793.48821.6470.000
Heating oil3.3550.20436.6493.8873.54920.6460.000
Natural gas5.5810.262162.5078.3549.635154.0350.000
Note: Mean is arithmetic mean, Min is minimum, Max is maximum, SD is standard deviation, Skew is skewness, Kurt is excess kurtosis, LB denotes the p-value of the Ljung-Box test for 10 lags. The sample period is 2 January 2015 to 31 December 2019.
Table 2. Evaluation of the variance forecasts in terms of the MSE measure for the squared daily returns used as a proxy of volatility.
Table 2. Evaluation of the variance forecasts in terms of the MSE measure for the squared daily returns used as a proxy of volatility.
ModelCrude OilGasoilGasolineHeating OilNatural Gas
M S E SPAMCS M S E SPA MCS M S E SPA MCS M S E SPA MCS M S E SPA MCS
GARCH-n3.8620.1550.294 *0.7270.8690.851 *2.8540.5890.614 *1.3720.8000.951 *24.5750.6950.651 *
GARCH-t3.8600.2100.325 *0.7270.8430.851 *2.8890.3370.568 *1.3790.3510.839 *24.3060.6810.651 *
EGARCH3.7770.7990.656 *0.7260.7230.851 *2.8490.3970.614 *1.3600.8861.000 *26.0360.2060.651 *
GJR3.7540.9451.000 *0.7390.1970.773 *2.8070.7470.750 *1.3790.3340.893 *24.2310.5010.651 *
APARCH3.8190.4530.615 *0.7200.9601.000 *2.7900.8961.000 *1.4160.1300.428 *24.4280.2210.651 *
IGARCH3.9150.0050.133 *0.7310.5190.851 *2.9110.1190.540 *1.4020.0320.343 *24.7080.4220.651 *
GARCH-M3.8960.1710.133 *0.7340.5540.851 *2.8650.1800.577 *1.3810.0480.789 *24.6560.3720.651 *
SVR_lin_13.9680.1540.185 *0.7570.0000.170 *2.8840.4500.600 *1.3660.7700.954 *26.1280.0510.651 *
SVR-lin-153.9180.3870.350 *0.7290.6290.851 *2.8910.4010.577 *1.3620.9020.954 *25.6800.8441.000 *
SVR-rbf-13.9260.1690.129 *0.7620.0650.577 *2.8930.3060.568 *1.3900.1680.647 *26.0730.0640.651 *
SVR-rbf-153.9570.1730.128 *0.7570.0510.275 *3.0130.0070.444 *1.4100.0100.193 *25.5430.3800.651 *
Note: The values of MSE are multiplied by 10−1, the lowest values of MSE for each energy commodity are marked in bold, * indicates that models belong to MCS with a confidence level of 0.90. SPA and MCS denote the p-value of the SPA and MCS tests, respectively. The evaluation period is from 3 January 2017 to 31 December 2019.
Table 3. Evaluation of the variance forecasts in terms of the MAE measure for the squared daily returns used as a proxy of volatility.
Table 3. Evaluation of the variance forecasts in terms of the MAE measure for the squared daily returns used as a proxy of volatility.
ModelCrude OilGasoilGasolineHeating OilNatural Gas
M A E SPAMCS M A E SPA MCS M A E SPA MCS M A E SPA MCS M A E SPA MCS
GARCH-n0.3430.0000.0000.1840.0000.0000.3020.0000.0000.2290.1390.0820.5680.0000.010
GARCH-t0.3410.0000.0000.1850.0000.0000.3000.0000.0010.2290.1630.0830.5540.0010.004
EGARCH0.3300.0230.0000.1750.7211.000 *0.3020.0240.0030.2240.9681.000 *0.5900.0000.000
GJR0.3340.0030.0000.1800.0010.0220.3030.0070.0010.2280.0610.0830.5770.0000.002
APARCH0.3320.0480.0000.1760.2800.564 *0.3010.0180.0030.2270.3380.326 *0.6010.0000.001
IGARCH0.3530.0000.0000.1830.0000.0020.3080.0010.0000.2340.0070.0200.5790.0000.001
GARCH-M0.3420.0000.0000.2020.0000.0000.3030.0000.0000.2340.0000.0090.5690.0010.005
SVR_lin_10.3260.0000.0000.1980.0000.0000.2900.0960.197 *0.2340.0000.0420.4860.5120.679 *
SVR-lin-150.3170.5681.000 *0.1900.0000.0000.2880.9151.000 *0.2290.1840.142 *0.4640.7201.000 *
SVR-rbf-10.3290.0000.0000.1970.0000.0000.2920.0460.117 *0.2360.0010.0100.4880.2790.679 *
SVR-rbf-150.3390.0000.0000.1950.0000.0000.3140.0000.0000.2380.0010.0050.5310.0000.110 *
Note: The values of MAE are multiplied by 10−1, the lowest values of MAE for each energy commodity are marked in bold, * indicates that models belong to MCS with a confidence level of 0.90. SPA and MCS denote the p-values of the SPA and MCS tests, respectively. The evaluation period is from 3 January 2017 to 31 December 2019.
Table 4. Evaluation of the variance forecasts in terms of the MSE measure for the Parkinson estimator used as a proxy of volatility.
Table 4. Evaluation of the variance forecasts in terms of the MSE measure for the Parkinson estimator used as a proxy of volatility.
ModelCrude OilGasoilGasolineHeating OilNatural Gas
M S E SPAMCS M S E SPA MCS M S E SPA MCS M S E SPA MCS M S E SPA MCS
GARCH-n1.2310.0150.0470.5870.0170.104 *0.9220.3910.600 *0.4300.2890.143 *7.5680.9230.939 *
GARCH-t1.2440.0250.0310.5820.1280.116 *0.9610.0560.341 *0.4340.1250.113 *7.4280.9060.948 *
EGARCH1.1880.2650.306 *0.6180.0300.0630.9430.1830.449 *0.4110.9941.000 *8.5390.1850.154 *
GJR1.1470.9351.000 *0.6210.0340.0290.9100.5430.668 *0.4300.1100.113 *7.3590.9851.000 *
APARCH1.1970.3640.306 *0.5860.1110.116 *0.8960.6340.668 *0.4510.1180.0747.6910.4040.703 *
IGARCH1.2320.0080.0950.5770.1790.116 *0.8790.8821.000 *0.4440.0780.0747.6710.3170.703 *
GARCH-M1.2670.0260.0260.5530.9681.000 *0.9290.1580.490 *0.4340.2230.113 *7.6090.3810.703 *
SVR_lin_11.4310.0180.0180.6200.0050.0231.0440.0310.210 *0.4490.0780.0689.9240.0040.012
SVR-lin-151.3780.0060.0220.6010.0490.0851.0270.0200.160 *0.4410.1480.113 *8.7260.0290.045
SVR-rbf-11.4050.0020.0020.6310.0180.0341.0520.0270.0410.4640.0220.0499.8650.0070.058
SVR-rbf-151.3850.0220.0060.6330.0000.0111.0780.0000.0070.4780.0030.0309.1200.1060.154 *
Note: The values of MSE are multiplied by 10−1, the lowest values of MSE for each energy commodity are marked in bold, * indicates that models belong to MCS with a confidence level of 0.90. SPA and MCS denote the p-values of the SPA and MCS tests, respectively. The evaluation period is from 3 January 2017 to 31 December 2019.
Table 5. Evaluation of the variance forecasts in terms of the MAE measure for the Parkinson estimator used as a proxy of volatility.
Table 5. Evaluation of the variance forecasts in terms of the MAE measure for the Parkinson estimator used as a proxy of volatility.
ModelCrude OilGasoilGasolineHeating OilNatural Gas
M A E SPAMCS M A E SPA MCS M A E SPA MCS M A E SPA MCS M A E SPA MCS
GARCH-n0.2120.0030.0210.1350.0120.0010.1860.9781.000 *0.1390.0110.0050.3420.0850.143 *
GARCH-t0.2120.0050.0090.1350.0140.0010.1880.3520.880 *0.1390.0120.0090.3280.8721.000 *
EGARCH0.1980.9911.000 *0.1340.0170.0070.1910.3080.761 *0.1310.7911.000 *0.3700.0000.004
GJR0.2010.3210.271 *0.1360.0020.0000.1880.6330.937 *0.1370.0070.0400.3500.0550.045
APARCH0.2030.1620.108*0.1290.6941.000 *0.1860.8650.998 *0.1330.3640.412 *0.3820.0000.001
IGARCH0.2160.0000.0040.1350.0060.0010.1860.7920.998 *0.1420.0000.0010.3490.0190.027
GARCH-M0.2130.0040.0010.1430.0000.0000.1870.2590.974 *0.1410.0000.0010.3420.0820.072
SVR_lin_10.2170.0000.0010.1490.0000.0000.1930.0230.534 *0.1450.0000.0000.3640.0040.013
SVR-lin-150.2040.2370.108 *0.1400.0000.0000.1880.5690.938 *0.1410.0040.0020.3470.2790.364 *
SVR-rbf-10.2190.0000.0000.1490.0000.0000.1950.0030.330 *0.1470.0000.0000.3590.0240.018
SVR-rbf-150.2220.0000.0000.1480.0000.0000.2060.0000.0450.1480.0000.0000.3620.0340.013
Note: The values of MAE are multiplied by 10−1, the lowest values of MAE for each energy commodity are marked in bold, * indicates that models belong to MCS with a confidence level of 0.90. SPA and MCS denote the p-values of the SPA and MCS tests, respectively. The evaluation period is from 3 January 2017, to 31 December 2019.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fałdziński, M.; Fiszeder, P.; Orzeszko, W. Forecasting Volatility of Energy Commodities: Comparison of GARCH Models with Support Vector Regression. Energies 2021, 14, 6. https://doi.org/10.3390/en14010006

AMA Style

Fałdziński M, Fiszeder P, Orzeszko W. Forecasting Volatility of Energy Commodities: Comparison of GARCH Models with Support Vector Regression. Energies. 2021; 14(1):6. https://doi.org/10.3390/en14010006

Chicago/Turabian Style

Fałdziński, Marcin, Piotr Fiszeder, and Witold Orzeszko. 2021. "Forecasting Volatility of Energy Commodities: Comparison of GARCH Models with Support Vector Regression" Energies 14, no. 1: 6. https://doi.org/10.3390/en14010006

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