Skip to Content
MathematicsMathematics
  • Article
  • Open Access

23 September 2026

24 Pages

A Comparative Forecasting Framework for Weekly VIX Prediction Based on Statistical and Machine Learning Models with Bayesian Optimization

and
1
School of Economics and Management, Jining University, Qufu 273155, China
2
School of Economics and Management, Xinjiang University, Urumqi 830046, China
*
Author to whom correspondence should be addressed.

Abstract

Accurate forecasting of the CBOE Volatility Index (VIX) is an important problem in financial risk modeling and time-series prediction due to its role as a widely used indicator of market uncertainty. This study proposes a comparative forecasting framework for weekly VIX prediction by integrating statistical and machine learning models with Bayesian optimization for hyperparameter tuning. A compact set of publicly available macro-financial indicators obtained from the Federal Reserve Economic Data (FRED), including the S&P 500 Index, the TED spread, and the Chicago Fed National Financial Conditions Index, is employed as explanatory variables. Weekly observations from August 2016 to January 2022 are used to evaluate thirteen forecasting approaches: naive persistence, AR, HAR, GARCH(1,1), and ARIMA benchmarks, together with ridge regression, elastic net, support vector regression, KNN regression, random forest, gradient boosting, XGBoost, and a multilayer perceptron. Bayesian optimization is applied to tune the hyperparameters of the machine learning models under a unified chronological validation protocol. Forecast performance is assessed at 1-, 4-, and 12-week horizons using RMSE and MAE as primary accuracy metrics, with MAPE and directional accuracy reported as complementary diagnostics, under both a chronological 80/20 holdout split and a recursive rolling-origin evaluation. Feature-ablation analysis and Diebold–Mariano tests are further conducted to quantify predictor importance and examine the statistical significance of forecast differences. The empirical results indicate that persistence-based statistical models outperform more complex machine learning models under the fixed holdout evaluation, with the HAR model achieving the strongest overall accuracy in that design. Under recursive rolling-origin evaluation with expanding-window re-estimation, regularized linear models (Elastic Net and Ridge) attain the lowest RMSE at the 1- and 4-week horizons, whereas the Bayesian optimization-tuned XGBoost model achieves the lowest RMSE at the 12-week horizon. In addition, financial stress indicators contribute more predictive information than equity-level variables at short-to-medium horizons. The proposed framework provides a systematic and reproducible benchmark for volatility forecasting and demonstrates that the relative performance of statistical and machine learning methods depends jointly on the forecasting horizon, market regime, and evaluation strategy.

1. Introduction

Forecasting the CBOE Volatility Index (VIX) can be formulated as a supervised prediction problem on a weekly time series with strong persistence, nonlinear state dependence, and occasional regime shifts [1,2]. From a mathematical perspective, the task is to estimate a forecast map f h : X t → R that minimizes an out-of-sample loss functional over a horizon h ∈ { 1 , 4 , 12 } weeks, where X t denotes the information set available at forecast origin t. The VIX is a natural target because it aggregates market-implied uncertainty and reacts rapidly to changes in funding conditions and financial stress [3,4,5]. Accurate VIX forecasts matter in practice because they feed option hedging, volatility targeting, stress monitoring, and short-horizon risk budgeting; even moderate reductions in forecast RMSE can improve the calibration of risk limits and the timing of portfolio hedges [2,6].
Despite the conceptual simplicity of the forecasting problem, model selection is nontrivial. Classical time-series models exploit volatility persistence [7,8,9,10], whereas machine learning methods seek nonlinear forecast maps in high-dimensional predictor spaces [11,12,13]. Recent VIX studies employ random forests [14], adaptive learning [15], and Bayesian deep networks [16]. A critical reading of this literature, however, reveals three recurring limitations. First, many comparative exercises mix inconsistent information sets, tuning budgets, or evaluation windows, so reported gains of machine learning over HAR-type benchmarks are difficult to attribute to model class rather than to protocol design [17,18,19,20]. Second, hyperparameter selection is often treated as an informal preprocessing step; without a common black-box optimization protocol, flexible learners are either under-tuned or overfit to a single validation slice. Third, fixed holdout rankings are frequently presented as if they were evaluation-invariant, even though recursive re-estimation can reverse the relative standing of persistence maps and regularized learners in short weekly samples.
These shortcomings motivate an integrated framework rather than another isolated algorithm. Bayesian optimization is useful here not because Expected Improvement is new, but because it supplies a mathematically stated surrogate-based search that can be applied identically across heterogeneous hypothesis spaces, thereby converting an otherwise opaque tuning stage into a controllable experimental factor [21,22]. For a journal such as Mathematics, the relevant contribution is therefore the forecast-operator formalism, the finite-sample experimental design, and the equation-level comparison protocol, rather than a claim of universal predictive dominance.
This paper develops such a transparent comparative framework. It combines four elements that are often treated separately in applied finance papers but are central to a mathematically disciplined forecasting study: (i) explicit definition of the forecast operator and information set; (ii) a unified set of statistical and machine learning candidate models; (iii) Bayesian optimization over model-specific hyperparameter spaces under a common chronological validation split; and (iv) out-of-sample comparison based on multiple loss functionals and formal forecast tests. The objective is not to claim universal dominance of a single algorithm, but to characterize when persistence-based statistical models and when BO-tuned machine learning models are empirically competitive.
The contribution is threefold. First, we provide a fully specified weekly benchmark using public FRED indicators and thirteen competing forecast maps spanning classical time-series models and BO-tuned machine learning methods. Second, we introduce a dedicated methodology section that states the forecasting problem, model classes, and a unified chronological Bayesian optimization protocol in equation form, together with tabular documentation of search spaces and selected hyperparameters; the novelty lies in the transparent finite-sample experimental design rather than in a new acquisition function. Third, we report a comprehensive model-comparison experiment through large tabular summaries under both fixed-holdout and rolling-origin evaluation, with explicit attention to overlapping multi-step errors, sample-size limitations, and feature-ablation evidence.
The remainder of the paper is organized as follows. Section 2 describes the data and feature construction. Section 3 presents the methodological framework. Section 4 reports the experimental results. Section 5 discusses implications and limitations. Section 6 concludes.

