 Research
 Open Access
 Published:
Uncertainty and energysector equity returns in Iran: a Bayesian and quasiMonte Carlo timevarying analysis
Financial Innovation volumeÂ 5, ArticleÂ number:Â 12 (2019)
Abstract
This study investigates whether the implied crude oil volatility and the historical OPEC price volatility can impact the return to and volatility of the energysector equity indices in Iran. The analysis specifically considers the refining, drilling, and petrochemical equity sectors of the Tehran Stock Exchange. The parameter estimation uses the quasiMonte Carlo and Bayesian optimization methods in the framework of a generalized autoregressive conditional heteroskedasticity model, and a complementary Bayesian network analysis is also conducted. The analysis takes into account geopolitical risk and economic policy uncertainty data as other proxies for uncertainty. This study also aims to detect different price regimes for each equity index in a novel way using homogeneous/nonhomogeneous Markov switching autoregressive models. Although these methods provide improvements by restricting the analysis to a specific priceregime period, they produce conflicting results, rendering it impossible to draw general conclusions regarding the contagion effect on returns or the volatility transmission between markets. Nevertheless, the results indicate that the OPEC (historical) price volatility has a stronger effect on the energy sectors than the implied volatility has. These types of oil price shocks are found to have no effect on the drilling sector price pattern, whereas the refining and petrochemical equity sectors do seem to undergo changes in their price patterns nearly concurrently with future demand shocks and oil supply shocks, respectively, gaining dominance in the oil market.
Introduction
As global financial markets become more integrated, knowledge of their mutual interplay becomes more important for market participants to choose appropriate investment strategies. Furthermore, the financialization of the commodity markets has provided valuable tools for managing portfolio risks (Erb and Harvey 2006; Silvennoinen and Thorp 2013). As a commodity, crude oil has a wellrecognized impact on equity markets worldwide. Early studies of the impact of oil prices on aggregate stock returns are limited to specific countries, with mixed findings. Some studies find a positive relationship (Narayan and Narayan 2010; Zhu et al. 2011; Zhu et al. 2014; Silvapulle et al. 2017), others find a negative relationship (Gjerde and Saettem 1999; Sadorsky 1999; Papapetrou 2001; Basher and Sadorsky 2006; Driesprong et al. 2008; Park and Ratti 2008; Chen 2009; Filis 2010; Basher et al. 2012), and still others find no relationship (Huang et al. 1996; Cong et al. 2008; Apergis and Miller 2009; Miller and Ratti 2009; Reboredo and RiveroCastro 2014; Hatemi et al. 2017). These conflicting results may arise owing to several underlying pitfalls in the studies, such as not considering the level of oil dependence among stock markets, not explicitly considering heterogeneity in the context in which the aggregate index is exposed to gains or losses from changes in the oil price, the nature of the oil price shock considered, and the timevarying element used (Smyth and Narayan 2018).
Whereas earlier studies assume linear and symmetrical adjustment processes for the underlying variables (Zhu et al. 2011), the current view favors assuming an asymmetrical effect of oil prices on stock returns (Basher and Sadorsky 2006; Kilian 2008; Kilian and Park 2009; Arouri 2011; Aggarwal et al. 2012; Asteriou and Bashmakova 2013; Narayan and Gupta 2015; Phan et al. 2015; Kang et al. 2016; Li et al. 2017). This view is further supported by the nonlinear characteristics of the oil pricestock return relationship. However, some empirical studies do not support this view, as they either find no asymmetric effects (Bachmeier 2008; Cong et al. 2008; Nandha and Faff 2008; Mollick and Assefa 2013; Reboredo and RiveroCastro 2014; Asalman and Herrera 2015; Reboredo and Ugolini 2016) or only find evidence for such effects in oilimporting countries in the period after the global financial crisis (Ramos and Veiga 2013). Failure to account for the mixed heterogeneous effects of positive and negative oil price shocks on individual stock returns and merely considering aggregate stock returns may result in these conflicting findings (Tsai 2015).
Furthermore, Kilian (2008) seminal work demonstrates that the nature of the oil price structural shock, be it an oil supply shock, aggregate demand shock, or oilspecific demand shock, could be an important factor in the oilâ€“stock interplay, and failure to consider it may result in erroneous findings (Kilian and Park 2009). The period during which each type of stock gains dominance can be obtained by decomposing oil price data (Fueki et al. 2016). Performing this analysis shows that oil supply shocks were mainly influential from the second half of 2013 through the first half of 2015. Currently, oil supply shocks are no longer as important to macroeconomic developments, and aggregate demand shocks are seen as more influential (Kang et al. 2016). Further, empirical evidence shows that the effect of the oil price on equity returns varies considerably across sectors depending on the nature of the structural shock (Broadstock and Filis 2014). The effect of an oil supply shock is found to be positive (Basher et al. 2012; Abhyankar et al. 2013) or negative (Gupta and Modise 2013; Cunado and de Gracia 2014). For oilspecific demand shocks, however, the empirical evidence almost unanimously suggests a negative effect on equity returns in oilimporting countries (Filis et al. 2011; Basher et al. 2012; Abhyankar et al. 2013; Gupta and Modise 2013; GÃ¼ntner 2014; Koh 2017) and a positive effect for Norway, an oilexporting nation.
Another puzzling feature of the oilâ€“stock relationship is that it exhibits different behaviors in periods of low and high economic volatility; in other words, it varies over time. Quite a few studies focus on this feature, primarily using Markovswitching vector autoregression (VAR) models, regime switching models, wavelet decomposition, or frequency domain methods (Aloui and Jimmazi 2009; Chen 2009; Mohanty et al. 2010; Reboredo 2010; Jammazi and Aloui 2010; Daskalaki and Skiadopolous 2011; Filis et al. 2011; Chang and Yu 2013; Ciner 2013; Broadstock and Filis 2014; Reboredo and RiveroCastro, 2014; Zhang and Li 2014; Kang et al. 2015; MartinBarragan et al. 2015; Xu 2015; Zhang 2017; Zhu et al. 2017). Concurrently, studies have examined the role of oil price volatility on stock returns using both generalized autoregressive conditional heteroskedasticity (GARCH)type models and structural VAR models (Ã„ijÃ¶ 2008; Arouri and Nguyen 2010; Choi and Hammoudeh 2010; Elyasiani et al. 2011; Chen 2014; Lin et al. 2014; Narayan and Sharma 2014; Kang et al. 2015; Salisu and Oloko 2015; Awartani et al. 2016; Maghyereh et al. 2016; Bouri et al. 2017a, 2017b). The findings show that the volatility spillovers across markets can be strong and are significantly influenced by structural breaks, indicating a heterogeneous volatility transmission phenomenon with potential economic significance for hedging purposes. Thus, the recommended approach involves using the implied rather than the historical volatility in analyzing the crossmarket association, as the former is a more accurate predictor of investor sentiment.
Many studies have focused on the effect of the oil priceâ€“stock returns relationship at the sector level (Cong et al. 2008; Arouri 2011; Elyasiani et al. 2011; Narayan and Sharma 2011; Lee et al. 2012; Li et al. 2012; MoyaMartinez et al. 2014; Caporale et al. 2015; Xu 2015; Zhu et al. 2016; Li et al. 2017; Peng et al. 2017), and many specifically focus on the oil and gas sector (Sadorsky 2001; Boyer and Filion 2007; Cong et al. 2008; Nandha and Faff 2008; Gupta 2016; Li et al. 2017). A key conclusion of these studies is that oil price increases positively affect the stock returns of firms in the oil and gas sector (Smyth and Narayan 2018), with a prolonged nonlinear relationship that strengthens over time (Managi and Okimoto 2013). However, the bulk of these studies focus on developed economies and rarely extend their analyses to emerging or transition markets.
At the country level, studies have been conducted for oilimporting (Masih et al. 2011; Cunado and de Gracia 2014; Bouri 2015; Silvapulle et al. 2017) and oilexporting countries (Bjornland 2009; Arouri and Rault 2012; Mohanty et al. 2011; Ramos and Veiga 2013; GilAlana and Yaya 2014; Demirer et al. 2015), as is intuitive. Although their findings vary, these studies generally find that oil prices positively affect equity returns in oilexporting countries (Smyth and Narayan 2018). Only a limited number of previous studies examine the oil priceâ€“stock relationship in Iran, and few focus on the effect on the price index of the Tehran Stock Exchange (TSE) (Najafabadi et al. 2012) or its volatility (Davoudi et al. 2018).
Based on the above literature review, this study makes a twofold contribution to the existing literature. It provides the first analysis of the oil price impact on equity returns in Iranâ€™s oil sector, and it uses a firsthand application of the quasiMonte Carlo (QMC) method and Bayesian network (BN) theory in this setting. The remainder of the paper proceeds as follows. The next section provides a description and preliminary analysis of the data. Section 3 outlines the research methodology used in the empirical investigation. A discussion of the results is presented in Section 4, followed by the concluding remarks.
Data
Implied oil volatility index
The implied oil volatility index is reported by the Chicago Board of Options Exchange and is constructed on an option basis, disregarding the pricing models. In this process, the market prices of outofthemoney calls and puts are incorporated into the computation, and the implied crude oil volatility (OVX) is obtained using Eq. 1:
Here, T is the time to maturity of the set of options, F is the forward price level derived from the smallest callput option premium difference, R is the riskfree interest rate, \( \varDelta {K}_i=\frac{k_{i+1}{K}_{i1}}{2} \)measures the average interval of the two strike prices adjacent to the strike price of option i, K0 denotes the first strike price below the forward price level F, and (K i) represents the option premium computed as the midpoint of the bidask Q spread of each option with strike price K i (Maghyereh et al. 2016). This measure provides an accurate reflection of future market volatility. Other useful texts (Maghyereh et al. 2016) on this topic, however, provide more detailed information on the OVX computation.
Preliminary statistics
Daily data on stock prices were obtained from the TSE archive (Tehran Stock Exchange archive 2018). The archive contains data on several equity sectors, among which the oil drilling (ODR), oil refining (ORE), and chemical/petrochemical (PET) categories are presumably the mostrelevant to the energy sector. Thus, this study uses data from these sectors. In addition, data on geopolitical risk (GPR), global economic policy uncertainty (EPU) (Economic Policy Uncertainty 2018) and the TSE price index (TPI) are incorporated to account for other proxies for uncertainty in the analysis. The implied oil volatility is inferred from OVX, whereas the historical oil volatility is taken from OPEC oil price data (OPEC), both of which were obtained using the Quandl package (McTaggart et al. 2016).
The sample spans September 27, 2009 to November 12, 2018, which is an interesting period that witnessed several major market events, including the emergence of shale oil as a key market player, the collapse of cooperation among OPEC members, the start of the global economic recovery, and so on (Maghyereh et al. 2016). The first date of the sample is the first available date in the TSE archive. To provide better insight into the sector data used, Fig. 1 plots these data, and Table 1 provides descriptive statistics of their log returns. Plots of OVX and OPEC are given in Fig. 2. For all the model parameters reported herein, the precision estimates are available from the author.
An augmented Dickeyâ€“Fuller Test confirms that log return series is stationary. All the equity returns show leptokurtic characteristics (i.e., kurtosis >â€‰3), suggesting that a GARCH model is an appropriate choice in this setting. The JarqueBera test rejects the null hypothesis of a normal distribution for all series at the 1% significance level. The results of ARCH tests also confirm the presence of heteroscedasticity in the data.
Methodology
GARCH
We initially considered a simple GARCH model class for studying the return (r i,t) and variance (Ïƒ^{2}i,t) dynamics of asset i at time t. In doing so, the OVX and OPEC data were used as external regressors, as in Eqs. 2 and 3.
We also applied dynamic conditional correlation GARCH (DCCGARCH) and asymmetric DCCGARCH (ADCCGARCH) models; Appendix 1 provides an explanation of these methods.
QuasiMonte Carlo method
Let Î© be a separable topological space in an N dim dimensional space. Clearly, any point in Î© can be described by a set of dim N values, with Ï–â€‰=â€‰(Ã—1,â€‰Ã—2,â€‰â€‰â€¦â€‰,â€‰x Ndim) for x iâ€‰âˆˆâ€‰â„œ1â€‰â‰¤â€‰iâ€‰â‰¤â€‰Ndim. Let f be a realvalued function on Î© for which a global maximum is sought. Because f is assumed to hold a global maximum in the region of interest, it is bounded from above, and we define its global maximum as:
Let Î» prob be a probability measure on Î© . Furthermore, let S be a sequence of N independent Î» prob distributed random samples, Ï–1 ,Ï–2 ,...,Ï– N âˆˆÎ©. We define
The QMC method of quasirandom search uses a deterministic sequence of points Ï–1 ,Ï–2 ,...,Ï– N in Î© to find the global optimum. It is proven that m N (f;S) converges to the global maximum of f with unit probability if f is continuous and if a positive probability measure (Î» probâ€‰> 0) is taken for every nonempty subset of Î© (Niederreiter 1994).
Consider a point set Pâ€‰= (Ï–1, Ï–2,..., Ï–N). The dispersion of point P in Î© is defined by:
In summary, point sets with small dispersion are proven to be suitable for quasirandom search purposes (Niederreiter 1994). In addition, the point set used for QMC should possess nice properties on its discrepancy, which is interpreted as the difference between the empirical and uniform distributions of the QMC point set (Drew and HomemdeMello 2006). QMC deals with infinite low discrepancy sequences (LDS), which have the additional property that, for arbitrary N, the initial segments have relatively small discrepancies (Lei 2002). The merits of LDS are twofold; first, they provide uniform sample points avoiding large gaps or clusters, and, second, they know about their predecessors and fill the gaps left from previous iterations (Kucherenko 2006), eliminating empty areas in which no information on the behavior of the underlying problem can be deducted. The choice of LDS is therefore central to the QMC methodology.
Different principles have been used to generate LDS sets (Sobol 1976; Bratley et al. 1992; Niederreiter 1994). Whereas other theories, such as Niederreiterâ€™s (1994), result in better asymptotic properties (Kucherenko 2006), Sobolâ€™s LDS sets provide enhanced reliability in terms of rapid convergence in high dimensionality situations (JÃ¤ckel 2002). As a result, Sobolâ€™s (1976) method was adopted for LDS generation in this study. A description of this method can be found in Appendix 2 to keep this text within a reasonable length.
Once an LDS set is available, the multistart QMC algorithm implements an inexpensive local search (such as the steepest descent) on the quasirandom points to concentrate the sample, which is subsequently reduced by replacing the worst points (with lower function values) with the new quasirandom points. A completely new local search is then applied to any point retained for a certain number of iterations. Two types of stopping criteria may be used for this algorithm. The first is to stop if no new value for the local maximum is found after several iterations (Glover and Kochenberger 2003). The second is to stop if the number of worse stationary points exceeds the number of stationary points, usually by a fraction of three (Hickernell and Yuan 1997). Appendix 3 provides a more detailed description of the QMC algorithm.
Bayesian optimization
Consider the original problem of maximizing the function f on a bounded set Î© . If Ï– is a point in this region, a dataset of the point parameters and their corresponding function evaluations can be iteratively collected, â„˜â€‰=â€‰{Ï–^{i},â€‰f(Ï–^{i})}_{1â€‰â‰¤â€‰iâ€‰â‰¤â€‰iter}, up to the iter^{th} iteration. The dataset can be subsequently used to build a response surface. At this point, the optimization of the original function can be replaced by an alternative optimization of the response surface; the difference is that the latter optimization merely requires the evaluation of the learned model rather than that of the original function f.
Thus, the first requirement of Bayesian optimization (BO) is adopting a probabilistic model to create the response surface. Such a probabilistic framework allows the use of priors that encode the collected information in a principled way. Moreover, probabilistic models tend to be more robust to the effect of model errors, as they take into account uncertainty about the model (Calandra et al. 2016). In other words, the first step involves selecting a prior distribution over functions that expresses assumptions about the function being evaluated (Snoek et al. 2012). The prior over functions is then updated in light of new observations (Brochu et al. 2010). This analysis uses a Gaussian process (GP) (Rasmussen and Williams 2006) for the prior, meaning that any finite set of function values induces a multivariate Gaussian distribution. Other plausible choices for the prior include the random forest (Criminsi et al. 2011) and the Studentt processes (Shah et al. 2014).
In the second step, the previously collected data,â„˜, are combined with the prior to obtain a posterior distribution using Bayesâ€™ rule. The posterior captures our updated beliefs about the unknown objective function (Brochu et al. 2010). We attempt to maximize the posterior at each step to decrease the distance between the true global maximum and the expected maximum given by the model (Brochu et al. 2010). The next point to evaluate, Ï– ^{iterâ€‰+â€‰1} , is determined based on an acquisition function, f acquisition, which is a posterior over the functions induced by prior knowledge and data (Snoek et al. 2012). In practice, the next sample is drawn at the maximal acquisition function, Ï– ^{iterâ€‰+â€‰1}â€‰= argmaxÏ– f (Ï–) . This study uses the acquisition function of Srinivas et al. (2010), which exploits the upper confidence bound, for maximization.
Here, Î¸ GP stands for the GP hyperparameters; Î¼ (Ï–; â„˜, Î¸GP) and Ïƒ^{2} (Ï–; â„˜, Î¸GP) are the mean and variance functions of the multivariate Gaussian distribution, respectively; and Îºbalance is a tradeoff parameter (k balanceâ€‰> 0) tuned to balance the search in terms of exploitation (where f is uncertain) against exploration (where f is expected to be high). Exploration prevails if the value of Îº balance is increased. In this analysis, this parameter was set such that Îºbalanceâ€‰= 2.576. The BO algorithm conducts these steps sequentially (Appendix 4) in search for the global optimum. The mathematical foundations behind the method are thoroughly described in several useful texts (Brochu et al. 2010; Snoek et al. 2012), which also provide illustrations of its implementation.
Bayesian network
A BN is an implementation of a graphical model in which nodes represent random variables and arrows represent probabilistic dependencies between the nodes (Korb and Nicholson 2004). The BNâ€™s graphical structure is a directed acyclic graph (DAG) that enables estimation of the joint probability distribution. For each variable, the DAG defines a factorization of the joint probability distribution into a set of local probability distributions, and the factorization form is given by the BNâ€™s Markov property, which assumes that a variable is solely dependent on its parents (Scutari 2010). In this way, the methodology seeks to find a structure along with its parameters.
The two classifications of the BNstructurelearning process either handle this issue by analyzing the probabilistic relationships supervised by the Markov property of BNs with conditional independence tests and subsequently constructing a graph that satisfies the corresponding dseparation statements (constraintbased algorithms) or by assigning a score to each BN candidate and maximizing it with a heuristic algorithm (scorebased algorithms) (Scutari 2010). This study tested both algorithm types. For the constrainedbased type, we used a Monte Carlo permutation test for the conditional independence test, whereas, in the scorebased case, we applied a scoreequivalent Gaussian posterior density criterion. The implementation of the graphical structurelearning of the BNs was attempted using the bnlearn package (Scutari 2017).
Results
The choice of lag in the GARCH models was rendered, following a series of computations, over a grid of lag values to identify the model with the least Bayesian information criterion (BIC) value. As our primary deduction on the crossmarket association is based on the GARCH model parameters, we meticulously performed their estimation using a variety of techniques, as shown in Tables 2, 3 and 4. As evident from the results, the choice of solution technique clearly affects the estimated parameter values and is therefore extremely critical.
In the ORI sector, for example, the limited Broydenâ€“Fletcherâ€“Goldfarbâ€“Shanno (LBFGS)/Bayesian methods estimate a positive effect of OVX/OPEC, whereas the QMC method finds that the effect is insignificant. Furthermore, the LBFGS/Bayesian results estimate that the volatility transmission from OVX/OPEC to ORI is positive, but this result is not supported by the QMC. Similar contradictions arise in other sectors. For example, OVX returns are found to affect PET returns positively and negatively by the LBFGS and Bayesian methods, respectively. The LBFGS/Bayesian method finds that the effect of OPEC returns on PET returns is significant, whereas the QMC method finds minimal effects. The Bayesian method finds that the volatility transmission from OVX/OPEC to PET is significant, whereas the other methods find an insignificant effect.
In the ODR sector, the LBFGS and Bayesian methods find a negative effect of OVX returns on ODR returns, but the methods largely disagree on the direction of the effect of OPEC returns on ODR returns. The QMC method, however, considers ODR returns to be insensitive to external factors. We find similar results for volatility transmission in the ODR sector; the LBFGS/Bayesian methods estimate opposite directions of the volatility transmission between OPEC and ODR returns, but both find a positive volatility transmission scheme between OVX and ODR returns. Likewise, the QMC method finds that the ODR volatility is independent of any external factors. The results for the mean dynamic correlation from the DCC/ADCCGARCH models, shown in Table 5, also find a strong positive correlation between TPI and the sectors studied.
To help understand the underlying connectedness, the data were also analyzed in the framework of BN theory, which is essentially a GARCHfree scheme. Interestingly, the results, shown in Figs. 3 and 4, indicate a mostly different set of significant relationships relative to those found in the GARCH results. Specifically, the BN results indicate that OPEC returns do affect returns in the ORI and PET sectors and that the volatility transmission between OPEC returns and the ORI and ODR sectors is positive.
To further investigate whether the dependency structure changes over time, we conducted a copula analysis by estimating the copula dependence parameters for Gaussian, Studentt, Gumbel, Clayton, and Frank copula models, as shown in Table 6. The results on a monthly basis indicate a positive correlation between GPR and EPU and all the energy sectors studied, as shown in Table 7. The correlation is stronger for GPR than for EPU.
To avoid the potential pitfall of bias in the parameters due to periods of high or low volatility, price regimes were also detected for each sector, as shown in Table 8. We initially determined the number of plausible price regimes for each sector by identifying the case with the lowest BIC value out of the results obtained by applying the homogeneous/nonhomogeneous Markov switching autoregressive models (Monbet 2018), as shown in Additional file 1: Tables S1S2 of the supplementary information. The exact timing of the period was later determined by fitting a regression tree model (Therneau et al. 2015).
Interestingly, some of the time spans identified coincide with times when the oil price was undergoing breaks owing to changes in the type of shocks (i.e., oil supply or future demand shocks). For example, the ORI sector clearly enters a new price regime in early 2015, when future demand shocks became more dominant than supply shocks in influencing the oil market (Fueki et al. 2016). Likewise, the PET sector begins a new price regime in late 2013, which fits chronologically with the timeline of the positive contribution of future supply shocks to the oil price hike (Fueki et al. 2016). The only exception to this rule is the ODR sector, which has been rather insensitive to shocks. For the sake of brevity, however, the results for the selected price periods are given in the supplementary information to the article.
When the analysis is restricted to a specific priceregime timeline, the results for the GARCH and BN methods tend to agree more. For instance, both methods now confirm the volatility transmission between OPEC returns and the ORI and ODR sectors. Similarly, both methods confirm that the OPEC returns have a contagion effect on the ORI and PET returns.
Conclusions
The choice of solution technique has a clear effect on the parameter values estimated by GARCH, making it an unreliable platform for analyzing crossmarket associations. The Bayesian scheme provides an alternative robust route for understanding the underlying connectivity in the market. We find a positive correlation between GPR, EPU, and all the energy sectors studied. Neither the contagion effect on returns nor the volatility transmission between the markets, however, can be deducted upfront, as the methods yield different results. Nevertheless, the results point to the OPEC (historical) price volatility as having a stronger effect on the energy sectors relative to the implied volatility. The ODR sector is found to be insensitive to the type of oil price shock, whereas the price patterns in the ORI and PET sectors seemingly changed when future demand shocks and oil supply shocks, respectively, gained dominance in the oil market. This latter information may have potential significance for TSE market participants in reshaping their investment portfolios.
Abbreviations
 ARCH:

