Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Enhancing stock volatility prediction with the AO-GARCH-MIDAS model

Abstract

Research has substantiated that the presence of outliers in data usually introduces additional errors and biases, which typically leads to a degradation in the precision of volatility forecasts. However, correcting outliers can mitigate these adverse effects. This study corrects the additive outliers through a weighting method and let these corrected values to replace the original outliers. Then, the model parameters are re-estimated based on this new return series. This approach reduces the extent to which outliers distort volatility estimates, allowing the model to better adapt to market conditions and improving the accuracy of volatility forecasts. This study introduces this approach for the first time to generalized autoregressive conditional heteroskedasticity mixed data sampling (GARCH-MIDAS) models, so as to establish an additional outliers corrected GARCH-MIDAS model (AO-GARCH-MIDAS). This pioneering approach marks a unique innovation. The research employs a diverse array of evaluation methods to validate the model’s robustness and consistently demonstrates its dependable performance. Findings unequivocally reveal the substantial influence of outliers on the model’s predictive capacity, with the AO-GARCH-MIDAS model exhibiting consistent superiority across all evaluation criteria. Additionally, while the GARCH model showcases stronger estimation capabilities compared to the GARCH-MIDAS model, the latter demonstrates heightened predictive prowess. Notably, regarding variable selection, the results underscore the greater predictive informational value inherent in realized volatility over other low-frequency factors.

1. Introduction

Amidst the deepening facets of economic globalization and liberalization, the prominence of financial markets has notably heightened within the contemporary market economy, particularly evident in the ascendancy of stock markets. This trend manifests through the increasing prevalence of index trading within stock markets, positioning these markets as pivotal and highly coveted investment avenues within the global financial domain [1]. Concurrently, volatility, serving as a fundamental metric of equity risk, assumes a pivotal role not solely within the investment sphere but also exerts substantial influence on asset valuation, risk mitigation strategies, and the formulation of macroeconomic policies [2]. The adept comprehension and precise prognostication of stock market volatility hold multifaceted significance and practical implications. Notably, such endeavors can aid investors in devising astute investment frameworks, furnish market participants with mechanisms to preclude market-related risks, and equip policymakers with crucial benchmarks to ensure the smooth operation of the national economy [3]. Especially for investors, reducing errors in forecasting stocks can reduce investment risk and increase profitability [4].

In the realm of prediction, the presence of outliers cannot be disregarded if heightened prediction accuracy is sought. Outliers, denoting data points significantly deviating from the general data sample [5]. Notably, these outlier observations may introduce inaccuracies in both model parameter estimation and volatility prediction [6]. This occurrence emanates from the model’s tendency to overly emphasize this anomalous information during estimation, consequently resulting in forecasting overfitting and subsequently generating less reliable volatility forecasts. Because of their inevitability, particularly within financial contexts such as time series data of stock markets and asset prices, addressing the adverse effects arising from outliers becomes imperative.

To tackle this challenge, researchers have embraced diverse methodologies in addressing financial time series volatility forecasting. Franses and Ghijsels [7] introduce the additive outlier-corrected returns method within the Generalized Autoregressive Conditional Heteroskedastic (GARCH) model. Specifically, the time series model is first fitted, and the residual series of the model is calculated (the residual series being the difference between the observed values and the fitted values of the model). Then, the residual series is standardized, meaning the standardized residuals of the residuals are calculated. Statistical methods are utilized to detect outliers in the standardized residuals, identifying values that fall outside certain boundaries by setting thresholds. Once the outliers are detected, they are corrected using a weighting method that adjusts them according to their nature and magnitude of impact, thus reducing their influence on the volatility estimate. After all the additive outliers in the model have been corrected, the model parameters are re-estimated based on this new return series. This approach diminishes the extent to which outliers distort volatility estimates, enhancing the stability of volatility estimates and, consequently, improving the robustness of the model during forecasting, thereby rendering the forecasts more reliable. Affirming its efficacy across four distinct stock markets in enhancing stock volatility.

This study collectively underscore that the presence of outliers introduces bias in volatility forecasting, necessitating their identification and rectification as pivotal. This study aims to profoundly explore strategies for handling outliers, referencing the work of Franses and Ghijsels [7] extensively. Notably, this methodology is grounded in the GARCH model. Nonetheless, this model’s limitation in capturing volatility solely on a single time scale is evident [8]. To overcome this limitation, the GARCH-MIDAS (Mixed Data Sampling) model, an extension within the GARCH framework pioneered by Engle, Ghysels [9], compensates for this shortfall. This model not only accommodates independent and dependent variables of different frequencies but also retains the fidelity of high-frequency data without altering its native frequency, preserving its realism and effectiveness. Additionally, the GARCH-MIDAS model comprehensively captures both short-term and long-term components of aggregate stock market volatility. However, akin to the GARCH model, it grapples with data featuring excessive kurtosis. In essence, this limitation can result in models compromising their fitting accuracy to sufficiently accommodate current values when encountering outliers. This is particularly evident when dealing with outliers such as additive outliers, which exert influence not only on the individual observations they pertain to but also on surrounding data points [10,11]. In such scenarios, the efficacy of GARCH-MIDAS is constrained. Building upon the GARCH-MIDAS model, this paper introduces a corrected outlier function inspired by the work of Franses and Ghijsels [7], culminating in the additive outlier GARCH-MIDAS (AO-GARCH-MIDAS) model. This innovative framework heralds a new era in volatility forecasting, aiming to rectify distortions induced by outliers and augment forecasting precision.

