Submitted:
07 May 2026
Posted:
08 May 2026
You are already at the latest version
Abstract
Keywords:
MSC: 62P30
1. Introduction
2. Data and Spanish Market Characteristics
3. Volatility Modeling Methodology
3.1. GARCH Models
3.1.1. Classic GARCH Model
3.1.2. Absolute Value GARCH (AVGARCH)
3.1.3. GARCH-X
3.2. Realized Volatility Measures
3.2.1. Realized Volatility
3.2.2. Noise-Robust Realized Volatility Measures
3.2.3. Jump-Robust Realized Volatility Measures
3.3. Data Pre-Processing: Price Shift and Deaming Returns
3.4. HAR Volatility Models
3.4.1. HAR-RV Model
3.4.2. HAR-Q Model
3.4.3. HAR-J Model
3.4.4. HAR-QJ Model
3.4.5. HAR-C and HAR-CJ Models
3.4.6. HAR Median and HAR Kernel Model and Transformations
3.4.7. HAR Models with Day-of-the-Week Effects
3.5. Out of Sample Evaluation and Statistical Model Selection
3.5.1. Loss-Based Model Comparison: MCS with QLIKE
Model Confidence Set (MCS)
QLIKE Loss Function
3.5.2. Forecast Evaluation Within the Superior Set of Models
R2 Out-of-Sample
Mincer-Zarnowitz Regression
4. Results and Discussion
5. Conclusions
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
Abbreviations
| ARCH | Autoregressive Conditional Heteroskedasticity |
| GARCH | Generalized Autoregressive Conditional Heteroskedasticity |
| HAR | Heterogenous Autoregressive |
| MIBEL | Iberian Electricity Market |
| MCS | Model Confidence Set |
| SSM | Superior Set of Models |
| MedRV | Median Realized Volatility |
| RV | Realized Volatility |
| KRV | Kernel Realized Volatility |
References
- Pepermans, G. European energy market liberalization: Experiences and challenges. Int. J. Econ. Policy Stud. 2019, 13, 3–26. [Google Scholar] [CrossRef]
- Ciarreta, A.; Pizarro-Irizar, C.; Zarraga, A. Renewable energy regulation and structural breaks: An empirical analysis of Spanish electricity price volatility. Energy Econ. 2020, 88, 104749. [Google Scholar] [CrossRef]
- Cevik, S.; Zhao, Y. Shocked: Electricity price volatility spillovers in Europe. Int. Econ. Econ. Policy 2026, 23, 1–21. [Google Scholar] [CrossRef]
- Qin, Y.; Hong, K.; Chen, J.; Zhang, Z. Asymmetric effects of geopolitical risks on energy returns and volatility under different market conditions. Energy Econ. 2020, 90, 104851. [Google Scholar] [CrossRef]
- Escribano, G.; Gouveia, A.F.; Fachada, J.; Arbeloa, I.U. After the Energy Crisis: Policy Responses in the Iberian Peninsula. Brookings Institution Articles. Available online: https://www.brookings.edu/articles/after-the-energy-crisis-policy-responses-in-the-iberian-peninsula/ (accessed on 17 April 2026).
- Durán-Castillo, G.; Weis, T.; Leach, A.; Fleck, B.A. Toward Sustainable Electricity Markets: Merit-Order Dynamics on Photovoltaic Energy Price Duck Curve and Emissions Displacement. Sustainability 2025, 17, 4618. [Google Scholar] [CrossRef]
- Cipra, T. Time Series in Economics and Finance. Time Ser. Econ. Financ. 2020, 1–410. [Google Scholar] [CrossRef]
- Tsay, R. Analysis of Financial Time Series; Wiley: Hoboken, NJ, USA, 2010. [Google Scholar]
- Billimoria, F.; Mays, J.; Poudineh, R. Hedging and tail risk in electricity markets. Energy Econ. 2025, 141, 108132. [Google Scholar] [CrossRef]
- Ullrich, C.J. Realized volatility and price spikes in electricity markets: The importance of observation frequency. Energy Econ. 2012, 34, 1809–1818. [Google Scholar] [CrossRef]
- Qu, H.; Duan, Q.; Niu, M. Modeling the volatility of realized volatility to improve volatility forecasts in electricity markets. Energy Econ. 2018, 74, 767–776. [Google Scholar] [CrossRef]
- Engle, R.F. Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation. Econometrica 1982, 50, 987–1007. [Google Scholar] [CrossRef]
- Bollerslev, T. Generalized autoregressive conditional heteroskedasticity. J. Econom. 1986, 31, 307–327. [Google Scholar] [CrossRef]
- Haas, M.; Mittnik, S.; Paolella, M.S. A New Approach to Markov-Switching GARCH Models. J. Financ. Econom. 2004, 2, 493–530. [Google Scholar] [CrossRef]
- Taylor, S.J. Modelling financial time series. In Modelling Financial Time Series; World Scientific Connect: Singapore, 1986; pp. 1–270. [Google Scholar] [CrossRef]
- Schwert; William, G. Stock Volatility and the Crash of ’87. Rev. Financ. Stud. 1990, 3, 77–102. [Google Scholar] [CrossRef]
- 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]
- Barndorff-Nielsen, O.E.; Shephard, N. Power and Bipower Variation with Stochastic Volatility and Jumps. J. Financ. Econom. 2004, 2, 1–37. [Google Scholar] [CrossRef]
- Barndorff-Nielsen, O.E.; Hansen, P.R.; Lunde, A.; Shephard, N. Designing Realized Kernels to Measure the ex post Variation of Equity Prices in the Presence of Noise. Econometrica 2008, 76, 1481–1536. [Google Scholar] [CrossRef]
- Andersen, T.G.; Dobrev, D.; Schaumburg, E. Jump-robust volatility estimation using nearest neighbor truncation. J. Econom. 2012, 169, 75–93. [Google Scholar] [CrossRef]
- Corsi, F. A Simple Approximate Long-Memory Model of Realized Volatility; Social Science Research Network: Rochester, NY, USA, 2009; p. 1365738. Available online: https://papers.ssrn.com/abstract=1365738 (accessed on 14 November 2025).
- Gong, X.; Lin, B. Adding dummy variables: A simple approach for improved volatility forecasting in electricity market. J. Manag. Sci. Eng. 2023, 8, 191–213. [Google Scholar] [CrossRef]
- Li, K.; Cursio, J.D.; Jiang, M.; Liang, X. The significance of calendar effects in the electricity market. Appl. Energy 2019, 235, 487–494. [Google Scholar] [CrossRef]
- Patton, A.J. Volatility forecast comparison using imperfect volatility proxies. J. Econom. 2011, 160, 246–256. [Google Scholar] [CrossRef]
- Hansen, P.R.; Lunde, A.; Nason, J.M. The Model Confidence Set. Econometrica 2011, 79, 453–497. [Google Scholar] [CrossRef]
- Chuliá, H.; Furió, D.; Uribe, J.M. Volatility spillovers in energy markets. Energy J. 2019, 40, 173–197. [Google Scholar] [CrossRef]
- Red Eléctrica. Renewable Energies Generated 56% of Spain’s Electricity Mix in 2024. Red Eléctrica. Available online: https://www.ree.es/en/press-office/press-release/news/press-release/2025/01/renewable-energies-generated-56-per-cent-spains-electricity-mix-2024 (accessed on 19 April 2026).
- Boubaker, H.; Bannour, N. Coupling the Empirical Wavelet and the Neural Network Methods in Order to Forecast Electricity Price. J. Risk Financ. Manag. 2023, 16, 246. [Google Scholar] [CrossRef]
- Geis, J.; Neumann, F.; Lindner, M.; Härtel, P.; Brown, T. Price formation in a highly-renewable, sector-coupled energy system. Energy Econ. 2026, 157, 109213. [Google Scholar] [CrossRef]
- Naeem, M.; Jassim, H.S.; Saleem, K.; Fatima, M. Forecasting Volatility of the Nordic Electricity Market an Application of the MSGARCH. Risks 2025, 13, 58. [Google Scholar] [CrossRef]
- Inglada-Pérez, L.; Gil, S.G.Y. A Study on the Nature of Complexity in the Spanish Electricity Market Using a Comprehensive Methodological Framework. Math 2024, 12, 893. [Google Scholar] [CrossRef]
- Zakeri, B.; et al. The role of natural gas in setting electricity prices in Europe. Energy Rep. 2023, 10, 2778–2792. [Google Scholar] [CrossRef]
- Robinson, D.; Arcos-Vargas, A.; Tennican, M.; Núñez, F. The Iberian Exception: An overview of its effects over its first 100 days. 2023.
- Hidalgo-Pérez, M.; Collado, N.; Galindo, J.; Mateo, R. The Iberian exception: Estimating the impact of a cap on gas prices for electricity generation on consumer prices and market dynamics. Energy Policy 2024, 188, 114092. [Google Scholar] [CrossRef]
- Pavlík, M.; Kurimský, F.; Ševc, K. Renewable Energy and Price Stability: An Analysis of Volatility and Market Shifts in the European Electricity Sector (2015–2025). Appl. Sci. 2025, 15, 6397. [Google Scholar] [CrossRef]
- Bento, P.; Mariano, S.; Carvalho, P.; Calado, M.D.R.; Pombo, J. Soaring electricity prices in the day-ahead Iberian market: Policy insights, regulatory challenges and lack of system flexibility. Int. J. Energy Sect. Manag. 2023, 18, 312–333. [Google Scholar] [CrossRef]
- Engle, R.F.; Bollerslev, T. Modelling the persistence of conditional variances. Econom. Rev. 1986, 5, 1–50. [Google Scholar] [CrossRef]
- Lamoureux, C.G.; Lastrapes, W.D. Persistence in variance, structural change, and the GARCH model. J. Bus. Econ. Stat. 1990, 8, 225–234. [Google Scholar] [CrossRef]
- Bollerslev, T. Glossary to ARCH (GARCH). Creat. Res. Pap. 2008, 297.
- Naimoli, A.; Storti, G. Forecasting Volatility and Tail Risk in Electricity Markets. J. Risk Financ. Manag. 2021, 14, 294. [Google Scholar] [CrossRef]
- Corsi, F.; Audrino, F.; Renò, R. HAR Modeling for Realized Volatility Forecasting. In Handbook of Volatility Models and Their Applications; Wiley: Hoboken, NJ, USA, 2012; pp. 363–382. [Google Scholar] [CrossRef]
- Ciarreta, A.; Zarraga, A. Modeling realized volatility on the Spanish intra-day electricity market. Energy Econ. 2016, 58, 152–163. [Google Scholar] [CrossRef]
- Bollerslev, T.; Patton, A.J.; Quaedvlieg, R. Exploiting the errors: A simple approach for improved volatility forecasting. J. Econom. 2016, 192, 1–18. [Google Scholar] [CrossRef]
- Andersen, T.G.; Bollerslev, T.; Diebold, F.X. Roughing It Up: Including Jump Components in the Measurement, Modeling, and Forecasting of Return Volatility. Rev. Econ. Stat. 2007, 89, 701–720. [Google Scholar] [CrossRef]
- Clements, A.; Preve, D.P.A. A Practical Guide to harnessing the HAR volatility model. J. Bank. Financ. 2021, 133, 106285. [Google Scholar] [CrossRef]
- Huang, X.; Tauchen, G. The Relative Contribution of Jumps to Total Price Variance. J. Financ. Econom. 2005, 3, 456–499. [Google Scholar] [CrossRef]
- Urniezius, R.; et al. Enhancing Prediction by Incorporating Entropy Loss in Volatility Forecasting. Entropy 2025, 27, 806. [Google Scholar] [CrossRef]
- Campbell, J.Y.; Lo, A.W.; MacKinlay, A.C. The Econometrics of Financial Markets; Princeton University Press: Princeton, NJ, USA, 1997. [Google Scholar] [CrossRef]
- Mincer, J.; Zarnowitz, V. The Evaluation of Economic Forecasts. In Economic Forecasts and Expectations: Analysis of Forecasting Behavior and Performance; NBER Chapters; National Bureau of Economic Research, Inc.: Cambridge, MA, USA, 1969; pp. 3–46. Available online: https://EconPapers.repec.org/RePEc:nbr:nberch:1214 (accessed on 12 April 2026).
- Franses, P.H. Testing bias in professional forecasts. J. Forecast. 2021, 40, 1086–1094. [Google Scholar] [CrossRef]
- Uniejewski, B.; Weron, R.; Ziel, F. Variance Stabilizing Transformations for Electricity Spot Price Forecasting. IEEE Trans. Power Syst. 2018, 33, 2219–2229. [Google Scholar] [CrossRef]