2. Data and Feature Construction

The empirical analysis uses a weekly panel constructed from FRED market-risk indicators. The target variable is the CBOE VIX (VIXCLS). Predictors include the S&P 500 Index (SP500), the TED spread (TEDRATE), and the Chicago Fed National Financial Conditions Index (NFCI). These variables are selected because they map onto three economically distinct channels that theory and prior volatility research link to implied-volatility dynamics: equity-market state (SP500), short-term funding stress (TED), and broad financial conditions (NFCI) [3,6,23,24]. We deliberately keep the predictor set compact. Common alternatives—option-surface moments, credit spreads beyond TED, oil or FX shocks, and high-frequency realized measures—are excluded to avoid a high-dimensional weekly feature space that would be poorly identified with only a few hundred observations and to preserve a fully public, easily replicated information set.
After aligning common support, resampling to Friday observations (W-FRI), and constructing lagged and HAR-style moving-average features, the final panel contains 286 weekly observations from 5 August 2016 to 21 January 2022. The window covers a prolonged low-volatility phase, the COVID-19 stress spike, and the subsequent normalization, so it is informative about regime dependence; it is nevertheless short relative to multi-decade daily studies and should not be treated as exhaustive across all market regimes. We therefore treat overfitting risk and limited external validity as first-order design constraints and emphasize chronological validation, regularization, and transparent benchmark comparisons rather than ever-larger hypothesis spaces [11,25].
Variable transformations are chosen to mix level information with short-run dynamics. The forecasting models receive (i) VIX, TED, and NFCI in levels together with their lags at 1, 2, 4, and 8 weeks; (ii) the S&P 500 both in levels (lags) and as a four-week return; and (iii) engineered VIX transforms, namely the one-week change and the four- and twelve-week HAR averages. These choices retain the economically interpretable level of implied volatility while mitigating the pure unit-root contribution of the equity-price series. Table 1 reports descriptive statistics for the working panel. Table 2 shows that VIX and TED reject a unit root at conventional significance levels, whereas S&P 500 is non-stationary and NFCI is borderline; the return/change transforms are therefore used as complementary predictors rather than as a full differencing strategy for every series.
Table 1. Descriptive statistics of the weekly forecasting panel (286 Friday observations after common-support alignment).
Table 2. ADF stationarity diagnostics for the weekly panel in levels. Rejection of a unit root supports using VIX and TED in levels; S&P 500 and NFCI motivate complementary return/change transforms.
For each forecast origin t, the information vector is
x t = VIX t , lags 1 : 8 , HAR terms , macro - financial lags , transformations ,
where all components are computed using data available no later than t. For horizon  h ∈ { 1 , 4 , 12 } , the supervised target is the direct multi-step outcome y t + h = VIX t + h . Forecast origins advance week by week, so the 4- and 12-week forecast-error sequences are overlapping and serially correlated; the Diebold–Mariano tests below therefore employ a Newey–West correction with horizon-dependent bandwidth.
Weekly HAR-style components are defined as backward-looking averages at origin t: the four-week term y ¯ t , 4 is the mean of VIX over weeks t − 3 , … , t , and the twelve-week term y ¯ t , 12 is the mean over weeks t − 11 , … , t  [26]. Because the longest lag is eight weeks and the twelve-week HAR window requires additional history, the supervised sample used in estimation is slightly shorter than the raw panel. Figure 1 plots standardized indicator trends, Figure 2 reports the correlation structure, and Figure 3 marks the crisis-regime breakpoint used later in the robustness analysis. Table 2 reports Augmented Dickey–Fuller (ADF) tests [27] for the core series in levels.
Figure 1. Standardized weekly trends of VIX, S&P 500, TED, and NFCI over the estimation sample.
Figure 2. Pairwise correlation heatmap of the weekly market-risk panel used in forecasting.
Figure 3. Weekly VIX path with the 21 February 2020 crisis-regime breakpoint used in the robustness split.

3. Methodology

3.1. Forecasting Problem and Information Structure

Let { y t } t = 1 T denote the weekly VIX series and let x t ∈ R d be the predictor vector defined in Equation (1). For each horizon h ∈ H = { 1 , 4 , 12 } , the forecasting task is to construct a forecast map
y ^ t + h ∣ t = f h ( x t ; θ h ) ,
where θ h denotes model-specific parameters or hyperparameters. Given a chronological sample split with training set T train and holdout set T test , the out-of-sample loss of model m is
L h ( m ) = 1 | T test | ∑ t ∈ T test ℓ y t + h , y ^ t + h ∣ t ( m ) ,
where ℓ ( · , · ) is a forecast error functional specified below.
To avoid look-ahead bias, all parameter estimation, feature scaling, imputation, and hyperparameter optimization are performed using only observations in T train for the fixed-split design, and using only data up to t in the rolling-origin design [25,28,29,30].

3.2. Statistical Benchmark Models

The statistical benchmark set contains five forecast maps.
  • Naive persistence.
The simplest benchmark uses the random-walk forecast
y ^ t + h ∣ t naive = y t .
  • Autoregressive (AR) benchmark.
The AR forecast map uses lagged VIX values:
y ^ t + h ∣ t AR = β 0 + ∑ j = 1 p β j y t − j + 1 ,
with coefficients estimated by ordinary least squares on the training sample.
  • Heterogeneous autoregressive (HAR) benchmark.
Following the HAR logic [26,31], the benchmark augments the weekly level with short- and medium-run averages:
y ^ t + h ∣ t HAR = β 0 + β d y t + β w y ¯ t , 4 + β m y ¯ t , 12 .
  • GARCH(1,1) benchmark.
Following the conditional-heteroskedasticity framework [7,8,32], conditional variance is modeled as
σ t 2 = ω + α ε t − 1 2 + β σ t − 1 2 ,
with an AR(1) mean equation for VIX. Multi-step forecasts are generated recursively from the estimated training-sample parameters.
  • ARIMA benchmark.
As a univariate time-series benchmark [33], an ARIMA ( p , d , q ) model is estimated on the VIX series using expanding windows:
Φ ( L ) ( 1 − L ) d y t = Θ ( L ) ε t ,
where Φ ( L ) and Θ ( L ) are lag polynomials. In the implementation, ARIMA ( 2 , 0 , 1 ) is used and refitted at each forecast origin using only past observations.

