Forecasting Volatility by Using Wavelet Transform, ARIMA and GARCH Models
Citation. Lihki Rubio, Adriana Palacio Pinedo, Adriana Mejía Castaño (Universidad del Norte) and Filipe Ramos (Universidade de Lisboa, the corresponding author). "Forecasting volatility by using wavelet transform, ARIMA and GARCH models". Eurasian Economic Review 13, 803–830, 2023. DOI 10.1007/s40822-023-00243-x. Received 29 March 2023, accepted 14 October 2023, open access under CC BY 4.0. Funded in part by the Portuguese FCT (project UIDB/00006/2020). The data are from Yahoo Finance's free API. No code is released, although Figure 2 sketches the Python steps (PyWavelets, statsmodels and arch). A mismatch: the abstract says "the discrete Fourier transform is used as ARIMA pre-processing". The method uses a discrete wavelet transform, with Daubechies wavelets.
Status. Not applicable. The paper's best model by R² has worse errors than plain ARIMA in its own table. Its test is 21 days of one stock, with no baseline such as EWMA and no test of the differences. No sizing rule or strategy in the repo should use it. What carries over is a checklist for any volatility forecast here: the proxy, the loss, the baselines and the test.
Read. Read on 2026-11-28 from the published PDF that the maintainer supplied, with pdftotext. I read all of it myself, in the paper's own text: sections 1–8 and Tables 1–9. The figures came out as captions only, so no number here comes from a figure.
Summary
Claim. A wavelet transform splits a series into a low-frequency part and high-frequency parts. Forecasting the first with ARIMA and the rest with GARCH beats either model alone.
Method.
- Data. Tesla's daily closes from Yahoo Finance, 7 July 2010 to 17 February 2023, 3,178 observations. The target is realised volatility, "the square root of realized variance, which is the sum of squared return". The window of that sum isn't stated.
- Models. ARIMA, GARCH (in the end exponential GARCH) and a stochastic volatility model, alone and combined in two ways.
- The hybrids: ARIMA on the series and GARCH on its residuals, or the reverse.
- The wavelet models: a Daubechies db2 or db3 transform at two levels, A₂, D₂ and D₁, with ARIMA or GARCH on each part. The forecast is the sum of the parts.
- Choices. The orders come from AIC, over "a loop over a fixed range". The wavelet and the orders come from "a manual grid search in pursuit of the best decomposition and models". The chosen models are ARIMA(4, 0, 4), EGARCH(4, 2) and others of similar size.
- Validation. The fit uses "all the available historical data, except for the last 21 days considered for the test set". Forecasts are one step ahead. The losses are MAPE, MAE, RMSE and R².
Findings, as the paper reports them (Table 9, the 21 test days).
| Model | MAPE | MAE | RMSE | R² |
|---|---|---|---|---|
| ARIMA | 0.25 | 0.75 | 1.03 | 0.71 |
| GARCH | 0.25 | 0.99 | 1.24 | 0.65 |
| Stochastic volatility | 0.44 | 1.12 | 1.73 | 0.24 |
| W-ARIMA | 0.26 | 0.79 | 1.00 | 0.68 |
| ARIMA-GARCH | 0.24 | 1.07 | 1.26 | 0.70 |
| W-ARIMA-GARCH, the proposed model | 0.24 | 1.27 | 1.59 | 0.76 |
Where the claims go beyond the evidence
The proposed model loses on its own errors. W-ARIMA-GARCH has the highest R², 0.76. But its MAE, 1.27, and its RMSE, 1.59, are worse than plain ARIMA's, 0.75 and 1.03. The conclusion that it is "the best model for forecasting volatility" rests on R² alone. R² on 21 points can reward a forecast that tracks the shape and misses the level.
The test is 21 days. Every comparison rests on the last month of one stock. No difference is tested: there is no Diebold–Mariano test, model confidence set or interval.
No simple baseline. The models aren't compared with a random walk in volatility, EWMA (RiskMetrics) or GARCH(1,1). With orders of (4, 0, 4) and (4, 2), the models are much larger than those baselines.
A search on the test. The wavelet, the levels and the orders are chosen by "a manual grid search in pursuit of the best decomposition and models". The paper doesn't say that the search excluded the 21 test days. Ten models were compared on them.
The proxy and the loss. Realised volatility from an unstated window of daily squared returns is a noisy proxy. With a noisy proxy, MAPE and MAE can rank forecasts wrongly. Patton (2011) shows that MSE and QLIKE still rank forecasts correctly when the proxy is noisy. The paper uses neither QLIKE nor a range-based or intraday proxy.
The decomposition may look ahead. The paper says the daily returns are decomposed with the transform, and then the parts are forecast. It doesn't say whether the transform is recomputed at each forecast origin. A transform of the whole series uses later points at every time. At the newest point, the one a forecast needs, a wavelet's boundary effect is at its worst.
Credit. The paper sets out each step and the libraries it used, so its pipeline could be rebuilt. Its tables give every model's numbers, including those where the proposed model loses.
Use in this repo
A volatility forecast here needs four things. A strategy that sizes or targets volatility must forecast it, and its forecast must be scored. This paper leaves out all four of these things:
- A stated proxy, such as squared returns, a range estimator, or intraday realised variance where the data allow.
- A loss that ranks correctly with a noisy proxy, MSE or QLIKE.
- Simple baselines: a random walk, EWMA and GARCH(1,1).
- A test of the difference.
scoring.comparealready runs a Diebold–Mariano test with Newey–West errors on any series of losses (#109).
The repo's volatility is a trailing window. The inverse-volatility benchmark weights each ticker by its σ over vol_window past periods, 60 by default (harness.inverse_volatility, #332). That is the kind of simple estimate that a richer model must beat out of sample before a strategy uses it.
A wavelet feature must be point-in-time. A wavelet or Fourier decomposition of the whole history is a precomputed feature that looks ahead. pointintime.check would catch it: the past values change when later data are added (#370). A decomposition that a strategy reads must be recomputed at each time, on past data only. Then its edge values are the noisy ones, as fourier-stock-volatility.md found for Fourier features.
Each wavelet and order tried is a trial. The paper's grid over wavelets, levels and orders is a search, of the kind that the ledger counts (trials.py, #7). A search run inside a strategy's own code is the case of #435.