| Statistic | Prices | |
| Original | Shifted 1 | |
| Observations | 43,752 | 43,752 |
| Mean | 98.9770 | 114.9770 |
| Median | 92.9450 | 108.9450 |
| Std. deviation | 69.2104 | 69.2104 |
| Minimum | −15.0000 | 1.0000 |
| Maximum | 700.0000 | 716.0000 |
| Skewness | 1.0355 | 1.0355 |
| Excess kurtosis | 2.6243 | 2.6243 |
| Negative values (%) | 1.84 | 0.00 |
| Statistic | Returns | |
| Shifted 1 | Ullrich-adj | |
| Observations | 43,751 | 43,751 |
| Mean | 0.0000 | −0.0029 |
| Median | −0.0034 | 0.0000 |
| Std. deviation | 0.1835 | 0.15004 |
| Minimum | −2.1150 | −2.1125 |
| Maximum | 2.1401 | 2.1005 |
| Skewness | 0.6317 | 0.3437 |
| Excess kurtosis | 14.7102 | 20.8944 |
| Jarque-Bera (p-value) | 0.0000 | 0.0000 |
| Estimator 1 | Central tendency | Dispersion | Shape | ||||||
| Mean | Median | Std. dev. | Min | Max | P25 | P75 | Skewness | Ex. kurtosis | |
| RV | 0.5407 | 0.1324 | 0.8333 | 0.0087 | 8.1929 | 0.0596 | 0.6938 | 2.7490 | 11.3210 |
| MedRV | 0.4041 | 0.1131 | 0.6199 | 0.0072 | 5.0362 | 0.0511 | 0.4975 | 2.7320 | 9.6380 |
| KRV (Bartlett) | 0.8623 | 0.1523 | 1.4149 | 0.0000 | 8.4651 | 0.0665 | 0.9666 | 2.1310 | 4.1430 |
| Model Specification | MCS 3 | Predictive Accuracy | Mincer-Zarnowitz Regression 5 | |||||
|---|---|---|---|---|---|---|---|---|
| Model | Transform. 1 | Week 2 | p-Value | 4 | p-Value H0 | Bias | ||
| HAR-M-J | No | Yes | 1.0000 | 0.4798 | 0.02467 | 0.9915 | 0.9313 | Unbiased |
| HAR-J | No | Yes | 1.0000 | 0.4727 | 0.10791 | 0.9739 | 0.2093 | Unbiased |
| HAR | No | Yes | 1.0000 | 0.4725 | 0.10192 | 0.9798 | 0.2213 | Unbiased |
| HAR-Q-J | No | Yes | 0.9984 | 0.4710 | 0.11325 | 0.9699 | 0.1963 | Unbiased |
| HAR-Q | No | Yes | 0.9936 | 0.4708 | 0.10785 | 0.9758 | 0.2035 | Unbiased |
| HAR-J | No | No | 0.9743 | 0.4570 | 0.12082 | 0.9635 | 0.1997 | Unbiased |
| HAR | No | No | 0.9599 | 0.4562 | 0.11598 | 0.9682 | 0.2102 | Unbiased |
| HAR-M | No | Yes | 0.9529 | 0.4770 | 0.01248 | 0.9914 | 0.9926 | Unbiased |
| HAR-CJ | No | Yes | 0.8494 | 0.4602 | 0.10050 | 1.0298 | 0.0437 | Biased |
| HAR-RV-J | No | Yes | 0.8494 | 0.4602 | 0.10050 | 1.0298 | 0.0437 | Biased |
| HAR-Q-J | SQRT | Yes | 0.8268 | 0.4298 | 0.16327 | 1.1547 | 0.0000 | Biased |
| HAR-Q | SQRT | Yes | 0.8261 | 0.4296 | 0.15898 | 1.1590 | 0.0000 | Biased |
| HAR-M-J | No | No | 0.8085 | 0.4632 | 0.04187 | 0.9778 | 0.8913 | Unbiased |
| HAR-K-J | No | Yes | 0.7579 | 0.4456 | 0.17302 | 0.8396 | 0.1115 | Unbiased |
| HAR-Q-J | No | No | 0.7528 | 0.4545 | 0.12802 | 0.9586 | 0.1798 | Unbiased |
| HAR-K-J | No | No | 0.6789 | 0.4333 | 0.18375 | 0.8309 | 0.1217 | Unbiased |
| HAR-K | No | Yes | 0.6517 | 0.4431 | 0.17043 | 0.8360 | 0.1166 | Unbiased |
| HAR-Q | No | No | 0.6447 | 0.4538 | 0.12354 | 0.9636 | 0.1843 | Unbiased |
| HAR-K-J | SQRT | Yes | 0.5853 | 0.4302 | 0.29411 | 0.8896 | 0.0003 | Biased |
| HAR-K | No | No | 0.5785 | 0.4311 | 0.18124 | 0.8274 | 0.1215 | Unbiased |
| HAR-K | SQRT | Yes | 0.5407 | 0.4282 | 0.29724 | 0.8761 | 0.0007 | Biased |
| HAR-MJ | SQRT | Yes | 0.5375 | 0.4610 | 0.17497 | 1.0232 | 0.0001 | Biased |
| HAR-QJ | SQRT | No | 0.3677 | 0.4064 | 0.15132 | 1.1881 | 0.0000 | Biased |
| HAR-KJ | SQRT | No | 0.3624 | 0.4166 | 0.28276 | 0.9110 | 0.0008 | Biased |
| HAR-MJ | SQRT | No | 0.3540 | 0.4404 | 0.18174 | 1.0286 | 0.0002 | Biased |
| HAR-Q | SQRT | No | 0.3540 | 0.4057 | 0.14794 | 1.1913 | 0.0000 | Biased |
| HAR-M | SQRT | Yes | 0.3217 | 0.4632 | 0.16057 | 1.0255 | 0.0009 | Biased |
| HAR | SQRT | Yes | 0.3155 | 0.4380 | 0.21597 | 1.0724 | 0.0000 | Biased |
| HAR-J | SQRT | Yes | 0.3134 | 0.4377 | 0.21952 | 1.0688 | 0.0000 | Biased |
| HAR-K | SQRT | No | 0.2963 | 0.4149 | 0.28765 | 0.8953 | 0.0015 | Biased |
| HAR-M | SQRT | No | 0.2475 | 0.4414 | 0.17767 | 1.0187 | 0.0009 | Biased |
| HAR-CJ | No | No | 0.2189 | 0.4443 | 0.10619 | 1.0263 | 0.0413 | Biased |
| HAR-RV-J | No | No | 0.2189 | 0.4443 | 0.10619 | 1.0263 | 0.0413 | Biased |
| HAR-M | No | No | 0.2009 | 0.4607 | 0.03153 | 0.9760 | 0.9619 | Unbiased |
| HAR-RV-J | SQRT | Yes | 0.1025 | 0.4181 | 0.23426 | 1.1062 | 0.0000 | Biased |
| HAR-C | No | Yes | 0.0593 | 0.3935 | 0.22647 | 0.9287 | 0.0263 | Biased |
| Variable 1 | Estimate | Std. Error | t-Stat | p-Value | Sig. 2 |
|---|---|---|---|---|---|
| Realized variance components (MedRV) | |||||
| Intercept | −0.029813 | 0.049066 | −0.607616 | 0.5435 | |
| (daily) | 0.328403 | 0.056789 | 5.782828 | 0.0000 | *** |
| (weekly) | 0.260141 | 0.100465 | 2.589383 | 0.0097 | *** |
| (monthly) | 0.456403 | 0.114239 | 3.995174 | 0.0001 | *** |
| Jump component (daily) | 0.232385 | 0.068986 | 3.368574 | 0.0008 | *** |
| Weekday dummies | |||||
| (Tuesday) | 0.041505 | 0.058675 | 0.707364 | 0.4794 | |
| (Wednesday) | 0.100200 | 0.062523 | 1.602600 | 0.1092 | |
| (Thursday) | 0.032433 | 0.058584 | 0.553620 | 0.5799 | |
| (Friday) | 0.026091 | 0.057671 | 0.452406 | 0.6510 | |
| (Saturday) | 0.213303 | 0.060400 | 3.531498 | 0.0004 | *** |
| (Sunday) | 0.436962 | 0.085466 | 5.112722 | 0.0000 | *** |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).