3.3. Machine Learning Forecast Maps

The machine learning set contains ridge regression, elastic net, support vector regression (SVR), KNN regression, random forest, gradient boosting, XGBoost, and a multilayer perceptron (MLP). These models are chosen to span regularized linear maps, kernel and local nonparametric maps, bagging and boosting ensembles, and a compact neural baseline, all of which are widely used in financial forecasting and remain estimable under a 286-week sample [11,12,34]. We intentionally exclude large deep sequential architectures (e.g., LSTM or transformer forecasters) from the main comparison: with weekly N = 286 , such models are weakly identified, add many free parameters relative to the available degrees of freedom, and would confound the comparative design with an unequal tuning burden. Each retained model estimates a nonlinear or regularized mapping f h ( x t ; θ ) from the multivariate predictor space to a scalar VIX forecast. Table 3 summarizes the full comparison set.
Table 3. Forecasting methods included in the comparative framework.
  • Ridge regression.
Ridge [35] minimizes the penalized least-squares objective
β ^ = arg min β ∑ t ∈ T train y t + h − x t ⊤ β 2 + λ ∥ β ∥ 2 2 ,
where λ > 0 is a regularization hyperparameter.
  • Elastic Net.
Elastic Net [36] combines ℓ 1 and ℓ 2 penalties:
β ^ = arg min β ∑ t ∈ T train y t + h − x t ⊤ β 2 + λ ρ ∥ β ∥ 1 + ( 1 − ρ ) ∥ β ∥ 2 2 ,
where ρ ∈ ( 0 , 1 ) controls the balance between sparsity and ridge-style shrinkage.
  • Support vector regression (SVR).
SVR [37] solves
min w , b , ξ 1 2 ∥ w ∥ 2 2 + C ∑ t ξ t s . t . | y t + h − w ⊤ ϕ ( x t ) − b | ≤ ϵ + ξ t ,
where ϕ ( · ) is an RBF feature map and C controls the trade-off between margin width and training error.
  • KNN regression.
The KNN forecast [38] is a distance-weighted local average:
y ^ t + h ∣ t KNN = ∑ j ∈ N k ( x t ) w j y j + h ∑ j ∈ N k ( x t ) w j ,
where N k ( x t ) denotes the k nearest training observations and w j are inverse-distance weights.
  • Random forest.
A random forest [14,39] forecast is the average of B regression trees:
y ^ t + h ∣ t RF = 1 B ∑ b = 1 B T b ( x t ; θ b ) ,
where each tree T b is trained on a bootstrap sample and a random subset of predictors.
  • Gradient boosting.
Gradient boosting [40] builds an additive model sequentially:
y ^ t + h ∣ t GB = ∑ m = 1 M η h m ( x t ; θ m ) ,
where each weak learner h m is fitted to the negative gradient of the squared-error loss.
  • XGBoost.
XGBoost [34] approximates the forecast map by a regularized additive ensemble of M shallow trees:
y ^ t + h ∣ t XGB = ∑ m = 1 M η g m ( x t ; θ m ) ,
where η is the learning rate and each g m is fitted sequentially to the residual from the previous ensemble.
  • Multilayer perceptron (MLP).
The MLP forecast map [12,41] has the form
y ^ t + h ∣ t MLP = W L σ ⋯ σ ( W 1 x ˜ t + b 1 ) ⋯ + b L ,
where x ˜ t denotes standardized inputs, σ ( · ) is the ReLU activation, and  { W ℓ , b ℓ } ℓ = 1 L are trainable weights. In the implementation, each observation is standardized within the training window, and the network is trained by Adam with squared-error loss, a maximum of 300 epochs, and early stopping driven by the chronological validation RMSE used in Bayesian optimization. The architecture is restricted to at most two hidden layers with widths searched in [ 32 , 128 ] and [ 0 , 64 ] (a zero second-layer width yields a single-hidden-layer network), together with ℓ 2 weight decay α ∈ [ 10 − 5 , 10 − 1 ] and learning rate in [ 10 − 4 , 10 − 2 ] . Horizon-specific BO-selected widths are ( 42 , 27 ) for h = 1 , ( 78 , 44 ) for h = 4 , and  ( 105 , 22 ) for h = 12 (see Table 4 and Table 5 below). We deliberately retain this compact feed-forward network, rather than deep recurrent or transformer architectures, because the weekly sample contains only 286 observations and larger sequence models would amplify finite-sample instability without a commensurate increase in identifiable structure [11,13].
Table 4. Bayesian optimization search spaces for machine learning forecast maps.
Table 5. BO-selected hyperparameters for machine learning models.

3.4. Bayesian Hyperparameter Optimization

For each machine learning model m ∈ {Ridge, Elastic Net, SVR, KNN, RF, Gradient Boosting, XGBoost, MLP}, hyperparameter tuning is cast as a black-box minimization problem over a model-specific space Θ m  [11,21]. The contribution of Bayesian optimization in this paper is not a new acquisition function, but a discipline-facing experimental protocol: the same chronological validation split, the same Matérn GP–Expected Improvement loop, and the same iteration budget are applied uniformly across heterogeneous model classes, with all selected configurations reported for replication. Let θ ∈ Θ m denote a hyperparameter vector and let
J m ( θ ) = RMSE val f h ( · ; θ ) , D val
be the validation root mean squared error obtained from an inner chronological validation split of the training sample. Bayesian optimization seeks
θ m ★ = arg min θ ∈ Θ m J m ( θ ) .
A Gaussian process (GP) surrogate [21,22] is placed on J m ( · ) :
J m ( θ ) ∼ GP μ ( θ ) , k ( θ , θ ′ ) ,
where k ( · , · ) is a Matérn kernel with smoothness parameter ν = 2.5 , chosen as a standard smooth surrogate for moderately dimensional continuous hyperparameter spaces. At iteration n, the next hyperparameter candidate is selected by Expected Improvement (EI):   
EI ( θ ) = E max J m ★ − J m ( θ ) , 0 ,
where J m ★ is the best validation RMSE observed up to iteration  n − 1 . The EI acquisition balances exploration of uncertain regions and exploitation of promising hyperparameter values. The stopping rule is a fixed evaluation budget rather than an adaptive convergence threshold: after N BO = 28 iterations (8 random initializations plus 20 EI-guided evaluations), the hyperparameter vector with the lowest validation RMSE is retained and refit on the full training sample before generating holdout forecasts. This fixed-budget rule keeps the tuning cost comparable across models and horizons and is transparent for replication.
Table 4 summarizes the hyperparameter search spaces. Table 5 reports the BO-selected configurations used in the final out-of-sample comparison. The inner validation split uses the last 20% of the training sample in chronological order, thereby preserving the temporal structure of the forecasting problem.
The complete Bayesian optimization loop can be summarized as follows:
  • Initialize the observation set D 0 = { ( θ i , J m ( θ i ) ) } i = 1 n init by random sampling in Θ m .
  • Fit a GP surrogate to D n − 1 and compute EI over a candidate pool.
  • Evaluate J m at the candidate with maximal EI and append the result to D n .
  • Repeat Step 2 until n = N BO , then return θ m ★ = arg min J m ( θ ) over all evaluated points.