Since the GARCH-MIDAS model is used to model the relationship between data of different frequencies, only high-frequency stock data is not sufficient. Therefore, low-frequency data also need to be introduced into the model to understand the mechanism of stock market volatility more comprehensively. Without considering other influences, realized volatility (RV) is usually chosen as the low-frequency data. RV is a measure of asset price movements and represents the actual volatility over time. In addition to RV, a range of macroeconomic variables can be selected as low-frequency data. These macroeconomic variables reflect changes in the economic environment and may have a significant impact on stock market volatility.

As an intricate derivative component of the real economy, stock market volatility manifests as a complex interplay of diverse determinants. A multitude of empirical inquiries have yielded substantive insights into the potential causative factors linked to macroeconomic variables within the ambit of the stock market. Noteworthy contributions by Asgharian, Hou [12] and Song, Tang [13] affirm the efficacy of macroeconomic variables in explicating stock market volatility. Their research also underscores that the low-frequency macroeconomic data augments the prognostic potency of the model. The macroeconomic metric, money supply (M2), being considered pivotal in impacting national income and stock prices [14]. In an empirical analysis, Ma, Yang [15] assert that the M2 exhibits a significant and positive correlation with stock market volatility in China, utilizing the GARCH-MIDAS model. Furthermore, Bhuiyan and Chowdhury [16] employ Vector Error Correction and artificial neural networks models to demonstrate the long-term cointegration of money supply with the US stock market, along with a positive correlation. Notably, M2 exhibits robust predictive capabilities, as underscored in the forecasting [17]. Similarly, the impact of exchange rates (ER) on stock markets has piqued the interest of researchers. Aslam [18] confirms a causal relationship between ER and stocks. Studies by Sensoy and Sobaci [19] and Endri, Abidin [20] further establish a positive relationship between exchange rate and the stock market. However, some research indicates that ER can exert a significant negative impact on stock returns [21,22]. Dai, Zhou [23] assert the formidable predictive power of exchange rates within the framework of forecasting. These findings collectively illuminate the intricate relationship between macroeconomic indicators, particularly M2 and exchange rates, and stock market dynamics, constituting a noteworthy area of scholarly investigation. Furthermore, economic policy uncertainty (EPU) has garnered considerable scholarly attention in recent years. it is regarded as an influential indicator explaining stock volatility [24]. The results of a large number of scholars support the conclusion that EPU has a significant effect on stock volatility [2527]. Therefore, these three variables are chosen as predictors of stock volatility in the present study. EPU also shows good predictive ability in forecasting [26,2830]. In alignment with the framework presented herein, this study discerningly selects M2, ER, and EPU as pivotal drivers underpinning the examination of stock market volatility dynamics.

This study has opted to focus on the stock markets of China and Japan. The rationale behind this choice is twofold. Firstly, these markets serve as pertinent reflections of the developmental trajectory and distinctive attributes inherent within the Asian economic landscape. Secondly, the stock markets of China and Japan command significant stature not only within the confines of the Asian region but also globally, thus warranting meticulous scholarly attention.

This study’s primary contribution lies in the novel application of a multivariate additive outlier GARCH-MIDAS model, significantly enhancing the accuracy of stock volatility forecasting. The findings demonstrate robustness across diverse evaluation criteria, affirming the model’s efficacy. On one hand, the novel model addresses the constraint that the correction for additive outliers is restricted to GARCH models, by extending the methodology of Franses and Ghijsels [7] to encompass GARCH-MIDAS models. On the other hand, it enhances the robustness of the GARCH-MIDAS model introduced by Engle, Ghysels [9], enabling it to more effectively manage the complex scenario of additive outliers. Additionally, based on the MCS results, the result shows that the introduction of macroeconomic indicators into the GARCH-MIDAS model can effectively improve the prediction of stock market volatility. Specifically, the forecasting performance using the GARCH-MIDAS-RV-X model is significantly better than the GARCH-MIDAS-RV model alone. This finding further supports [12] that the inclusion of low-frequency macroeconomic information in the GARCH-MIDAS model improves the model’s forecasting accuracy. Song, Tang [13] also argue that both before and after the introduction of macroeconomic variables, the model’s forecasting ability is significantly improved. Notably, this study points out that the same economic indicator can have different impacts on the stock markets of different countries. Humpe and Macmillan [31] also find this phenomenon when they investigate the performance of the U.S. and Japanese stock markets on the same indicator, and they explain that this variability could be attributed to the structure of the economies of the two countries, the policy environments, and the behaviors of the market participants.

Following the introductory chapter, the remaining chapters of this study are organized as follows. Chapter 2 details the construction process of AO-GARCH-MIDAS. Chapter 3 presents the descriptive statistics of the data and the results of the correlation tests. Chapter 4 describes the in-sample and out-of-sample experimental results. Finally, Chapter 5 concludes the study.

2. Methodology

The pivotal innovation within this study hinges upon the pioneering work of Franses and Ghijsels [7], which extends the application of additive outliers to the GARCH-MIDAS framework. The GARCH-MIDAS model utilized in this study draws its foundation from the work of Engle, Ghysels [9] and Engle and Rangel [32]. Assuming ri,t is the logarithmic rate of return on day i of month t, the characterization of volatility within the framework of the GARCH-MIDAS model can be articulated as follows Eq 1 Eq 2

In Eq 1, the expression for volatility is decomposed into two components: the short-term volatility gi,t, which satisfies to the GARCH (1, 1) model, and long-term volatility τi. Ei−1,t denotes the conditional expectation while εi,t represents the random disturbance term, assumed to follow a standard normal distribution. Nt signifies the number of days in month t. ψi−1,t in Eq 2 delineates the information set pertaining to the i-1 day of the rate of return in month t.