Autoregressive conditional heteroscedasticity
 BIC:

Bayesian information criterion
 BN:

Bayesian network
 CBOE:

Chicago board of options exchange
 DCCGARCH:

Dynamic conditional correlation
 GARCH:

Generalized autoregressive conditional heteroskedasticity
 GP:

Gaussian process
 LBFGS:

Low Memory Broydenâ€“Fletcherâ€“Goldfarbâ€“Shanno
 LDS:

Low discrepancy sequences
 NSP:

Number of stationary points
 NWSP:

Number of worse stationary points
 ODR:

Oil drilling
 OPEC:

OPEC basket oil price
 ORI:

Oil refining
 OVX:

Oil volatility index
 PET:

Petrochemical
 QMC:

QuasiMonte Carlo
 TPI:

Price index of tehran stock exchange
 TSE:

Tehran stock exchange
References
Abhyankar A, Xu B, Wang J (2013) Oil price shocks and the stock market: evidence from Japan. Energy J 34:199â€“222
Aggarwal R, Akhigbe A, Mohanty SK (2012) Oil price shocks and transportation firm asset prices. Energy Econ 34:1370â€“1379. https://doi.org/10.1016/j.eneco.2012.05.001
Ã„ijÃ¶ J (2008) Implied volatility term structure linkages between VDAX, VSMI and VSTOXX volatility indices. Glob Financ J 18(3). https://doi.org/10.1016/j.gfj.2006.11.003
Aloui C, Jimmazi R (2009) The effects of crude oil shocks on stock market shifts behavior: a regime switching approach. Energy Econ 31:789â€“799. https://doi.org/10.1016/j.eneco.2009.03.009
Apergis N, Miller SM (2009) Do structural oilmarket shocks affect stock prices? Energy Econ 31(4):569â€“575. https://doi.org/10.1016/j.eneco.2009.03.001
Arouri MEH (2011) Does crude oil move stock markets in Europe? A sector investigation. Econ Model 28:1716â€“1725. https://doi.org/10.1016/j.econmod.2011.02.039
Arouri MEH, Nguyen DK (2010) Oil prices, stock markets and portfolio investment: evidence from sector analysis in Europe over the last decade. Energy Policy 38:4528â€“4539
Arouri MEH, Rault C (2012) Oil prices and stock markets in GCC countries: empirical evidence from panel analysis. Int J Financ Econ 17:242â€“253. https://doi.org/10.1002/ijfe.443
Asalman Z, Herrera AM (2015) Oil price shocks and the US stock market: do sign and size matter? Energy J 36(3):171â€“188
Asteriou D, Bashmakova Y (2013) Assessing the impact of oil returns on emerging stock markets: a panel data approach for ten central and eastern European countries. Energy Econ 38:204â€“211. https://doi.org/10.1016/j.eneco.2013.02.011
Awartani B, Maghyereh A, Guermat C (2016) The connectedness between crude oil and financial markets: Evidence from implied volatility indices. J Common Mark Stud:11. https://doi.org/10.1016/j.jcomm.2016.11.002
Bachmeier L (2008) Monetary policy and the transmission of oil shocks. J Macroecon 30:1738â€“1755. https://doi.org/10.1016/j.jmacro.2007.11.002
Basher SA, Haug AA, Sadorsky P (2012) Oil prices, exchange rates and emerging stock markets. Energy Econ 34(1):227â€“240. https://doi.org/10.1016/j.eneco.2011.10.005
Basher SA, Sadorsky P (2006) Oil price risk and emerging stock markets. Glob Financ J 17(2):224â€“251. https://doi.org/10.1016/j.gfj.2006.04.001
Bjornland HC (2009) Oil price shocks and stock market booms in an oil exporting country. Scot J Political Econ 56(2):232â€“254
Bouri E (2015) Oil volatility shocks and the stock markets of oilimporting MENA economies: a tale from the financial crisis. Energy Econ 51:590â€“598. https://doi.org/10.1016/j.eneco.2015.09.002
Bouri E, Gupta R, Hosseini S, Lau M, C.K. (2017a) Does global fear predict fear in BRICS stock markets? Evidence from a Bayesian Graphical Structural VAR model. Emerg Mark Rev. https://doi.org/10.1016/j.ememar.2017.11.004
Bouri E, Jain A, Biswal PC, Roubaud D (2017b) Cointegration and nonlinear causality amongst gold, oil, and the Indian stock market: evidence from implied volatility indices. Resour Policy 52:201â€“206. https://doi.org/10.1016/j.resourpol.2017.03.003
Boyer MM, Filion D (2007) Common and fundamental factors in stock returns of Canadian oil and gas companies. Energy Econ 29(3):428â€“453. https://doi.org/10.1016/j.eneco.2005.12.003
Bratley P, Fox BL, Niederreiter H (1992) Implementation and tests of low discrepancy sequences. ACM T Model Comput S 2:195â€“213. https://doi.org/10.1145/146382.146385
Broadstock DC, Filis G (2014) Oil price shocks and stock market returns: new evidence from the United States and China. J Int Financ Mark Inst Money 33:417â€“433. https://doi.org/10.1016/j.intfin.2014.09.007
Brochu E, Cora VM, de Freitas N (2010) A tutorial on Bayesian optimization of expensive cost functions, with application to active user modeling and hierarchical reinforcement learning. arXiv:1012.2599
Calandra R, Seyfarth A, Peters J, Deisenroth MP (2016) Bayesian optimization for learning gaits under uncertainty. Ann Math Artif Intell 76:5â€“23. https://doi.org/10.1007/s1047201594639
Caporale GM, Ali FM, Spagnolo N (2015) Oil price uncertainty and sectoral stock returns in China: a timevarying approach. China Econ Rev 34:311â€“321. https://doi.org/10.1016/j.chieco.2014.09.008
Chang KL, Yu ST (2013) Does crude oil price play an important role in explaining stock return behavior? Energy Econ 39:159â€“168. https://doi.org/10.1016/j.eneco.2013.05.008
Chen CY (2014) Does fear spill over? Asia Pac J Financ Stud 43(4):465â€“491. https://doi.org/10.1111/ajfs.12055
Chen SS (2009) Do higher oil prices push the stock market into bear territory? Energy Econ 32(2):490â€“495. https://doi.org/10.1016/j.eneco.2009.08.018
Choi K, Hammoudeh S (2010) Volatility behavior of oil, industrial commodity and stock markets in a regimeswitching environment. Energy Policy 38:4388â€“4399. https://doi.org/10.1016/j.enpol.2010.03.067
Ciner C (2013) Oil and stock returns: frequency domain evidence. J Int Financ Mark Inst Money 23:1â€“11. https://doi.org/10.1016/j.intfin.2012.09.002
Cong RG, Wei YM, Jiao JL, Fan Y (2008) Relationships between oil price shocks and stock market: an empirical analysis from China. Energy Policy 36:3544â€“3553. https://doi.org/10.1016/j.enpol.2008.06.006
Criminsi A, Shotton J, Konukoglu E (2011) Decision forests: a unified framework for classification, regression, density estimation, manifold learning and semisupervised learning. Found TrendsÂ® Comput Graph Vis 7(2â€“3):81â€“227. https://doi.org/10.1561/0600000035
Cunado J, de Gracia FP (2014) Oil price shocks and stock market returns: evidence for some European countries. Energy Econ 42:365â€“377. https://doi.org/10.1016/j.eneco.2013.10.017
Daskalaki C, Skiadopolous G (2011) Should investors include commodities in their portfolios after all? New evidence. J Bank Financ 35:2606â€“2626. https://doi.org/10.1016/j.jbankfin.2011.02.022
Davoudi S, Fazlzadeh A, Fallahi F, Asgharpour H (2018) The impact of oil revenue shocks on the volatility of Iranâ€™s stock market return. Int J Energy Econ Policy 8(2):102â€“110
Demirer R, Jategaonkar SP, Khalifa AAA (2015) Oil price risk exposure and the crosssection of stock returns. Energy Econ 49:132â€“140. https://doi.org/10.1016/j.eneco.2015.02.010
Drew S, HomemdeMello T (2006) QuasiMonte Carlo strategies for stochastic optimization. In: Proceedings of the 2006 winter simulation conference, pp 774â€“782
Driesprong G, Jacobson B, Matt B (2008) Striking oil: another puzzle? J Financ Econ 89(2):307â€“327. https://doi.org/10.1016/j.jfineco.2007.07.008
Economic Policy Uncertainty. http://www.policyuncertainty.com; (2018) [Accessed: 12 Nov 2018]
Elyasiani E, Mansur I, Odusami B (2011) Oil price shocks and industry stock returns. Energy Econ 33:966â€“974. https://doi.org/10.1016/j.eneco.2011.03.013
Erb CB, Harvey CR (2006) The strategic and tactical value of commodity futures. Financ Anal J 62:69â€“97. https://doi.org/10.2307/4480745
Filis G (2010) Macro economy, stock market and oil prices: do meaningful relationships exist among their cyclical fluctuations? Energy Econ 32(4):877â€“886. https://doi.org/10.1016/j.eneco.2010.03.010
Filis G, Degiannakis S, Floros C (2011) Dynamic correlation between stock market and oil prices: the case of oilimporting and oilexporting countries. Int Rev Financ Anal 20(3):152â€“164. https://doi.org/10.1016/j.irfa.2011.02.014
Fueki, T.; Higashi, H.; Higashio, N.; Nakajima, J.; Ohyama, S.; Tamanyu, Y. (2016) Identifying Oil Price Shocks and Their Consequences: Role of Expectations and Financial Factors in the Crude Oil Market. Bank of Japan Working Paper Series 16E17, Bank of Japan
GilAlana L, Yaya OS (2014) The relationship between oil prices and the Nigerian stock market: an analysis based on fractional integration and cointegration. Energy Econ 46:328â€“333. https://doi.org/10.1016/j.eneco.2014.10.001
Gjerde O, Saettem F (1999) Causal relations among stock returns and macroeconomic variables in a small, open economy. J Int Financ Mark Inst Money 9:61â€“74. https://doi.org/10.1016/S10424431(98)000365
Glover F, Kochenberger G (2003) Handbook of metaheuristics. Kluwer Academic Publishers, New York
GÃ¼ntner JH (2014) How do international stock markets respond to oil demand and supply shocks? Macroecon Dyn 18(8):1657â€“1682. https://doi.org/10.1017/S1365100513000084
Gupta K (2016) Oil price shocks, competition and oil & gas stock returns â€“ global evidence. Energy Econ 57:140â€“153. https://doi.org/10.1016/j.eneco.2016.04.019
Gupta R, Modise MP (2013) Does the source of oil price shocks matter for south African stock returns? A structural VAR approach. Energy Econ 40:825â€“831. https://doi.org/10.1016/j.eneco.2013.10.005
Hatemi JA, Al Shayed A, Roca E (2017) The effect of oil prices on stock prices: fresh evidence from asymmetric causality tests. Appl Econ 49(16):1584â€“1592. https://doi.org/10.1080/00036846.2016.1221045
Hickernell FJ, Yuan Y (1997) A simple multistart algorithm for global optimization. OR Transact 1(2). https://doi.org/10.1011/461346
Huang RD, Masulis RW, Stoll HR (1996) Energy shocks and financial markets. J Futur Mark 16:1â€“27. https://doi.org/10.1002/(sici)10969934(199602)16:1<1::aidfut1>3.0.co;2q
JÃ¤ckel P (2002) Monte Carlo methods in finance. Wiley, New York
Jammazi R, Aloui C (2010) Wavelet decomposition and regime shifts: assessing the effect of crude oil shocks on stock market returns. Energy Policy 38:1415â€“1435. https://doi.org/10.1016/j.enpol.2009.11.023
Kang W, Ratti RA, Vespignaniet J (2016) The impact of oil price shocks on the US stock market: a note on the roles of US and nonUS oil production. Econ Lett 145:176â€“181. https://doi.org/10.1016/j.econlet.2016.06.008
Kang W, Ratti RA, Yoon KH (2015) Timevarying effect of oil market shocks on the stock market. J Bank Financ 61:S150â€“S163. https://doi.org/10.1016/j.jbankfin.2015.08.027
Kilian L (2008) Exogenous oil supply shocks: how big are they and how much do they matter for the US economy? Rev Econ Stat 90:216â€“240. https://doi.org/10.1162/rest.90.2.216
Kilian L, Park C (2009) The impact of oil price shocks on the US stock market. Int Econ Rev 50(4):1267â€“1287. https://doi.org/10.1111/j.14682354.2009.00568.x
Koh WC (2017) How do oil supply and demand shocks affect Asian stock markets? Macroecon Finance Emerg Mark Econ 10:1â€“18. https://doi.org/10.1080/17520843.2015.1135819
Korb K, Nicholson A (2004) Bayesian artificial intelligence. Chapman and Hall, London
Kucherenko S (2006) Application of quasi Monte Carlo methods in global optimization. Glob Optim:111â€“133. https://doi.org/10.1007/0387305289_5
Lee BJ, Yang CW, Huang BN (2012) Oil price movements and stock markets revisited: a case of sector stock price indexes in the G7 countries. Energy Econ 34:1284â€“1300. https://doi.org/10.1016/j.eneco.2012.06.004
Lei G (2002) Adaptive Random Search in QuasiMonte Carlo Methods for Global Optimization. Comput Math Appl (43):747â€“754. https://doi.org/10.1016/S08981221(01)003182
Li Q, Cheng K, Yang Z (2017) Response pattern of stock returns to international oil price shocks from the perspective of Chinaâ€™s oil industrial chain. Appl Energy 185:1821â€“1831. https://doi.org/10.1016/j.apenergy.2015.12.060
Li SF, Zhu HM, Yu K (2012) Oil prices and stock market in China: a sector analysis using panel cointegration with multiple breaks. Energy Econ 34:1951â€“1958. https://doi.org/10.1016/j.eneco.2012.08.027
Lin B, Wesseh PK, Appiah MO (2014) Oil price fluctuation, volatility spillover and the Ghanian equity market: implication for portfolio management and hedging effectiveness. Energy Econ 42:172â€“182. https://doi.org/10.1016/j.eneco.2013.12.017
Maghyereh AI, Awartani B, Bouri E (2016) The directional volatility connectedness between crude oil and equity markets: new evidence from implied volatility indexes. Energy Econ 6(57):78â€“93. https://doi.org/10.1016/j.eneco.2016.04.010
Managi S, Okimoto T (2013) Does the price of oil interact with clean energy prices in the stock market? Jpn World Econ 27:1â€“9
MartinBarragan B, Ramos SB, Veiga H (2015) Correlations between oil and stock markets: a waveletbased approach. Econ Model 50:212â€“227. https://doi.org/10.1016/j.econmod.2015.06.010
Masih R, Peters S, De Mello L (2011) Oil price volatility and stock price fluctuations in an emerging market: evidence from South Korea. Energy Econ 33(5):975â€“986
McTaggart, R., Daroczi, G., Leung, C. (2016). Quandl: API Wrapper for Quandl.com. R package version 2.8.0. http://CRAN.Rproject.org/package=Quandl
Miller JI, Ratti RA (2009) Crude oil and stock markets: Stability, instability, and bubbles. Energy Econ 31(4):559â€“568. https://doi.org/10.1016/j.eneco.2009.01.009
Mohanty SK, Nandha M, Bota G (2010) Oil shocks and stock returns: the case of the central and eastern European (CEE) oil and gas sectors. Emerg Mark Rev 11:358â€“372. https://doi.org/10.1016/j.ememar.2010.06.002
Mohanty SK, Nandha M, Turkistani AQ, Alaitani MY (2011) Oil price movements and stock market returns: evidence from gulf cooperation council (GCC) countries. Glob Financ J 22:42â€“55. https://doi.org/10.1016/j.gfj.2011.05.004
Mollick AV, Assefa TA (2013) US stock returns and oil prices: the tale from daily data and the 2008â€“2009 financial crisis. Energy Econ 36:1â€“18. https://doi.org/10.1016/j.eneco.2012.11.021
Monbet V. (2018) NHMSAR: NonHomogeneous Markov Switching Autoregressive Models. R package version 1.12. URL http://CRAN.Rproject.org/package=NHMSAR
MoyaMartinez P, FerrerLapena R, EscribanoSotos F (2014) Oil price risk in the Spanish stock market: an industry perspective. Econ Model 37:280â€“290. https://doi.org/10.1016/j.econmod.2013.11.014
Najafabadi AP, Qazvini M, Ofoghi R (2012) The impact of oil and gold pricesâ€™ shock on Tehran stock exchange: a copula approach. Iran J Econ Stud 1(2):23â€“47
Nandha M, Faff R (2008) Does oil move equity prices? A global view. Energy Econ 30(3):986â€“997. https://doi.org/10.1016/j.eneco.2007.09.003
Narayan PK, Gupta R (2015) Has oil price predicted stock returns for over a century? Energy Econ 48:18â€“23. https://doi.org/10.1016/j.eneco.2014.11.018
Narayan PK, Narayan S (2010) Modelling the impact of oil prices on Vietnamâ€™s stock prices. Appl Energy 87:356â€“361. https://doi.org/10.1016/j.apenergy.2009.05.037
Narayan PK, Sharma SS (2011) New evidence on oil price and firm returns. J Bank Financ 35(12):3253â€“3262. https://doi.org/10.1016/j.jbankfin.2011.05.010
Narayan PK, Sharma SS (2014) Firm return volatility and economic gains: the role of oil prices. Econ Model 38:142â€“151. https://doi.org/10.1016/j.econmod.2013.12.004
Niederreiter H (1994) Random number generation and quasiMonte Carlo methods. Society for Industrial and Applied Mathematics, Philadelphia
Papapetrou E (2001) Oil price shocks, stock market, economic activity and employment in Greece. Energy Econ 23:511â€“532. https://doi.org/10.1016/S01409883(01)000780
Park J, Ratti RA (2008) Oil price shocks and stock markets in the US and 13 European countries. Energy Econ 30(5):2587â€“2608. https://doi.org/10.1016/j.eneco.2008.04.003
Peng C, Zhu MM, Jia XH, You WH (2017) Stock price syncronicity to oil shocks across quantiles: evidence from Chinese oil firms. Econ Model 61:248â€“259. https://doi.org/10.1016/j.econmod.2016.12.018
Phan DHB, Sharma SS, Narayan PK (2015) Oil price and stock returns of consumers and producers of crude oil. J Int Financ Mark Inst Money 34:245â€“262. https://doi.org/10.1016/j.intfin.2014.11.010
Ramos SB, Veiga H (2013) Oil price asymmetric effects: answering the puzzle in international stock markets. Energy Econ 38:136â€“145. https://doi.org/10.1016/j.eneco.2013.03.011
Reboredo JC (2010) Nonlinear effects of oil shocks on stock returns: a Markov switching approach. Appl Econ 42:3735â€“3744. https://doi.org/10.1080/00036840802314606
Reboredo JC, RiveroCastro M (2014) Waveletbased evidence of the impact of oil prices on stock returns. Int Rev Econ Financ 29:145â€“176. https://doi.org/10.1016/j.iref.2013.05.014
Reboredo JC, Ugolini A (2016) Quantile dependence of oil price movements and stock returns. Energy Econ 54:33â€“49. https://doi.org/10.1016/j.eneco.2015.11.015
Sadorsky P (1999) Oil price shocks and stock market activity. Energy Econ 21(5):449â€“469. https://doi.org/10.1016/S01409883(99)000201
Sadorsky P (2001) Risk factors in stock returns of Canadian oil and gas companies. Energy Econ 23:17â€“28. https://doi.org/10.1016/S01409883(00)000724
Salisu A, Oloko TF (2015) Modelling oil priceâ€”US stock nexus: a VARMABEKKAGARCH approach. Energy Econ 50:1â€“12
Scutari M (2010) Learning Bayesian Networks with the bnlearn R Package. J Stat Softw 35(3):1â€“22 URL http://www.jstatsoft.org/v35/i03
Scutari M (2017) Bayesian Network ConstraintBased Structure Learning Algorithms: Parallel and Optimized Implementations in the bnlearn R Package. J Stat Softw 77(2):1â€“20. https://doi.org/10.18637/jss.v077.i02
Shah A, Wilson AG, Ghahramani Z (2014) Studentt processes as alternatives to Gaussian processes. Proc Int Conf Artif Intell Stat, PMLR 33:877â€“885
Silvapulle P, Smyth R, Zhang X, Fenech JP (2017) Nonparametric panel data model for crude oil and stock prices in net oil importing countries. Energy Econ 67:255â€“267. https://doi.org/10.1016/j.eneco.2017.08.017
Silvennoinen A, Thorp S (2013) Financialization, crisis and commodity correlation dynamics. J Int Financ Mark Inst Money 24:42â€“65. https://doi.org/10.1016/j.intfin.2012.11.007
Smyth R, Narayan PK (2018) What do we know about oil prices and stock returns? Int Rev Financ Anal. https://doi.org/10.1016/j.irfa.2018.03.010
Snoek J, Larochelle H, Adams RP (2012) Practical bayesian optimization of machine learning algorithms. Adv Neural Inf Proces Syst 2:2951â€“2959
Sobol IM (1976) Uniformly distributed sequences with an additional uniform property U.S.S.R. Comput Maths Math Phys (16):236â€“242. https://doi.org/10.1016/00415553(76)901543
Srinivas N, Krause A, Kakade S, Seeger M (2010) Gaussian process optimization in the bandit setting: no regret and experimental design. Proc ICML 10:1015â€“1022
Tehran Stock Exchange archive. http://tse.ir/archive.html; (2018) [Accessed 12 Nov 2018]
Therneau, T.; Atkinson, B.; Ripley, B. (2015) rpart: Recursive Partitioning and Regression Trees. Rpackage version 4.110. URL http://CRAN.Rproject.org/package=rpart
Tsai CL (2015) How do US stock returns respond differently to oil price shocks precrisis, within the financial crisis, and postcrisis? Energy Econ 50:47â€“62. https://doi.org/10.1016/j.eneco.2015.04.012
Xu B (2015) Oil prices and UK industrylevel returns. Appl Econ 47:2608â€“2627. https://doi.org/10.1080/00036846.2015.1008760
Zhang B (2017) How do great shocks influence the correlation between oil and international stock markets? Appl Econ 49:1513â€“1526. https://doi.org/10.1080/00036846.2016.1221040
Zhang B, Li XM (2014) Recent hikes in oil equity market correlations: transitory or permanent? Energy Econ 53:305â€“315. https://doi.org/10.1016/j.eneco.2014.03.011
Zhu HM, Guo Y, You Y, Xu Y (2016) The heterogeneity dependence between crude oil price changes and industry stock market returns in China: evidence from a quantile regression approach. Energy Econ 55:30â€“41. https://doi.org/10.1016/j.eneco.2015.12.027
Zhu HM, Li R, Li S (2014) Modelling dynamic dependence between crude oil prices and Asia Pacific stock returns. Int Rev Econ Financ 29:208â€“223. https://doi.org/10.1016/j.iref.2013.05.015
Zhu HM, Li R, Yu K (2011) Crude oil shocks and stock markets: a panel threshold cointegration approach. Energy Econ 33(5):987â€“994. https://doi.org/10.1016/j.eneco.2011.07.002
Zhu HM, Su X, You W, Ren Y (2017) Asymmetric effects of oil price shocks on stock returns: evidence from a twostage Markov regimeswitching approach. Appl Econ 49:2491â€“2507. https://doi.org/10.1080/00036846.2016.1240351
Acknowledgements
Not applicable.
Funding
Not applicable.
Availability of data and materials
Not applicable.
Author information
Authors and Affiliations
Contributions
The work was solely done by the corresponding author, BF. The author read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The author declares that he has no competing interests.
Publisherâ€™s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Additional file
Additional file 1:
Figure S1. The ADCCGARCH dynamic conditional correlation between OVX and ORI (a), PET (b), and ODR (c). Figure S2. The extracted Bayesian network for returns in each sector in selected price regime periods  [â€˜20150317â€™â€˜20180612â€™] (ORI); [â€˜20131118â€™â€˜20180612â€™] (PET); [â€˜20090727â€™â€˜20180723â€™] (ODR)  obtained by the scorebased algorithm. The solid/dashed lines refer to statistically significant/insignificant arcs, respectively. The letters represent (A)r_{t}, (B)r_{tâ€‰âˆ’â€‰1}, (C)r_{tâ€‰âˆ’â€‰2}, (D)r_{OVX, tâ€‰âˆ’â€‰1}, (E)r_{OVX, tâ€‰âˆ’â€‰2}, (F) r_{OPEC, tâ€‰âˆ’â€‰1}, (G) r_{OPEC, tâ€‰âˆ’â€‰2}. Figure S3. The extracted Bayesian network for volatility in each sector in selected price regime periods  [â€˜20150317â€™â€˜20180612â€™] (ORI); [â€˜20131118â€™â€˜20180612â€™] (PET); [â€˜20090727â€™â€˜20180723â€™] (ODR)  obtained by the scorebased algorithm. The solid/dashed lines refer to statistically significant/insignificant arcs, respectively. The letters represent (A)\( {\sigma}_t^2 \), (B)\( {\sigma}_{t1}^2 \), (C)\( {\sigma}_{t2}^2 \), (D)\( {\sigma}_{OVX,t1}^2 \), (E)\( {\sigma}_{OVX,t2}^2 \), (F) \( {\sigma}_{OPEC,t1}^2 \), (G) \( {\sigma}_{OPEC,t2}^2 \). Table S1. The BIC for different price regimes, under homogeneous Markov switching autoregressive models. Table S2. The BIC for different price regimes, under nonhomogeneous Markov switching autoregressive models. Table S3. Descriptive statistics of the equity log returns in the selected periods. Table S4. The GARCH parameters for the ORI sector in the period [â€˜20150317â€™â€˜20180612â€™]. Table S5. The GARCH parameters for the PET sector in the period [â€˜20131118â€™â€˜20180612â€™]. Table S6. The GARCH parameters for the ODR sector in the period [â€˜20090727â€™â€˜20180723â€™]. Table S7. The mean dynamic correlations, obtained from DCC/ADCC GARCH, over the corresponding selected periods. Table S8. The estimated copula dependence parameters for Gaussian, Studentt, Gumbel, Clayton, and Frank copula models, over the corresponding selected periods. (DOCX 470 kb)
Appendices
Appendix 1
Dynamic Conditional Correlation (DCCGARCH)
The model specifies the conditional mean and the conditional variance dynamics of an asset at time t, as follows (Engle and Sheppard, 2001):
Here, z_{t} is a vector of independent and identically distributed(IID) errors, H_{t} is the conditional covariance matrix, R_{t}is the conditional correlation matrix, D_{t}is a diagonal matrix with conditional volatilities on its main diagonal, Q_{t}â€‰=â€‰[q_{ij, t}]; i, jâ€‰âˆˆâ€‰{OVX,â€‰OPEC,â€‰ORI,â€‰PET,â€‰ODR}, is a timevarying covariance matrix, \( {Q}_t^{\ast } \)is a diagonal matrix with the square root of the diagonal elements of Q_{t} at the diagonal, \( \overline{Q} \)is an unconditional covariance matrix of standardized residuals. For the AsymmetricDCC (ADCCGARCH), the conditional variance is modeled by:
The (dynamic) correlation estimator at timet, \( {\widehat{\rho}}_{ij,t} \), is given by:
Appendix 2
The construction of Sobolâ€™s lowdiscrepancy sequences
The initial stage in generating a Sobol LDS set deals with operation on a set of integers in the interval [1,â€‰2^{b}â€‰âˆ’â€‰1], where b represents the number of bits in an unsigned integer on the operating computer (typically bâ€‰=â€‰32). Let x_{nk}be the n^{th} draw of one of Sobol` integers in dimensionk.
Generation of numbers in the Sobolâ€™s method, is based on a set of direction integers. A distinct direction integer is considered for each of the b bits in the binary integer representation. Let v_{kl}denote the l^{th} direction integer for dimension k. In order to construct Sobol` numbers, one needs to evaluate the direction integers, first. This process involves the binary coefficients of a selected primitive modulo two for each dimension (JÃ¤ckel 2002). Take p_{k}as the primitive polynomial modulo two for dimension k with the degreeg_{k} (defined by Eq. 18). We assume a_{k0}â€‰â€¦â€‰a_{kg}representing the coefficients ofp_{k}, with a_{k0}being the coefficient of the highest monomial term.
In each dimension, the first g_{k} direction integers v_{kl}for lâ€‰=â€‰1â€‰â€¦â€‰g_{k}are allowed to be freely chosen for the associatedp_{k}of the dimension, provided that two conditions are met. First, the l^{th} leftmost bit of the direction integer v_{kl} must be set. Second, only the l leftmost bits can be nonzero, where the leftmost bit refers to the most significant one in a bit field representation. All subsequent direction integers are calculated from a recurrence relation (Eq. 19) (JÃ¤ckel 2002):
Hereby, âŠ•_{2}represents the binary addition of integers modulo two (often referred to in the computer science literature as the XOR gate), and \( {\sum \limits_{\dots}^{\dots}}^{\oplus_2} \)stands for a set of XOR operations. The procedure is to rightshift the direction integer v_{k}(lâ€‰âˆ’â€‰g_{k})by g_{k} bits, and then performing the XOR operation with a selection of the unshifted direction integers v_{k}(lâ€‰âˆ’â€‰j)forjâ€‰=â€‰1â€‰â€¦â€‰g_{k}. The summation is performed analogous to the conventional âˆ‘summation operator.
The only remaining requirement for the algorithm is the generating integer of the n^{th} draw. For this sake, the natural choice appears to be the draw number itself, n. Nevertheless, any other sequence with a unique integer for each new draw is equally useful (JÃ¤ckel 2002). Once all the preliminaries are set, the Sobol` integers, for the s dimensions of interest, are generated by (JÃ¤ckel 2002);
In which the j^{th} bit of the generating integer is set (counting from the right).
JÃ¤ckel (2002) has provided tabulated initialization numbers for generating Sobol` integers, up to a dimension of 32 (Table 9). The generated sequence, using these initialization numbers, posesses the property; such that for any binary segment of the sdimensional sequence of length 2^{s} there is exactly one draw in each of the 2^{s} hypercubes which result from subdividing the unit hypercube along each of its unit length extensions into half (JÃ¤ckel 2002).
Once generated, conversion of Sobol` integers to other scales is fairly straightforward. For example, they can be converted to the [0, 1] scale by dividing the integers by2^{b}.
Appendix 3
The algorithm to perform QuasiMonte Carlo maximization
Assume \( {\varpi}_i^{iter} \)to represent the best solution for i^{th} point at the iter^{th} iteration, also consider FBESTas the best (maximum) value off, recorded up to the iter^{th} iteration. A detailed description of the QMC procedure is then ensued as follows (Hickernell and Yuan 1997):
Step0 Initialize.
Input the number of initial points, N, the number of points with best (highestt) objective function values to retain in each iteration, N_{best}, and the desired number of iterations to be done for local search on each of the points, Niter_{local. search}.
Set the number of iterations, iterâ€‰=â€‰0.
Set NSPâ€‰=â€‰0; NSWPâ€‰=â€‰0; NTIX(j)â€‰=â€‰0for (1â€‰â‰¤â€‰jâ€‰â‰¤â€‰N).
Step1 Concentrate
Obtain a new point set, by applying Niter_{local. search} iteration(s) of an inexpensive local search to each of \( {\varpi}_i^{iter} \) points (1â€‰â‰¤â€‰iâ€‰â‰¤â€‰N).
Step2 Reduce
Find Îž(iter)â€‰âŠ‚â€‰{1,â€‰â€‰â€¦â€‰,â€‰N}such that Îž(iter)has N_{best} elements and that \( f\left({\varpi}_i^{iter}\right)\ge f\left({\varpi}_j^{iter}\right)\forall i\in \Xi (iter) \) and âˆ€jâ€‰âˆ‰â€‰Îž(iter).
If jâ€‰âˆˆâ€‰Îž(iter), set NTIX(j)â€‰=â€‰NTIX(j)â€‰+â€‰1.
If jâ€‰âˆ‰â€‰Îž(iter), set NTIX(j)â€‰=â€‰0.
Step3 Find local maximum
For jâ€‰=â€‰1,â€‰â€¦â€‰, Nsuch that NTIX(j)â€‰â‰¥â€‰2.
Set NTIX(j)â€‰=â€‰0.
If NSPâ€‰=â€‰0or\( f\left({\varpi}_j^{iter}\right)\ge FBEST+{10}^{4} \) then.
Starting from\( {\varpi}_j^{iter} \), perform a local optimization search, to obtain the local maximum of the point, \( {\varpi}_{j, local.\max}^{iter} \).
If \( f\left({\varpi}_{j, local.\max}^{iter}\right)> FBEST \) then.
Set \( NSP= NSP+1; NSWP=0; FBEST=f\left({\varpi}_{j, local.\max}^{iter}\right) \).
Else.
Set NSWPâ€‰=â€‰NSWPâ€‰+â€‰1.
End
Else.
If \( \frac{NSWP}{NSP}\ge 3 \)then stop (success).
Step4 Sample additional points
For jâ€‰=â€‰1, 2,â€‰â€¦â€‰, N.
If NTIX(j)â€‰=â€‰0then.
Generate \( {\varpi}_j^{iter+1} \)by the Sobolâ€™s LDS technique.
Else.
Set \( {\varpi}_j^{iter+1}={\varpi}_j^{iter} \).
End
Set iterâ€‰=â€‰iterâ€‰+â€‰1.
If the total number of function calls reached then stop (failure).
Go to Step1.
Appendix 4
The algorithm to perform Bayesian Optimization
Assume that the upper confidence bound scheme is chosen, as for the acquisition function. The algorithm to perform Bayesian optimization follows the below procedures (Brochu et al. 2010):
Step0 Initialize
Input the desired number of iterations to be done for BO search, N_{iter}. Input the tunable parameter Îº_{balance} (Eq. 14).
Set the number of iterations, iterâ€‰=â€‰0.
Sample the (objective) function at point Ï–^{iter}.
Form the data set, â„˜â€‰=â€‰{Ï–^{iter},â€‰f(Ï–^{iter})}.
Step1 Repeat
Find the next point to sample,Ï–^{iterâ€‰+â€‰1}, by optimizing the acquisition function over GP.
Sample the (objective) function at point Ï–^{iterâ€‰+â€‰1}.
Augment the data set â„˜.
Update the GP prior.
Set iterâ€‰=â€‰iterâ€‰+â€‰1.
If the total number of desired iterations reached then stop.
Go to Step1.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Fazelabdolabadi, B. Uncertainty and energysector equity returns in Iran: a Bayesian and quasiMonte Carlo timevarying analysis. Financ Innov 5, 12 (2019). https://doi.org/10.1186/s4085401901282
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s4085401901282
Keywords
 QuasiMonte Carlo
 Bayesian optimization
 Bayesian network
 Oil volatility index