3.5. Evaluation Metrics and Forecast Tests

Forecast accuracy is evaluated primarily by root mean squared error (RMSE) and mean absolute error (MAE),
RMSE = 1 N ∑ t ( y t + h − y ^ t + h ∣ t ) 2 , MAE = 1 N ∑ t y t + h − y ^ t + h ∣ t .
MAPE is reported only as a supplementary percentage diagnostic,
MAPE = 100 N ∑ t y t + h − y ^ t + h ∣ t y t + h ,
and is de-emphasized in interpretation because calm-period VIX levels can inflate percentage errors even when absolute mistakes remain small. Directional accuracy (DA) measures the fraction of correct signs in Δ y t + h = y t + h − y t :
DA = 1 N ∑ t 1 sign ( Δ y t + h ) = sign ( y ^ t + h ∣ t − y t ) .
To test whether differences between two forecast sequences are statistically significant, Diebold–Mariano (DM) statistics [42,43] are computed from squared forecast errors with a Newey–West adjustment [44]. For horizon h, the HAC bandwidth uses autocovariances up to lag h − 1 (so lag 0 for one-step forecasts, lag 3 for four-week forecasts, and lag 11 for twelve-week forecasts), matching the overlap induced by consecutive weekly origins. A negative DM statistic for the comparison “Model A vs. Model B” indicates that Model A delivers lower squared-error loss under the reported sign convention. Because many pairwise comparisons are reported for transparency, the associated p-values should be read as descriptive evidence rather than as family-wise controlled tests; we therefore emphasize a small set of economically motivated contrasts (AR versus leading machine learning alternatives) and do not claim multiplicity-adjusted significance.
Two out-of-sample designs are implemented [25,28]. The fixed 80/20 split evaluates all models on a single chronological holdout window, with Bayesian optimization performed once on the training sample. The rolling-origin design recursively expands the estimation sample and re-estimates model parameters at each origin using only data available up to that origin. Critically, machine learning hyperparameters remain fixed at the values selected by the fixed-split Bayesian optimization stage; they are not re-tuned recursively. Rolling-origin results should therefore be interpreted as expanding-window re-estimation with pre-selected hyperparameters, not as fully adaptive online Bayesian optimization. This design isolates the effect of recursive coefficient updating under a stable hyperparameter configuration and avoids nested BO costs that would be prohibitive for thirteen models and three horizons [30,45].
The statistical benchmarks rest on standard assumptions—linear conditional means for AR/HAR/ARIMA, and a Gaussian GARCH(1,1) variance recursion—that are convenient but incomplete descriptions of VIX dynamics under jumps and regime shifts. Machine learning maps relax functional-form assumptions at the cost of higher variance in small samples. The framework is therefore best read as a comparative protocol for short weekly market-risk series with public predictors; transferring it to other financial targets (e.g., realized variance, credit spreads, or cryptocurrency volatility) would require re-checking persistence strength, predictor relevance, and the adequacy of the weekly sampling frequency.

3.6. Implementation and Reproducibility

All experiments are implemented in Python 3.11 on a standard Windows 10 workstation (Intel CPU, 16 GB RAM; no GPU required). The main libraries are NumPy, pandas, scikit-learn, XGBoost, statsmodels, and the arch package; exact package versions are pinned in the accompanying replication repository (requirements.txt). Stochastic components (tree ensembles, MLP initialization, and Bayesian optimization proposals) use a common random seed of 42. Feature imputation and standardization are fit inside each training window only. Bayesian optimization uses the Matérn( ν = 2.5 ) GP–EI loop described above with N BO = 28 evaluations per model–horizon pair. Wall-clock time for the full pipeline—including Bayesian optimization for eight machine learning models across three horizons, fixed-holdout evaluation, rolling-origin evaluation, ablation, and regime splits—is on the order of a few hours on the stated workstation. The replication package reports the full command sequence used to regenerate tables and figures, so that the numerical results can be reproduced without proprietary data.

4. Experimental Results

4.1. Comprehensive Model Comparison Under Fixed Holdout