The long-term component τi is delineated through the incorporation of diverse low-frequency variables, encompassing factors such as realized volatility (RV), M2, ER, and EPU. To investigate the impact of these factors on long-term component, this study explores three specifications. The first specification of Eq 3 exclusively incorporates RV, denoted as GARCH-MIDAS-RV. The second specification includes three variables: M2, ER, and EPU, designated as GARCH-MIDAS-X (see Eq 4). The third specification incorporates both RV and all three macroeconomic variables, denoted as GARCH-MIDAS-RV-X (see Eq 5). These specifications are formally articulated as follows: Eq 3 Eq 4 Eq 5

Where RVt represents the fixed time span RV at time t, which can be written as . In addition, k denotes the maximum lag order of low-frequency variables, selected by AIC and BIC information standards. φk(ω1,ω2) is the weight scheme of the Beta lag structure [9], because it is more flexible and more commonly used to accommodate various lag structures [33], the polynomial shows as below Eq 6

Fix ω1 = 1, in order to ensure that the weight of the lag variable is in the form of attenuation. In other words, the closer the distance to the current period, the greater the impact on the current period (Yaya et al., 2022). The coefficient determines the attenuation speed of the impact of low-frequency data on high-frequency data. Therefore, the polynomial can be simplified as Eq 7

The focus of this section is to combine AOs with GARCH-MIDAS model. The enhancement of the conventional GARCH-MIDAS model through the rectification of Aos aims to refine the model’s predictive capacity and accuracy within the realm of financial econometrics, the equation can be rewritten as Eq 8 Eq 9

Based on the above formula rewrite the Short-term volatility gi,t as Eq 10

This formula corresponds to the paper of Franses and Ghijsels [7] on GARCH (1, 1) model for .

Eq 11

From this equation, ϕ(L) and θ(L) can be determined as below Eq 12 Eq 13

According to the equation form Franses and Ghijsels [7], the formula of can be constructed as follow Eq 14

Hence, the AO-corrected returns can be constructed Eq 15 Eq 16

This expression shows that although ri,t is replaced, its sign is retained in , when t = ν.

Based on Chen and Liu [34] of AO-ARMA, the estimated residuals can be represented by Eq 17

When

At time t = ν, the impact ρ of AO can be estimated as Eq 18

To test the significance of AO model, Chang, Tiao [35] propose to standardize . It requires an estimate of the variance of the residual process, this estimate should ideally not contain too much bias because of outliers. This study uses the method of Chen and Liu [34] the so-called ‘omit one’ to estimate a robust error variance. Based on this approach, we can get a standardized statistic Eq 19

The influence of AO is significant when exceeds the value C. As Franses and Ghijsels [7] mentioned, is asymptotically standard normal. As posited by Chen and Liu [34], it is imperative to scrutinize the parameter C for values exceeding 3 when the dataset comprises more than 200 observations. Although other choices for C are viable, this study has identified superior outcomes when C equals 4. When the value of exceeds the value C, and t = ν, the observation yt shall be substituted with AO-corrected , derived from Eq 18, and the additive outlier model .

In the dataset, to avoid the existence of multiple AOs, these steps need to repeat unless becomes insignificant. When there is no more additive outlier, the final step is to re-estimate the model parameters based on all observations, where some of them have been corrected by using AO model.

3. Data description and preliminary analysis