Table 6 reports the main experimental result: a full comparison of all forecast maps across the three horizons and four evaluation metrics under the fixed 80/20 holdout design. Table 7 and Table 8 decompose this benchmark into statistical and machine learning subsets, respectively.
Table 6. Comprehensive out-of-sample performance of all forecasting models under the fixed 80/20 holdout split. Boldface marks the lowest RMSE at each horizon.
Table 7. Statistical benchmark comparison under the fixed 80/20 holdout split.
Table 8. Machine learning model comparison under the fixed 80/20 holdout split.
The full benchmark in Table 6 is the central empirical object of the paper because it places all thirteen forecast maps on a common footing under identical information sets and identical loss functionals. Statistical-benchmark RMSE patterns previously shown as a separate bar chart are now read directly from Table 7 and the joint comparison in Figure 4.
Figure 4. Fixed-split RMSE comparison across forecast horizons for all thirteen models. Lower bars indicate higher accuracy; statistical persistence maps dominate every horizon under the chronological 80/20 holdout.
The results show a clear partition between statistical and machine learning performance, consistent with prior evidence that persistence-based volatility models remain strong short-horizon benchmarks [18,29,46]. At the 1-week horizon, the HAR and AR benchmarks achieve the lowest RMSE (3.933), followed by the naive model (4.025), ridge regression (4.228), elastic net (4.292), ARIMA (4.492), and GARCH(1,1) (4.565). Among BO-tuned machine learning models, ridge regression ranks fourth overall and substantially narrows the gap relative to persistence-based benchmarks. At the 4-week horizon, HAR (4.295), AR (4.345), and ARIMA (4.515) remain strongest, followed by naive (4.935) and GARCH(1,1) (5.023); SVR is the best ML model (6.744). At the 12-week horizon, AR (3.953) and ARIMA (3.955) remain strongest in RMSE, with HAR (4.012) close behind; gradient boosting (7.186) and XGBoost (7.191) are the best machine learning models but still materially underperform the leading statistical benchmarks, a pattern also reported in recent XGBoost-based VIX studies [47,48]. Figure 4 summarizes the fixed-split RMSE pattern across horizons.
Table 8 isolates the machine learning subset and makes the cross-model comparison explicit. Under the fixed holdout design, ridge regression is the strongest ML model at the 1-week horizon, SVR is strongest at the 4-week horizon, and gradient boosting and XGBoost are essentially tied at the 12-week horizon. Random forest and MLP consistently underperform within the ML class at medium horizons, indicating that additional model complexity does not automatically translate into lower forecast loss.
Table 9 ranks all evaluated models by RMSE at each horizon. The ranking makes the comparative structure transparent: statistical models occupy the top ranks under fixed holdout evaluation, while ML models rank lower despite BO tuning. ARIMA is competitive with AR and HAR at the 4- and 12-week horizons, ranking third and second, respectively.
Table 9. Model ranking by RMSE under the fixed 80/20 holdout split.
Figure 5 and Figure 6 illustrate the out-of-sample forecast path and residual distribution for the 4-week AR benchmark under the fixed holdout design.
Figure 5. Actual versus predicted VIX for the AR benchmark at the 4-week horizon under the fixed 80/20 holdout.
Figure 6. Out-of-sample residual histogram for the 4-week AR benchmark under the fixed holdout. The blue solid curve is a kernel density estimate of the residual distribution.

4.2. Evaluation-Scheme Comparison

Table 10 compares RMSE rankings under the fixed holdout and rolling-origin designs for all thirteen forecast maps on a common evaluation footing [13,30]. Under the fixed split, statistical benchmarks dominate at all three horizons. Under rolling-origin evaluation with expanding-window re-estimation and fixed BO hyperparameters, rankings shift materially: Elastic Net and Ridge achieve the lowest RMSE at the 1- and 4-week horizons, while XGBoost attains the lowest RMSE at the 12-week horizon [47].
Table 10. RMSE comparison across evaluation schemes. Boldface marks the lowest RMSE in each column.
The scheme contrast admits a structural interpretation. Fixed holdout evaluation rewards models that exploit the strong unconditional persistence of weekly VIX within a single late test block; AR/HAR therefore minimize RMSE because their low-variance persistence maps are well matched to that loss surface. Rolling-origin evaluation repeatedly refreshes coefficients as the COVID stress episode enters the estimation window, which benefits shrinkaged linear maps that can re-weight stress indicators without fitting high-variance tree interactions. Only at the 12-week horizon does the nonlinear capacity of XGBoost outweigh persistence bias under recursive updating. In practical terms, short-horizon risk dashboards may therefore prefer regularly re-estimated Elastic Net/Ridge maps, whereas medium-term stress monitoring can justify a BO-tuned boosting map—but only under an evaluation design that allows coefficient adaptation. Table 11 reports the complete rolling-origin metric suite for all thirteen models.
Table 11. Rolling-origin forecast performance for all thirteen models. Boldface marks the lowest RMSE at each horizon.
Figure 7 summarizes rolling-origin RMSE by model and horizon, and Figure 8 shows selected 4-week rolling forecast paths against realized VIX.
Figure 7. Rolling-origin RMSE by model and forecast horizon. Relative to the fixed holdout, regularized linear maps improve most at short-to-medium horizons, while XGBoost becomes competitive only at the 12-week horizon.
Figure 8. Rolling 4-week forecast paths versus realized VIX for selected benchmarks. The figure highlights how recursive re-estimation tracks the COVID-era volatility spike relative to persistence benchmarks.

4.3. Statistical Significance of Forecast Differences

Table 12 reports Diebold–Mariano tests for selected pairwise comparisons, using Newey–West lags of h − 1 as described above. Under the fixed split, the AR benchmark significantly outperforms XGBoost at all three horizons ( p < 0.05 ), with the strongest evidence at the 1-week horizon ( p < 10 − 15 ). The HAR benchmark is not statistically distinguishable from AR, and ARIMA is likewise indistinguishable from AR at the 12-week horizon ( p = 0.989 ). Under rolling-origin 4-week evaluation, the AR–XGBoost difference is not statistically significant ( p = 0.226 ), consistent with the improved rolling RMSE of several machine learning maps in Table 10 and Table 11; at that horizon Elastic Net, rather than XGBoost, records the lowest rolling RMSE among all models.
Table 12. Diebold–Mariano tests for selected forecast comparisons.

4.4. Feature-Ablation Experiment

To quantify incremental predictor information beyond VIX persistence [17,23,48,49], Table 13 reports ridge-based forecasts under four nested predictor sets: VIX lags only, VIX plus stress indicators, VIX plus equity indicators, and the full feature set. At the 1- and 4-week horizons, the VIX-plus-stress specification yields the lowest RMSE among ridge models, whereas the full feature set performs worst. At the 12-week horizon, VIX lags alone are best. These results indicate that macro-financial predictors contribute selectively rather than uniformly, and that expanding the predictor space does not monotonically improve forecast accuracy.
Table 13. Feature-ablation results for ridge forecasting models.
Figure 9 visualizes the nested ablation RMSE pattern corresponding to Table 13.
Figure 9. Feature-ablation RMSE by nested predictor set and horizon for ridge models (VIX lags, equity, stress, and full set).