Our study is centered on the examination of the Chinese and Japanese stock markets, where we have gathered data from daily closing prices of the Shanghai Stock Exchange Composite Index, comprising 3,278 observations, and the Nikkei 225 with 3,298 observations. This data spans from October 1, 2009, to March 31, 2023, and has been sourced from Yahoo Finance (https://finance.yahoo.com). The log returns for the closing prices of these two stocks are computed and labeled as SSE and N225, respectively. Additionally, monthly data encompassing M2, exchange rates (ER), and Economic Policy Uncertainty (EPU) variables span from October 2009 to March 2023, each variable comprising 162 observations. Chinese money supply data is obtained from the People’s Bank of China, while Japanese M2 data is sourced from the Bank of Japan. Exchange rates (ER) data of China and Japan are retrieved from the Federal Reserve Economic Data (FRED, https://fred.stlouisfed.org). The exchange rates are calculated using the Renminbi (RMB) against the US dollar and the Japanese yen (JPY) against the US dollar, respectively. It is noteworthy that the frequency employed for this indicator in this study is monthly, primarily due to its application within the GARCH-MIDAS model, and MIDAS polynomial, which is applied to macroeconomic or financial variables at monthly, quarterly, or biannual frequencies [36]. Economic Policy Uncertainty (EPU) is constructed through a systematic approach, involving the classification and tallying of articles containing keywords such as economics, policy, and uncertainty. This is complemented by the application of a series of standardized steps, following the methodology outlined by [37]. The EPU series is sourced from the Economic Policy Uncertainty Website (http://www.policyuncertainty.com). For ease of identification, variables originating from China and Japan are distinctly marked with prefixes ’C’ and ’J’ respectively. These return series are visually represented in Fig 1. Upon observation, overall stability characterizes each series, albeit with occasional notable deviations.

Table 1 is instrumental in furnishing a holistic overview, encompassing descriptive statistics, stability examinations, and heterogeneity assessments for both Chinese and Japanese stock returns, in conjunction with each pertinent economic variable. In this study, the rate of change of M2, ER and EPU is expressed as the log difference of the variable. The findings derived from the scrutiny of Skewness, Kurtosis, and the Jarque-Bera (JB) test illuminate salient features characterizing the probability distributions governing SSE, N225, and JEPU. These probability distributions are notably distinguished by the presence of pronounced peaks and pronounced tails skewed toward the left. In contrast, the probability distributions of CER, JM2, and JER exhibit a distinct profile characterized by a rightward shift, spiked configurations, and thick trailing tails. In addition, none of these six datasets conform to a normal distribution. However, CM2 and CEPU exhibit distributions that lack overt features violating the assumptions of normality. The examination of stability through the Augmented Dickey-Fuller (ADF) test, Phillips-Perron (PP) test, and Kwiatkowski-Phillips-Schmidt-Shin (KPSS) test, specifically within the context of unit root detection, yields statistically significant results for all datasets, except for CM2, signifying the robust stability exhibited by these respective data sequences. Notably, the first-order differenced series of CM2 (DCM2) successfully passes the test of stability. Furthermore, an auxiliary analysis is conducted through the application of Engle’s ARCH test to the regression series of SSE and N225 stocks. The outcome reveals a 1% rejection rate of the null hypothesis, suggesting the existence of pronounced heterogeneous effects within these datasets. This outcome underscores the appropriateness of employing a GARCH-type model to effectively capture and model the volatility inherent in the Chinese and Japanese stock markets across these two distinct stock exchanges. The Ljung-Box Q-statistics are also presented in the table, and this autocorrelation test shows significant p-values for SSE, indicating the presence of autocorrelation in the residual series. Specifically, the volatility of its time period receives a significant influence from the prior period volatility. Hence the problem can be correctly handled using GARCH model.

thumbnail
Table 1. Descriptive statistics and stationary testing and heteroskedastic test.

https://doi.org/10.1371/journal.pone.0305420.t001

4. Empirical results

4.1 In-sample estimation of GARCH-type models

The in-sample estimation results are presented comprehensively in Table 2. Firstly, the parameter μ denotes the unconditional mean of stock returns. Secondly, both estimated coefficients α and β, associated with the total daily volatility of short-term component (gi,t) stock returns, exhibit significant positive values at the 1% level across all models. These parameters correspond to short-term components linked to ARCH and GARCH terms, respectively. Their cumulative sum, α plus β, closely approximates 1, indicating a pronounced volatility persistence effect for both SEE and N225. Further parameters, ω1 and ω2, serve as the β polynomial weights for the long-run components within the model. Their significance across most variables underscores the predictive capacity of macroeconomic variables and the Economic Policy Uncertainty (EPU) in determining long-run volatility. Additionally, θ represents the aggregated weighted rolling window realized volatility for each variable, showcasing varied performance across countries and models.

thumbnail
Table 2. Estimated parameters of the GARCH-type model in the Chinese and Japanese samples.

https://doi.org/10.1371/journal.pone.0305420.t002

For the Chinese stock market, in models GARCH-MIDAS-RV, GARCH-MIDAS-RV-X and AO-GARCH-MIDAS-RV-X, all of them show a positive correlation between RV and volatility, but in model G-M-RV this relationship is very weak, while in the other two models it is significant at 1%. Similarly, CM2 also exhibits a significant positive effect at 5%, which be supported in GARCH-MIDAS-RV-X and AO-GARCH-MIDAS-RV-X models (not statistically significant in GARCH-MIDAS-X). Conversely, CER and CEPU exhibit significant negative impacts across all three models, indicating that China’s exchange rate and economic policy uncertainty substantially dampen long-run stock price volatility. Similarly, JRV also displays a significantly positive correlation with Japanese stock market volatility across three models. Although JM2 negative in GARCH-MIDAS and GARCH-MIDA-RV models, lacks statistical significance. While in AO-GARCH-MIDAS, JM2 is significantly positive at the 10% level. Conspicuously, JER and JEPU consistently exhibit a significant positive impact on Japanese stock volatility across all models, diverging from the findings in the Chinese stock market.

Overall, most parameter estimates for the long-run component τt demonstrate significance, indicating the enduring impact of money supply, exchange rates, and economic policy uncertainty on stock markets in both China and Japan. Notably, the AO-GARCH-MIDAS model outperforms other models, with a majority of parameter results exhibiting higher significance and significance levels.

To assess whether model performance can be enhanced through outlier correction, we scrutinize the estimation outcomes for the four aforementioned models across the full sample period. The evaluation of model fitting efficacy hinges on a direct comparison between observed and predicted daily volatility. Thus, this study employs four distinct loss functions: Mean Absolute Error (MAE), Mean Squared Error (MSE), Mean Absolute Deviation (MAD), and Mean Squared Deviation (MSD), which are denoted as follows

Where n is the total number of volatility forecasts, σt and represent the actual value and forecast value of the volatility, respectively.

Table 3 presents the outcomes from the assessment of diverse model specifications, demonstrating consistent findings for both Japan and China. Primarily, the results obtained through the loss function analysis reveal that models incorporating low-frequency economic variables, namely GARCH-MIDAS-X, GARCH-MIDAS-RV-X, and AO-GARCH-MIDAS-RV-X, consistently exhibit diminished values in comparison to GARCH-MIDAS-RV and the standard GARCH model. This substantiates the assertion that integrating low-frequency economic variables significantly amplifies the model’s efficacy. Remarkably, the GARCH model consistently ranks the lowest across all evaluation criteria, with a substantial margin, notably in terms of Akaike Information Criterion (AIC) and Bayesian Information Criterion (BIC). Specifically, in Table 3, Panel A, its AIC and BIC values are more than twice those of the top-performing model. In Panel B, the gap between the GARCH model and the leading model is striking, with AIC and BIC disparities of 2484.345 and 2438.285, respectively. Moreover, the incorporation of realized volatility does not substantially influence the estimation process. Although GARCH-MIDAS-RV-X exhibits smaller values in the loss function, its AIC and BIC values are comparatively larger. Lastly, the AO-GARCH-MIDAS-RV-X model consistently outperforms the other four models, demonstrating superior performance with significantly lower loss function values and markedly smaller AIC and BIC scores. In sum, in the in-sample result, AO-GARCH-MIDAS-RV-X emerges as the most robust model, reflecting its superior predictive capacity and stability.

thumbnail
Table 3. GARCH-type full sample parameter estimation results.

https://doi.org/10.1371/journal.pone.0305420.t003

4.2 Out-of-sample forecast evaluation of GARCH-type models

For market participants, the primary concern lies in the model’s capacity to predict future stock volatility rather than just in-sample performance [30,38,39]. Because of the prevalent desire among investors to seek new investment insights from historical market data, there is a pressing need for models characterized by improved efficiency to facilitate their effective exploration of this valuable information.

In light of this objective, this section delves into an analysis of whether the incorporation of a model with additive outliers can augment their predictive prowess. To ensure the robustness of our findings and mitigate the influence of extraneous variables on forecasting results, we employ a unified forecasting method, characterized by a rolling window approach consisting of five steps. This approach encompasses parameter estimation for GARCH-type models, involving the analysis of model parameters utilizing sample data spanning various periods, followed by out-of-sample forecasting. Evidently, the overall estimation timeline is iteratively adjusted for each forecasting outcome generated within the confines of this recursive framework. In particular, we commence by partitioning the complete dataset for both China and Japan into two separate subgroups. The complete dataset sourced from the two nations was initially partitioned into distinct subgroups. The complete dataset from both countries is initially segregated into two distinct subgroups. The allocation comprises 80% designated for in-sample analysis and 20% earmarked for out-of-sample examination, with a total of 660 forecast periods. In the case of China, the in-sample estimation spans from January 18, 2013, to August 5, 2020, while the out-of-sample forecast period extends from August 6, 2020, to March 31, 2023. Similarly, for Japan, the in-sample estimation period encompasses data from December 26, 2012, to July 13, 2020, followed by the corresponding out-of-sample evaluation period spanning from July 14, 2020, to March 31, 2023.

The evaluation of out-of-sample model forecasting performance also relies on four distinct loss functions; however, the predictive efficacy of the model displays noteworthy disparities between China and Japan. As delineated in Examining the loss functions associated with the GARCH-MIDAS-RV and GARCH-MIDAS-X models in Table 4, Panel B reveals that the model incorporating low-frequency macro factors and EPU encompasses more valuable predictive information. Notably, the AO-GARCH-MIDAS-RV-X model, focusing on additive outliers, notably surpasses the other models in terms of predictive accuracy. Specifically, across both Chinese and Japanese datasets, the MAE, MSE, MAD, and MSD values are minimized. In summary, this innovative model exhibits unequivocal superiority, excelling in both in-sample estimation and out-of-sample prediction.

Table 4, Panel A, the GARCH model exhibits smaller values across all four loss functions compared to the GARCH-MIDAS-X and GARCH-MIDAS-RV-X models, which show robust out-of-sample forecasting capabilities, despite their underperformance in the in-sample context. Remarkably, in Japan, the GARCH model does not establish an unequivocal advantage. Moreover, the performance of GARCH-MIDAS-X and GARCH-MIDAS-RV-X models diverges significantly between the two countries, with the latter model slightly outperforming predictions in China but lagging behind all models in Japan. This disparity implies that the incorporation or exclusion of the low-frequency factor RV does not singularly enhance the model’s predictive prowess. Examining the loss functions associated with the GARCH-MIDAS-RV and GARCH-MIDAS-X models in Table 4, Panel B reveals that the model incorporating low-frequency macro factors and EPU encompasses more valuable predictive information. In addition, the tables presented offer consistent findings, affirming the exceptional predictive efficacy of the AO-GARCH-MIDAS-X model. This is evidenced not only through individual loss functions but also through the aggregate of four distinct loss functions. The model’s unparalleled performance is distinctly evident across both in-sample estimation and out-of-sample prediction, underscoring its unequivocal superiority in predictive accuracy and innovation.

In addition to using these four loss functions to assess the predictive effectiveness of the model, this study uses Theil’s U statistic. This statistical metric scales the Root Mean Square Error (RMSE) by accounting for the variability inherent in the underlying data, thus offering the advantage of independence from the actual process variance. The formula for Theil’s U statistic is as follows:

Where, T represents the quantity of forecasting periods under scrutiny. signifies the authentic value while indicates the anticipated value derived from the naïve forecast for 5 steps into the future, with this study employing the no-change forecast as the basis for the naïve forecast. is the ith projected output for five steps in the future. When the value of Theil’s U exceeds 1, it indicates a scenario wherein the forecast model’s performance worse compared to the naïve forecast.

The final column of Table 4 presents the Theil’s U values. It is noteworthy that all values are substantially below 1, indicating that the predictive capabilities of the models chosen for this study surpass those of the naïve forecast. Furthermore, the Theil’s U value associated with the AO-GARCH-MIDAS-RV-X model emerges as the smallest in both countries, a result consistent with findings observed across the other four loss functions.

Table 5 provides a comprehensive overview of model performance, encompassing evaluation across four distinct error measures. The initial four columns showcase the mean ratings extracted from Table 4, while the last column aggregates the average mean ratings for each method. Analysis of this table distinctly illustrates the sustained competitive edge of the GARCH-MIDAS model, particularly with outlier correction, across all four assessment criteria. Notably, in the overall rankings, this model confidently secures the top position, closely pursued by the GARCH model.

thumbnail
Table 5. Summary of the ranking of methods in Table 4 for the two stock indices.

https://doi.org/10.1371/journal.pone.0305420.t005

This study employs four distinct loss functions to gauge the predictive efficacy of GARCH-type models in volatility forecasting. The utilization of multiple criteria enhances the efficiency of our analysis [40]. Moreover, to systematically appraise the predictive performance of these models based on loss functions, the study employs the model confidence set (MCS) test [41]. This test offers a straightforward and rapid method for comparison, bypassing the necessity to establish a baseline model when assessing the predictive accuracies of diverse models.

Tables 6 and 7 present the selected optimal superior models (SSM), determined through assessments of absolute and squared prediction errors, respectively. Notably, the associated p-values demonstrate significance at the 20% level. Within these findings, the AO-GARCH-MIDAS-RV-X model emerges as the least eliminated, closely followed by the GARCH-MIDAS-RV-X model. This observation accentuates the diminishing predictive efficacy of models in the presence of outliers. Consequently, it underscores the imperative for heightened consideration of outlier influence when employing models for predictive purposes.

thumbnail
Table 6. Composition of remaining models in the superior set for two stock indices using absolute forecast errors.

https://doi.org/10.1371/journal.pone.0305420.t006

thumbnail
Table 7. Composition of remaining models in the superior set for two stock indices using squared forecast errors.

https://doi.org/10.1371/journal.pone.0305420.t007

From the results of the MCS test, the predictive ability of the GARCH-MIDAS class of models generally outperforms the standard GARCH model, this finding is similar to Liu, Zhang [42]. They employ both GARCH-MIDAS model and a variety of GARCH models for predicting EUA futures, concluding that the former has stronger predictive power. In addition, GARCH-MIDAS model that includes RV and low-frequency macroeconomic variables can improve its predictive capability. The findings of Asgharian, Hou [12] support this conclusion. Finally, this study finds that the inclusion of outlier correction function in the model results in a significant improvement in predictive ability. This finding is consistent with Chen and Liu [34] and Franses and Ghijsels [7]. After adding this function to the ARMA and GARCH models, Chen and Li find that the predictive effect of the model on the volatility is significantly better than its standard model.

As delineated in Figs 2 and 3, it becomes apparent that the predictive outcomes of the AO-GARCH-MIDAS-RV-X model exhibit greater proximity to actual volatility levels. Furthermore, the observation that the temporal lag in predictions is notably diminished during periods marked by extreme volatility.

thumbnail
Fig 2. The forecasting secular volatilities of GARCH-type models, China.

https://doi.org/10.1371/journal.pone.0305420.g002

thumbnail
Fig 3. The forecasting secular volatilities of GARCH-type models, Japan.

https://doi.org/10.1371/journal.pone.0305420.g003

In pursuit of bolstering the robustness of our conclusions, we have undertaken an additional assessment utilizing the Diebold and Mariano (DM) test [43] to gauge the comparative predictive accuracy of the various models. Then, we define the mean loss differential of the time series as a critical metric in our analysis.

Where L(ei,t) and L(ej,t) are respectively the absolute error loss from two different competing models.

The Diebold-Mariano test can be expressed as:

Note that the Var(d) is a consistent estimator of the asymptotic variance of dt. The null hypothesis posits an equivalence in predictive accuracy between the alternative model and the benchmark model, while the alternative hypothesis postulates a better predictive accuracy for the benchmark model. In our analysis, we employ AO-GARCH-MIDAS-RV-X as the reference benchmark, subjecting each alternative model to a sequential comparative evaluation. The outcomes of these comparisons are presented in Table 8 for reference.

4.3 Robustness analysis

Numerous studies have confirmed that the selected length of the prediction window leads to differences in experimental results [4446]. As previous predictions covered the pandemic period, in order to capture more clearly whether the predictive ability of the model is robust or not, this section will separately explore the sample data without the COVID-19 component. Based on previous studies that typically used January 2020 as the pandemic start date [47], this study divided the data prior to the onset of the pandemic into the period from October 2009 to December 2019, with a prediction period of 500 days

Table 9 demonstrates the prediction performance of each model in China and Japan before the outbreak. In China, the predictive ability of each model is not unanimously confirmed, among which the predictive ability of AO-GARCH-MIDAS-RV-X is only supported by MAE and MAD. However, according to the results of the DM test in Table 10, the p-values are all found to be less than 10% when using this model as the baseline model in comparison with the other competing models, indicating that the predictive ability of this model is significantly better than that of all the competing models. The findings depicted in Tables 9 and 10 regarding the different models in predicting Japanese stock volatility are in strong agreement. Firstly, the AO-GARCH-MIDAS-RV-X model corresponds to the smallest values of the four loss functions and Theil’s U, closely followed by the GARCH-MIDAS-RV-X model. Secondly, all p-values in the DM test are significant at the 1% level, indicating that the AO-GARCH-MIDAS-RV-X has the strongest predictive power. Overall, the results of the robustness test are consistent with the above findings that this model has a stable out-of-sample predictive ability. Table 10 summarizes the means of the loss functions from the two stocks. For the AO-GARCH-MIDAS-RV-X model, the means of the three loss functions are significantly smaller than the other models, except for MSE. The mean values of the four loss functions corresponding to each model are shown in the last column of the table, again demonstrating that the innovative models excel in forecasting. Table 11 shows the results of DM-test. All the tests are significant, which means that all the models fail to beat the AO-GARCH-MIDAS-RV-X model in terms of forecasting performance, both in the Chinese and Japanese stock markets.

thumbnail
Table 9. Out-of-sample forecasting results in pre COVID-19 period.

https://doi.org/10.1371/journal.pone.0305420.t009

thumbnail
Table 10. Summary of the ranking of methods in Table 9 for the two stock indices.

https://doi.org/10.1371/journal.pone.0305420.t010

thumbnail
Table 11. Results of the diebold–Mariano test in pre COVID-19 period.

https://doi.org/10.1371/journal.pone.0305420.t011

5. Conclusions

This study delves into the substantial influence of money supply, exchange rates, and economic policy uncertainty on stock market volatility prediction through the GARCH-type model. The findings furnish noteworthy insights applicable to both the Chinese and Japanese stock markets, albeit with discernible performance disparities between the two nations. Among the variables, only M2 consistently demonstrates a contributory effect on stock volatility in both countries. Conversely, the impact of ER and EPU diverges significantly: in China, these variables exhibit a substantial negative influence on future volatility, whereas in Japan, they showcase a positive effect. Furthermore, employing four distinct loss functions (MAE, MSE, MAD, and MSD), we juxtapose the model’s estimation prowess pre and post the inclusion of macroeconomic variables. Results underscore a noteworthy enhancement in the model’s estimation capability post incorporation of these variables, underscoring the utility of low-frequency economic factors in estimating stock volatility. Subsequently, the in-sample explanatory strength of the AO-GARCH-MIDAS model, equipped with corrected outliers, remains robust.

However, out-of-sample empirical results reveal nuances: GARCH-MIDAS-RV-X, incorporating realized volatility, exhibits superior predictive power over GARCH-MIDAS-X in China, while the GARCH-MIDAS-X model, integrating macroeconomic variables and EPU, outperforms the GARCH-MIDAS-RV model in predicting Japanese stock volatility. Comparative assessments against rival models reaffirm the superior forecasting accuracy of the AO-GARCH-MIDAS model. The consistency between the MCS test and DM test bolsters the robustness of our main findings.

In summary, this research introduces novel approaches to forecast stock volatility, enriching the landscape of forecasting methodologies. The implications of our findings extend to policymakers and stock market participants. Policymakers should consider potential market alterations resulting from relevant policies, emphasizing the need to maintain market stability and transparency. Simultaneously, market participants can leverage these insights to mitigate risks and make informed investment decisions.

References

  1. 1. Patel P.B. and Marwala T. Forecasting closing price indices using neural networks. in 2006 IEEE international conference on systems, man and cybernetics. 2006. IEEE.
  2. 2. Poon S.-H. and Granger C.W.J., Forecasting volatility in financial markets: A review. Journal of economic literature, 2003. 41(2): p. 478–539.
  3. 3. Wei Y., et al., Are industry‐level indicators more helpful to forecast industrial stock volatility? Evidence from Chinese manufacturing purchasing managers index. Journal of Forecasting, 2021. 40(1): p. 17–39.
  4. 4. Bazrkar M.J. and Hosseini S., Predict stock prices using supervised learning algorithms and particle swarm optimization algorithm. Computational Economics, 2023. 62(1): p. 165–186.
  5. 5. Rashedi K.A., et al., Application of radial basis function neural network coupling particle swarm optimization algorithm to classification of Saudi Arabia stock returns. Journal of Mathematics, 2021. 2021: p. 1–8.
  6. 6. González-Sánchez M., Is there a relationship between the time scaling property of asset returns and the outliers? Evidence from international financial markets. Finance Research Letters, 2021. 38: p. 101510.
  7. 7. Franses P.H. and Ghijsels H., Additive outliers, GARCH and forecasting volatility. International Journal of forecasting, 1999. 15(1): p. 1–9.
  8. 8. Wu X., Yin X., and Mei X., Forecasting the volatility of European union allowance futures with climate policy uncertainty using the EGARCH-MIDAS model. Sustainability, 2022. 14(7): p. 4306.
  9. 9. Engle R.F., Ghysels E., and Sohn B., Stock market volatility and macroeconomic fundamentals. Review of Economics and Statistics, 2013. 95(3): p. 776–797.
  10. 10. Burridge P. and Robert Taylor A., Additive outlier detection via extreme‐value theory. Journal of Time Series Analysis, 2006. 27(5): p. 685–701.
  11. 11. Franses P.H. and Haldrup N., The effects of additive outliers on tests for unit roots and cointegration. Journal of Business & Economic Statistics, 1994. 12(4): p. 471–478.
  12. 12. Asgharian H., Hou A.J., and Javed F., The importance of the macroeconomic variables in forecasting stock return variance: A GARCH‐MIDAS approach. Journal of Forecasting, 2013. 32(7): p. 600–612.
  13. 13. Song Y., et al., Volatility forecasting for stock market incorporating macroeconomic variables based on GARCH‐MIDAS and deep learning models. Journal of Forecasting, 2023. 42(1): p. 51–59.
  14. 14. Friedman M., A natural experiment in monetary policy covering three episodes of growth and decline in the economy and the stock market. Journal of Economic Perspectives, 2005. 19(4): p. 145–150.
  15. 15. Ma D., et al., Analysis of Factors Influencing Stock Market Volatility Based on GARCH-MIDAS Model. Complexity, 2022. 2022: p. 1–10.
  16. 16. Bhuiyan E.M. and Chowdhury M., Macroeconomic variables and stock market indices: Asymmetric dynamics in the US and Canada. The Quarterly Review of Economics and Finance, 2020. 77: p. 62–74.
  17. 17. Ghani M., et al., Forecasting Pakistan stock market volatility: Evidence from economic variables and the uncertainty index. International Review of Economics & Finance, 2022. 80: p. 1180–1189.
  18. 18. Aslam W., Relationship between stock market volatility and exchange rate: a study of KSE. Journal of Public Administration, Finance and Law, 2014(05): p. 62–72.
  19. 19. Sensoy A. and Sobaci C., Effects of volatility shocks on the dynamic linkages between exchange rate, interest rate and the stock market: The case of Turkey. Economic Modelling, 2014. 43: p. 448–457.
  20. 20. Endri E., et al., Indonesian stock market volatility: GARCH model. Montenegrin Journal of Economics, 2020. 16(2): p. 7–17.
  21. 21. Khan M.K., Impact of exchange rate on stock returns in Shenzhen stock exchange: Analysis through ARDL approach. International Journal of economics and management, 2019. 1(2): p. 15–26.
  22. 22. Kumar S., Kumar A., and Singh G., Causal relationship among international crude oil, gold, exchange rate, and stock market: Fresh evidence from NARDL testing approach. International Journal of Finance & Economics, 2023. 28(1): p. 47–57.
  23. 23. Dai Z., Zhou H., and Dong X., Forecasting stock market volatility: the role of gold and exchange rate. AIMS Mathematics, 2020. 5(5): p. 5094–5105.
  24. 24. ERSİN Ö.Ö., GÜL M., and AŞIK B., ARE THE POLICY UNCERTAINTY AND CLI’EFFECTIVE’INDICATORS OF VOLATILITY? GARCH-MIDAS ANALYSIS OF THE G7 STOCK MARKETS. Economic Computation & Economic Cybernetics Studies & Research, 2022. 56(1).
  25. 25. Dai P.-F., et al., Preventing crash in stock market: The role of economic policy uncertainty during COVID-19. Financial Innovation, 2021. 7: p. 1–15. pmid:35024279
  26. 26. Li T., et al., Economic policy uncertainty and the Chinese stock market volatility: Novel evidence. Economic Modelling, 2020. 87: p. 24–33.
  27. 27. Wu X., Liu T., and Xie H., Economic policy uncertainty and Chinese stock market volatility: a CARR-MIDAS approach. Complexity, 2021. 2021: p. 1–10.
  28. 28. Balcilar M., et al., The role of economic policy uncertainties in predicting stock returns and their volatility for Hong Kong, Malaysia and South Korea. International Review of Economics & Finance, 2019. 59: p. 150–163.
  29. 29. Xu Y., et al., Economic policy uncertainty and stock market returns: New evidence. The North American journal of economics and finance, 2021. 58: p. 101525.
  30. 30. Yu X. and Huang Y., The impact of economic policy uncertainty on stock volatility: Evidence from GARCH–MIDAS approach. Physica A: Statistical Mechanics and its Applications, 2021. 570: p. 125794.
  31. 31. Humpe A. and Macmillan P., Can macroeconomic variables explain long-term stock market movements? A comparison of the US and Japan. Applied financial economics, 2009. 19(2): p. 111–119.
  32. 32. Engle R.F. and Rangel J.G., The spline-GARCH model for low-frequency volatility and its global macroeconomic causes. The review of financial studies, 2008. 21(3): p. 1187–1222.
  33. 33. Ghysels E., Sinko A., and Valkanov R., MIDAS regressions: Further results and new directions. Econometric reviews, 2007. 26(1): p. 53–90.
  34. 34. Chen C. and Liu L.-M., Joint estimation of model parameters and outlier effects in time series. Journal of the American Statistical Association, 1993. 88(421): p. 284–297.
  35. 35. Chang I., Tiao G.C., and Chen C., Estimation of time series parameters in the presence of outliers. Technometrics, 1988. 30(2): p. 193–204.
  36. 36. Girardin E. and Joyeux R., Macro fundamentals as a source of stock market volatility in China: A GARCH-MIDAS approach. Economic Modelling, 2013. 34: p. 59–68.
  37. 37. Baker S.R., Bloom N., and Davis S.J., Measuring economic policy uncertainty. The quarterly journal of economics, 2016. 131(4): p. 1593–1636.
  38. 38. Ma Y.r., Q Ji, and Pan J, Oil financialization and volatility forecast: Evidence from multidimensional predictors. Journal of Forecasting, 2019. 38(6): p. 564–581.
  39. 39. Wang L., et al., Forecasting stock price volatility: New evidence from the GARCH-MIDAS model. International Journal of Forecasting, 2020. 36(2): p. 684–694.
  40. 40. Kou G., et al., Fintech investments in European banks: a hybrid IT2 fuzzy multidimensional decision-making approach. Financial innovation, 2021. 7(1): p. 39. pmid:35024283
  41. 41. Hansen P.R., Lunde A., and Nason J.M., The model confidence set. Econometrica, 2011. 79(2): p. 453–497.
  42. 42. Liu J., et al., Forecasting the volatility of EUA futures with economic policy uncertainty using the GARCH-MIDAS model. Financial Innovation, 2021. 7: p. 1–19.
  43. 43. Diebold F.X. and Mariano R.S., Comparing predictive accuracy. Journal of Business & economic statistics, 2002. 20(1): p. 134–144.
  44. 44. Wang L., et al., Forecasting renewable energy stock volatility using short and long-term Markov switching GARCH-MIDAS models: Either, neither or both? Energy Economics, 2022. 111: p. 106056.
  45. 45. Rossi B. and Inoue A., Out-of-sample forecast tests robust to the choice of window size. Journal of Business & Economic Statistics, 2012. 30(3): p. 432–453.
  46. 46. Gkillas K., Gupta R., and Pierdzioch C., Forecasting realized gold volatility: Is there a role of geopolitical risks? Finance Research Letters, 2020. 35: p. 101280.
  47. 47. Raza S.A., et al., Forecasting the volatility of precious metals prices with global economic policy uncertainty in pre and during the COVID-19 period: Novel evidence from the GARCH-MIDAS approach. Energy Economics, 2023. 120: p. 106591.