4.5. Regime-Sensitive Performance

To examine whether model rankings depend on market state, Table 14 reports rolling 4-week performance for all thirteen models in normal and crisis regimes, using 21 February 2020 as the stress-regime breakpoint [2,45,50]. Because the normal-regime subsample contains only a small number of rolling forecast origins, those rankings should be interpreted cautiously.
Table 14. Rolling 4-week performance by market regime for all thirteen models.
Figure 10 compares rolling 4-week RMSE across normal and COVID-crisis regimes, and Figure 11 reports absolute ridge-coefficient magnitudes at the 4-week horizon.
Figure 10. Rolling 4-week RMSE by model in normal versus COVID-crisis regimes (breakpoint: 21 February 2020).
Figure 11. Absolute ridge-coefficient magnitudes for the main predictors at the 4-week horizon under the fixed holdout.

5. Discussion

The experimental evidence supports three main conclusions that are directly linked to the tabulated results. First, when the evaluation functional is computed on a fixed holdout sample, low-complexity persistence maps (AR and HAR) minimize RMSE across all three horizons (Table 6, Table 7, Table 8 and Table 9). This pattern is consistent with a short weekly sample in which strong VIX autocorrelation is the dominant identifiable signal: flexible tree and neural maps can fit transient training-window idiosyncrasies that do not recur in a single late holdout block.
Second, when the evaluation operator allows expanding-window re-estimation with pre-selected hyperparameters, machine learning rankings improve, but not uniformly (Table 10). Elastic Net and Ridge attain the lowest rolling RMSE at the 1- and 4-week horizons, indicating that regularized linear maps benefit most from recursive coefficient updating when the local linear structure of VIX dynamics is stable. XGBoost becomes the best performer only at the 12-week horizon, where nonlinear interactions and regime sensitivity are more valuable and the relative cost of persistence bias is larger. The rolling design therefore does not imply blanket dominance of BO-tuned boosting; rather, it shows that adaptation through re-estimation interacts with horizon length and model class.
Third, forecast differences are partially statistically meaningful: DM tests confirm that AR significantly dominates XGBoost under fixed-split evaluation, while rolling-origin contrasts are weaker (Table 12). Because overlapping multi-step errors induce serial dependence, these tests use Newey–West lags of h − 1 , and the multiplicity of pairwise comparisons is treated descriptively.
The feature-ablation evidence should be read together with these ranking shifts. The full feature set does not dominate: VIX plus stress indicators yields the best ridge RMSE at the 1- and 4-week horizons, whereas VIX lags alone are best at the 12-week horizon (Table 13). This pattern reinforces the claim that financial-stress variables carry more short-to-medium-horizon information than equity-level predictors, and it cautions against interpreting “more features” as a free improvement under a 286-week sample. Regime splits (Table 14) provide an additional robustness check: relative rankings remain informative across COVID-era stress, although the pre-crisis rolling subsample is small and should be interpreted cautiously. Together with the dual evaluation schemes, these checks address sensitivity to market state without inventing alternative historical samples outside the available panel.
From a decision-making perspective, the results suggest a horizon-contingent use of forecast maps. Short-horizon risk monitoring and volatility targeting can rely on regularly updated Elastic Net or Ridge forecasts when recursive estimation is operationally feasible; fixed-holdout persistence benchmarks remain useful diagnostic baselines for model governance. Medium-horizon stress monitoring may benefit from BO-tuned XGBoost, but only when the evaluation protocol matches the intended deployment (recursive updating rather than a one-shot holdout). Improvements in RMSE should therefore be translated into risk processes—limit recalibration, hedge timing, and scenario monitoring—rather than treated as abstract ranking gains alone.
Regarding presentation, the main narrative is organized around three core tables—the comprehensive fixed-holdout comparison (Table 6), the scheme comparison (Table 10), and the rolling-origin detail (Table 11)—with statistical/ML subset tables and rankings retained as navigation aids rather than as competing primary results. Best RMSE values are boldfaced to reduce scanning cost. We did not invent a longer historical sample for additional period-split experiments; instead, dual evaluation schemes, nested feature ablation, and the COVID regime split serve as the available sensitivity analyses within the 2016–2022 panel.
These findings are relevant for Mathematics because they show that model complexity, hyperparameter optimization, and evaluation design interact nonlinearly in a finite-sample forecasting problem [12,15,16,17,31,46]. A more flexible hypothesis space does not guarantee lower out-of-sample loss unless the evaluation scheme permits adaptation to changing dynamics and the predictor set remains commensurate with the sample size [13,30,48,49].
The study has explicit limitations. The sample period (2016–2022) is informative but short and COVID-centered, so external validity beyond this window is not guaranteed. The predictor set is compact by design and omits richer option-surface or high-frequency realized measures. Bayesian optimization is performed once rather than recursively; deep sequential architectures (transformers, LSTM variants) are not main competitors because N = 286 weekly observations is small relative to their parameter counts; and the rolling normal-regime subsample is small. Future work may extend the framework to alternative financial indicators and markets, transformer-based or hybrid forecast maps under longer samples, probabilistic forecast evaluation, recursive hyperparameter updating, and alternative acquisition functions in the Bayesian optimization loop [5,21,22,50].

6. Conclusions

This paper developed a comparative forecasting framework for weekly VIX prediction that integrates statistical benchmarks, BO-tuned machine learning models, and formal out-of-sample evaluation. A dedicated methodology section specifies the forecast maps, Bayesian optimization objective, and loss functionals in equation form, together with explicit statements on overlapping multi-step targets, Newey–West lag choices, and the distinction between recursive parameter re-estimation and recursive hyperparameter re-tuning. The empirical claims are intentionally tied to the reported tables: (i) persistence-based statistical models dominate under fixed holdout evaluation (Table 6, Table 7, Table 8 and Table 9); (ii) under rolling-origin evaluation, Elastic Net and Ridge are strongest at the 1- and 4-week horizons, while BO-tuned XGBoost is strongest at the 12-week horizon (Table 10 and Table 11); (iii) Diebold–Mariano tests confirm that fixed-split AR–XGBoost differences are statistically significant, whereas rolling contrasts are weaker (Table 12); and (iv) stress indicators contribute more short-to-medium-horizon information than equity-level predictors in the ridge ablation (Table 13), with regime splits providing a complementary robustness check (Table 14). Practically, the framework offers a reproducible protocol for selecting horizon-contingent forecast maps in risk monitoring and investment processes under transparent finite-sample constraints.

Author Contributions

Conceptualization, N.Y.; methodology, N.Y. and X.X.; software, X.X.; validation, X.X.; formal analysis, N.Y.; investigation, N.Y. and X.X.; data curation, N.Y.; writing—original draft preparation, N.Y.; writing—review and editing, N.Y. and X.X.; supervision, X.X. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The datasets used in this study are publicly available from the Federal Reserve Economic Data (FRED) database maintained by the Federal Reserve Bank of St. Louis: CBOE Volatility Index (VIXCLS, https://fred.stlouisfed.org/series/VIXCLS, accessed on 14 July 2026), S&P 500 (SP500, https://fred.stlouisfed.org/series/SP500, accessed on 14 July 2026), TED Spread (TEDRATE, https://fred.stlouisfed.org/series/TEDRATE, accessed on 14 July 2026), and Chicago Fed National Financial Conditions Index (NFCI, https://fred.stlouisfed.org/series/NFCI, accessed on 14 July 2026).

Acknowledgments

The authors thank colleagues at Jining University and Xinjiang University for helpful comments on earlier drafts.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Liu, Z.; Liu, J.; Zeng, Q.; Wu, L. VIX and stock market volatility predictability: A new approach. Finance Res. Lett. 2022, 48, 102887. [Google Scholar] [CrossRef] [Scilit]
  2. Bekaert, G.; Hoerova, M. The VIX, the variance premium and stock market volatility. J. Econom. 2014, 183, 181–192. [Google Scholar] [CrossRef] [Scilit]
  3. Whaley, R.E. Understanding the VIX. J. Portf. Manag. 2009, 35, 98–105. [Google Scholar] [CrossRef] [Scilit]
  4. Christensen, B.J.; Prabhala, N.R. The relation between implied and realized volatility. J. Financ. Econ. 1998, 50, 125–150. [Google Scholar] [CrossRef] [Scilit]
  5. Martin, V.L.; Tang, C.; Yao, W. Forecasting the volatility of asset returns: The informational gains from option prices. Int. J. Forecast. 2021, 37, 862–880. [Google Scholar] [CrossRef] [Scilit]
  6. Hansen, A.L. Predicting recessions using VIX-yield curve cycles. Int. J. Forecast. 2024, 40, 409–422. [Google Scholar] [CrossRef] [Scilit]
  7. Engle, R.F. Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrica 1982, 50, 987–1007. [Google Scholar] [CrossRef] [Scilit]
  8. Bollerslev, T. Generalized autoregressive conditional heteroskedasticity. J. Econom. 1986, 31, 307–327. [Google Scholar] [CrossRef] [Scilit]
  9. Wu, X.; Pu, J.; Wang, Y. Forecasting VIX using realized EGARCH model with dynamic jumps. Appl. Econ. Lett. 2025, 32, 1534–1545. [Google Scholar] [CrossRef] [Scilit]
  10. Wu, X.; Zhao, A.; Liu, L. Forecasting VIX using two-component realized EGARCH model. N. Am. J. Econ. Finance 2023, 67, 101934. [Google Scholar] [CrossRef] [Scilit]
  11. Gu, S.; Kelly, B.; Xiu, D. Empirical asset pricing via machine learning. Rev. Financ. Stud. 2020, 33, 2223–2273. [Google Scholar] [CrossRef] [Scilit]
  12. Fischer, T.; Krauss, C. Deep learning with long short-term memory networks for financial market predictions. Eur. J. Oper. Res. 2018, 270, 654–669. [Google Scholar] [CrossRef] [Scilit]
  13. Zhu, H.; Bai, L.; He, L.; Liu, Z. Forecasting realized volatility with machine learning: Panel data perspective. J. Empir. Finance 2023, 73, 251–271. [Google Scholar] [CrossRef] [Scilit]
  14. Kim, B.Y.; Han, H. Multi-step-ahead forecasting of the CBOE volatility index in a data-rich environment: Application of random forest with Boruta algorithm. Korean Econ. Rev. 2022, 38, 541–569. [Google Scholar]
  15. Bai, Y.; Cai, C.X. Predicting VIX with adaptive machine learning. Quant. Finance 2024, 24, 1857–1873. [Google Scholar] [CrossRef] [Scilit]
  16. Hortua, H.J.; Mora-Valencia, A. Forecasting VIX using Bayesian deep learning. Int. J. Data Sci. Anal. 2025, 20, 2039–2060. [Google Scholar] [CrossRef] [Scilit]
  17. Diaz, J.D.; Hansen, E.; Cabrera, G. Machine-learning stock market volatility: Predictability, drivers, and economic value. Int. Rev. Financ. Anal. 2024, 94, 103286. [Google Scholar] [CrossRef] [Scilit]
  18. Kambouroudis, D.S.; McMillan, D.G.; Tsakou, K. Forecasting realized volatility: The role of implied volatility, leverage effect, overnight returns, and volatility of realized volatility. J. Futur. Mark. 2021, 41, 1618–1639. [Google Scholar] [CrossRef] [Scilit]
  19. Huang, H.H.; Lin, Y.R. Forecasting VIX with stock and oil prices. Finance A Uver.-J. Econ. Finance 2023, 73, 24–55. [Google Scholar]
  20. Wu, X.; He, Q.; Xie, H. Forecasting VIX with time-varying risk aversion. Int. Rev. Econ. Finance 2023, 88, 458–475. [Google Scholar] [CrossRef] [Scilit]
  21. Snoek, J.; Larochelle, H.; Adams, R.P. Practical Bayesian optimization of machine learning algorithms. In Advances in Neural Information Processing Systems 25; Curran Associates, Inc.: Red Hook, NY, USA, 2012; pp. 2951–2959. [Google Scholar]
  22. Rasmussen, C.E.; Williams, C.K.I. Gaussian Processes for Machine Learning; MIT Press: Cambridge, MA, USA, 2006. [Google Scholar] [CrossRef] [Scilit]
  23. Andreou, E.; Ghysels, E. Predicting the VIX and the volatility risk premium: The role of short-run funding spreads volatility factors. J. Econom. 2021, 220, 366–398. [Google Scholar] [CrossRef] [Scilit]
  24. Blair, B.J.; Poon, S.H.; Taylor, S.J. Forecasting S&P 100 volatility: The incremental information content of implied volatilities and high-frequency index returns. J. Econom. 2001, 105, 5–26. [Google Scholar] [CrossRef] [Scilit]
  25. Rapach, D.E.; Strauss, J.K.; Zhou, G. Out-of-sample equity premium prediction: Combination forecasts and links to the real economy. Rev. Financ. Stud. 2010, 23, 821–862. [Google Scholar] [CrossRef] [Scilit]
  26. Corsi, F. A simple approximate long-memory model of realized volatility. J. Financ. Econom. 2009, 7, 174–196. [Google Scholar] [CrossRef] [Scilit]
  27. Dickey, D.A.; Fuller, W.A. Distribution of the estimators for autoregressive time series with a unit root. J. Am. Stat. Assoc. 1979, 74, 427–431. [Google Scholar] [CrossRef] [Scilit]
  28. Patton, A.J.; Sheppard, K. Evaluating volatility and correlation forecasts. In Handbook of Financial Time Series; Andersen, T.G., Davis, R.A., Kreiss, J.P., Mikosch, T., Eds.; Springer: Berlin/Heidelberg, Germany, 2009; pp. 801–824. [Google Scholar] [CrossRef] [Scilit]
  29. Poon, S.H.; Granger, C.W.J. Forecasting volatility in financial markets: A review. J. Econ. Lit. 2003, 41, 478–539. [Google Scholar] [CrossRef] [Scilit]
  30. Feng, Y.; Zhang, Y. Forecasting realized volatility: The choice of window size. J. Forecast. 2025, 44, 692–705. [Google Scholar] [CrossRef] [Scilit]
  31. Xie, X.; Clements, A. Predicting directional volatility: HAR model with machine learning integration. Appl. Econ. Lett. 2026, 33, 961–969. [Google Scholar] [CrossRef] [Scilit]
  32. Andersen, T.G.; Bollerslev, T. Answering the skeptics: Yes, standard volatility models do provide accurate forecasts. Int. Econ. Rev. 1998, 39, 885–905. [Google Scholar] [CrossRef] [Scilit]
  33. Box, G.E.P.; Jenkins, G.M. Time Series Analysis: Forecasting and Control; Holden-Day: San Francisco, CA, USA, 1976; ISBN 0-8162-1104-3. [Google Scholar]
  34. Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; ACM: New York, NY, USA, 2016; pp. 785–794. [Google Scholar] [CrossRef] [Scilit]
  35. Hoerl, A.E.; Kennard, R.W. Ridge regression: Biased estimation for nonorthogonal problems. Technometrics 1970, 12, 55–67. [Google Scholar] [CrossRef]
  36. Zou, H.; Hastie, T. Regularization and variable selection via the elastic net. J. R. Stat. Soc. Ser. B 2005, 67, 301–320. [Google Scholar] [CrossRef] [Scilit]
  37. Smola, A.J.; Schölkopf, B. A tutorial on support vector regression. Stat. Comput. 2004, 14, 199–222. [Google Scholar] [CrossRef] [Scilit]
  38. Cover, T.M.; Hart, P.E. Nearest neighbor pattern classification. IEEE Trans. Inf. Theory 1967, 13, 21–27. [Google Scholar] [CrossRef] [Scilit]
  39. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
  40. Friedman, J.H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, 29, 1189–1232. [Google Scholar] [CrossRef] [Scilit]
  41. Vrontos, S.D.; Galakis, J.; Vrontos, I.D. Implied volatility directional forecasting: A machine learning approach. Quant. Finance 2021, 21, 1687–1706. [Google Scholar] [CrossRef] [Scilit]
  42. Diebold, F.X.; Mariano, R.S. Comparing predictive accuracy. J. Bus. Econ. Stat. 1995, 13, 253–263. [Google Scholar] [CrossRef] [Scilit]
  43. Clark, T.E.; West, K.D. Approximately normal tests for equal predictive accuracy in nested models. J. Econom. 2007, 138, 291–311. [Google Scholar] [CrossRef] [Scilit]
  44. Newey, W.K.; West, K.D. A simple, positive semi-definite, heteroskedasticity and autocorrelation consistent covariance matrix. Econometrica 1987, 55, 703–708. [Google Scholar] [CrossRef] [Scilit]
  45. Li, Z.C.; Xie, C.; Zeng, Z.J.; Wang, G.J.; Zhang, T. Forecasting global stock market volatilities in an uncertain world. Int. Rev. Financ. Anal. 2023, 85, 102465. [Google Scholar] [CrossRef] [Scilit]
  46. Gupta, R.; Nel, J.; Pierdzioch, C. Investor confidence and forecastability of U.S. stock market realized volatility: Evidence from machine learning. J. Behav. Finance 2023, 24, 111–122. [Google Scholar] [CrossRef] [Scilit]
  47. Wang, W.B.; Wu, Y. Forecasting and hedging the volatility index of financial markets via a robust XGBoost model. SAGE Open 2025, 15, 21582440251396044. [Google Scholar] [CrossRef] [Scilit]
  48. Zhang, Y.; Wang, Y.; Ma, F. Forecasting U.S. stock market volatility: How to use international volatility information. J. Forecast. 2021, 40, 733–768. [Google Scholar] [CrossRef] [Scilit]
  49. Li, X.; Liang, C.; Ma, F. Forecasting stock market volatility with a large number of predictors: New evidence from the MS-MIDAS-LASSO model. Ann. Oper. Res. 2025, 352, 613–652. [Google Scholar]
  50. Qiao, G.; Jiang, G.; Yang, J. VIX term structure forecasting: New evidence based on the realized semi-variances. Int. Rev. Financ. Anal. 2022, 82, 102199. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.