IDEAS home Printed from https://ideas.repec.org/a/eee/intfor/v41y2025i1p361-376.html
   My bibliography  Save this article

Sparse time-varying parameter VECMs with an application to modeling electricity prices

Author

Listed:
  • Hauzenberger, Niko
  • Pfarrhofer, Michael
  • Rossini, Luca

Abstract

In this paper we propose a time-varying parameter (TVP) vector error correction model (VECM) with heteroskedastic disturbances. We propose tools to carry out dynamic model specification in an automatic fashion. This involves using global–local priors and postprocessing the parameters to achieve truly sparse solutions. Depending on the respective set of coefficients, we achieve this by minimizing auxiliary loss functions. Our two-step approach limits overfitting and reduces parameter estimation uncertainty. We apply this framework to modeling European electricity prices. When considering daily electricity prices for different markets jointly, our model highlights the importance of explicitly addressing cointegration and nonlinearities. In a forecasting exercise focusing on hourly prices for Germany, our approach yields competitive metrics of predictive accuracy.

Suggested Citation

  • Hauzenberger, Niko & Pfarrhofer, Michael & Rossini, Luca, 2025. "Sparse time-varying parameter VECMs with an application to modeling electricity prices," International Journal of Forecasting, Elsevier, vol. 41(1), pages 361-376.
  • Handle: RePEc:eee:intfor:v:41:y:2025:i:1:p:361-376
    DOI: 10.1016/j.ijforecast.2024.09.001
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0169207024000955
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.ijforecast.2024.09.001?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to look for a different version below or search for a different version of it.

    Other versions of this item:

    References listed on IDEAS

    as
    1. Ziel, Florian & Steinert, Rick & Husmann, Sven, 2015. "Efficient modeling and forecasting of electricity spot prices," Energy Economics, Elsevier, vol. 47(C), pages 98-111.
    2. Fabrizio Durante & Angelica Gianfreda & Francesco Ravazzolo & Luca Rossini, 2022. "A Multivariate Dependence Analysis for Electricity Prices, Demand and Renewable Energy Sources," Papers 2201.01132, arXiv.org.
    3. Koop, Gary & Leon-Gonzalez, Roberto & Strachan, Rodney W., 2011. "Bayesian inference in a time varying cointegration model," Journal of Econometrics, Elsevier, vol. 165(2), pages 210-220.
    4. Angelica Gianfreda, Lucia Parisio, and Matteo Pelagatti, 2019. "The RES-Induced Switching Effect Across Fossil Fuels: An Analysis of Day-Ahead and Balancing Prices," The Energy Journal, International Association for Energy Economics, vol. 0(The New E).
    5. Yukai Yang & Luc Bauwens, 2018. "State-Space Models on the Stiefel Manifold with a New Approach to Nonlinear Filtering," Econometrics, MDPI, vol. 6(4), pages 1-22, December.
    6. Hauzenberger, Niko, 2021. "Flexible Mixture Priors for Large Time-varying Parameter Models," Econometrics and Statistics, Elsevier, vol. 20(C), pages 87-108.
    7. Carlos M. Carvalho & Nicholas G. Polson & James G. Scott, 2010. "The horseshoe estimator for sparse signals," Biometrika, Biometrika Trust, vol. 97(2), pages 465-480.
    8. Strachan, Rodney W, 2003. "Valid Bayesian Estimation of the Cointegrating Error Correction Model," Journal of Business & Economic Statistics, American Statistical Association, vol. 21(1), pages 185-195, January.
    9. Hauzenberger Niko & Huber Florian & Koop Gary, 2024. "Dynamic Shrinkage Priors for Large Time-Varying Parameter Regressions Using Scalable Markov Chain Monte Carlo Methods," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 28(2), pages 201-225, April.
    10. Raviv, Eran & Bouwman, Kees E. & van Dijk, Dick, 2015. "Forecasting day-ahead electricity prices: Utilizing hourly prices," Energy Economics, Elsevier, vol. 50(C), pages 227-239.
    11. Kleibergen, Frank & van Dijk, Herman K., 1994. "On the Shape of the Likelihood/Posterior in Cointegration Models," Econometric Theory, Cambridge University Press, vol. 10(3-4), pages 514-551, August.
    12. P. Richard Hahn & Carlos M. Carvalho, 2015. "Decoupling Shrinkage and Selection in Bayesian Linear Models: A Posterior Summary Perspective," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 110(509), pages 435-448, March.
    13. Peter R. Hansen & Asger Lunde & James M. Nason, 2011. "The Model Confidence Set," Econometrica, Econometric Society, vol. 79(2), pages 453-497, March.
    14. Paap, Richard & van Dijk, Herman K, 2003. "Bayes Estimates of Markov Trends in Possibly Cointegrated Series: An Application to U.S. Consumption and Income," Journal of Business & Economic Statistics, American Statistical Association, vol. 21(4), pages 547-563, October.
    15. Joshua C. C. Chan, 2022. "Asymmetric conjugate priors for large Bayesian VARs," Quantitative Economics, Econometric Society, vol. 13(3), pages 1145-1169, July.
    16. Antik Chakraborty & Anirban Bhattacharya & Bani K Mallick, 2020. "Bayesian sparse multiple regression for simultaneous rank reduction and variable selection," Biometrika, Biometrika Trust, vol. 107(1), pages 205-221.
    17. Markus Jochmann & Gary Koop & Roberto Leon‐Gonzalez & Rodney W. Strachan, 2013. "Stochastic search variable selection in vector error correction models with an application to a model of the UK macroeconomy," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 28(1), pages 62-81, January.
    18. Wang, Hansheng & Leng, Chenlei, 2008. "A note on adaptive group lasso," Computational Statistics & Data Analysis, Elsevier, vol. 52(12), pages 5277-5286, August.
    19. Weron, Rafał, 2014. "Electricity price forecasting: A review of the state-of-the-art with a look into the future," International Journal of Forecasting, Elsevier, vol. 30(4), pages 1030-1081.
    20. Angelica Gianfreda & Francesco Ravazzolo & Luca Rossini, 2023. "Large Time‐Varying Volatility Models for Hourly Electricity Prices," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 85(3), pages 545-573, June.
    21. Jochmann Markus & Koop Gary, 2015. "Regime-switching cointegration," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 19(1), pages 35-48, February.
    22. Florian Huber & Gary Koop & Luca Onorante, 2021. "Inducing Sparsity and Shrinkage in Time-Varying Parameter Models," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 39(3), pages 669-683, July.
    23. Domenico Giannone & Michele Lenza & Giorgio E. Primiceri, 2019. "Priors for the Long Run," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 114(526), pages 565-580, April.
    24. Tilmann Gneiting & Roopesh Ranjan, 2011. "Comparing Density Forecasts Using Threshold- and Quantile-Weighted Scoring Rules," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 29(3), pages 411-422, July.
    25. Yousuf, Kashif & Ng, Serena, 2021. "Boosting high dimensional predictive regressions with time varying parameters," Journal of Econometrics, Elsevier, vol. 224(1), pages 60-87.
    26. Martin Feldkircher & Florian Huber & Gary Koop & Michael Pfarrhofer, 2022. "APPROXIMATE BAYESIAN INFERENCE AND FORECASTING IN HUGE‐DIMENSIONAL MULTICOUNTRY VARs," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 63(4), pages 1625-1658, November.
    27. Kleibergen, Frank & van Dijk, Herman K., 1998. "Bayesian Simultaneous Equations Analysis Using Reduced Rank Structures," Econometric Theory, Cambridge University Press, vol. 14(6), pages 701-743, December.
    28. Eric Eisenstat & Joshua C. C. Chan & Rodney W. Strachan, 2016. "Stochastic Model Specification Search for Time-Varying Parameter VARs," Econometric Reviews, Taylor & Francis Journals, vol. 35(8-10), pages 1638-1665, December.
    29. Angelica Gianfreda & Francesco Ravazzolo & Luca Rossini, 2020. "Large Time-Varying Volatility Models for Electricity Prices," Working Papers No 05/2020, Centre for Applied Macro- and Petroleum economics (CAMP), BI Norwegian Business School.
    30. Lago, Jesus & Marcjasz, Grzegorz & De Schutter, Bart & Weron, Rafał, 2021. "Forecasting day-ahead electricity prices: A review of state-of-the-art algorithms, best practices and an open-access benchmark," Applied Energy, Elsevier, vol. 293(C).
    31. Villani, Mattias, 2006. "Bayesian point estimation of the cointegration space," Journal of Econometrics, Elsevier, vol. 134(2), pages 645-664, October.
    32. Florian Huber & Gary Koop & Michael Pfarrhofer, 2020. "Bayesian Inference in High-Dimensional Time-varying Parameter Models using Integrated Rotated Gaussian Approximations," Papers 2002.10274, arXiv.org.
    33. Marcjasz, Grzegorz & Narajewski, Michał & Weron, Rafał & Ziel, Florian, 2023. "Distributional neural networks for electricity price forecasting," Energy Economics, Elsevier, vol. 125(C).
    34. Kastner, Gregor, 2016. "Dealing with Stochastic Volatility in Time Series Using the R Package stochvol," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 69(i05).
    35. Niko Hauzenberger & Florian Huber & Luca Onorante, 2021. "Combining shrinkage and sparsity in conjugate vector autoregressive models," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 36(3), pages 304-327, April.
    36. Katarzyna Hubicka & Grzegorz Marcjasz & Rafal Weron, 2018. "A note on averaging day-ahead electricity price forecasts across calibration windows," HSC Research Reports HSC/18/03, Hugo Steinhaus Center, Wroclaw University of Science and Technology.
    37. Kastner, Gregor & Frühwirth-Schnatter, Sylvia, 2014. "Ancillarity-sufficiency interweaving strategy (ASIS) for boosting MCMC estimation of stochastic volatility models," Computational Statistics & Data Analysis, Elsevier, vol. 76(C), pages 408-423.
    38. Zou, Hui, 2006. "The Adaptive Lasso and Its Oracle Properties," Journal of the American Statistical Association, American Statistical Association, vol. 101, pages 1418-1429, December.
    39. Huber, Florian & Zörner, Thomas O., 2019. "Threshold cointegration in international exchange rates:A Bayesian approach," International Journal of Forecasting, Elsevier, vol. 35(2), pages 458-473.
    40. Frühwirth-Schnatter, Sylvia & Wagner, Helga, 2010. "Stochastic model specification search for Gaussian and partial non-Gaussian state space models," Journal of Econometrics, Elsevier, vol. 154(1), pages 85-100, January.
    41. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    42. Niko Hauzenberger & Florian Huber & Gary Koop & Luca Onorante, 2022. "Fast and Flexible Bayesian Inference in Time-varying Parameter Regression Models," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 40(4), pages 1904-1918, October.
    43. Francis X. Diebold, 2015. "Comparing Predictive Accuracy, Twenty Years Later: A Personal Perspective on the Use and Abuse of Diebold-Mariano Tests," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 33(1), pages 1-1, January.
    44. Strachan, Rodney W. & Inder, Brett, 2004. "Bayesian analysis of the error correction model," Journal of Econometrics, Elsevier, vol. 123(2), pages 307-325, December.
    45. Hauzenberger Niko & Huber Florian & Pfarrhofer Michael & Zörner Thomas O., 2021. "Stochastic model specification in Markov switching vector error correction models," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 25(2), pages 1-17, April.
    46. Billé, Anna Gloria & Gianfreda, Angelica & Del Grosso, Filippo & Ravazzolo, Francesco, 2023. "Forecasting electricity prices with expert, linear, and nonlinear models," International Journal of Forecasting, Elsevier, vol. 39(2), pages 570-586.
    47. David Puelz & P. Richard Hahn & Carlos M. Carvalho, 2020. "Portfolio selection for individual passive investing," Applied Stochastic Models in Business and Industry, John Wiley & Sons, vol. 36(1), pages 124-142, January.
    48. Ziel, Florian & Weron, Rafał, 2018. "Day-ahead electricity price forecasting with high-dimensional structures: Univariate vs. multivariate modeling frameworks," Energy Economics, Elsevier, vol. 70(C), pages 396-420.
    49. Villani, Mattias, 2001. "Bayesian prediction with cointegrated vector autoregressions," International Journal of Forecasting, Elsevier, vol. 17(4), pages 585-605.
    50. Carriero, Andrea & Clark, Todd E. & Marcellino, Massimiliano, 2019. "Large Bayesian vector autoregressions with stochastic volatility and non-conjugate priors," Journal of Econometrics, Elsevier, vol. 212(1), pages 137-154.
    51. Chew Lian Chua & Sarantis Tsiaplias, 2018. "A Bayesian Approach to Modeling Time-Varying Cointegration and Cointegrating Rank," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 36(2), pages 267-277, April.
    52. Bruno Bosco & Lucia Parisio & Matteo Pelagatti & Fabio Baldi, 2010. "Long-run relations in european electricity prices," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 25(5), pages 805-832.
    53. De Vany, Arthur S. & Walls, W. David, 1999. "Cointegration analysis of spot electricity prices: insights on transmission efficiency in the western US," Energy Economics, Elsevier, vol. 21(5), pages 435-448, October.
    54. Gneiting, Tilmann & Raftery, Adrian E., 2007. "Strictly Proper Scoring Rules, Prediction, and Estimation," Journal of the American Statistical Association, American Statistical Association, vol. 102, pages 359-378, March.
    55. Geweke, John, 1996. "Bayesian reduced rank regression in econometrics," Journal of Econometrics, Elsevier, vol. 75(1), pages 121-146, November.
    56. Gneiting, Tilmann & Ranjan, Roopesh, 2011. "Comparing Density Forecasts Using Threshold- and Quantile-Weighted Scoring Rules," Journal of Business & Economic Statistics, American Statistical Association, vol. 29(3), pages 411-422.
    57. Mattias Villani, 2009. "Steady-state priors for vector autoregressions," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 24(4), pages 630-650.
    58. Ming Yuan & Yi Lin, 2006. "Model selection and estimation in regression with grouped variables," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 68(1), pages 49-67, February.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Prüser, Jan, 2023. "Data-based priors for vector error correction models," International Journal of Forecasting, Elsevier, vol. 39(1), pages 209-227.
    2. Kohns, David & Potjagailo, Galina, 2023. "Flexible Bayesian MIDAS: time‑variation, group‑shrinkage and sparsity," Bank of England working papers 1025, Bank of England.
    3. Gianfreda, Angelica & Ravazzolo, Francesco & Rossini, Luca, 2020. "Comparing the forecasting performances of linear models for electricity prices with high RES penetration," International Journal of Forecasting, Elsevier, vol. 36(3), pages 974-986.
    4. Hauzenberger Niko & Huber Florian & Koop Gary, 2024. "Dynamic Shrinkage Priors for Large Time-Varying Parameter Regressions Using Scalable Markov Chain Monte Carlo Methods," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 28(2), pages 201-225, April.
    5. Gael M. Martin & David T. Frazier & Ruben Loaiza-Maya & Florian Huber & Gary Koop & John Maheu & Didier Nibbering & Anastasios Panagiotelis, 2023. "Bayesian Forecasting in the 21st Century: A Modern Review," Monash Econometrics and Business Statistics Working Papers 1/23, Monash University, Department of Econometrics and Business Statistics.
    6. Martin, Gael M. & Frazier, David T. & Maneesoonthorn, Worapree & Loaiza-Maya, Rubén & Huber, Florian & Koop, Gary & Maheu, John & Nibbering, Didier & Panagiotelis, Anastasios, 2024. "Bayesian forecasting in economics and finance: A modern review," International Journal of Forecasting, Elsevier, vol. 40(2), pages 811-839.
    7. Billé, Anna Gloria & Gianfreda, Angelica & Del Grosso, Filippo & Ravazzolo, Francesco, 2023. "Forecasting electricity prices with expert, linear, and nonlinear models," International Journal of Forecasting, Elsevier, vol. 39(2), pages 570-586.
    8. Hauzenberger, Niko, 2021. "Flexible Mixture Priors for Large Time-varying Parameter Models," Econometrics and Statistics, Elsevier, vol. 20(C), pages 87-108.
    9. Niko Hauzenberger, 2020. "Flexible Mixture Priors for Large Time-varying Parameter Models," Papers 2006.10088, arXiv.org, revised Nov 2020.
    10. Rafal Weron & Florian Ziel, 2018. "Electricity price forecasting," HSC Research Reports HSC/18/08, Hugo Steinhaus Center, Wroclaw University of Science and Technology.
    11. Todd E. Clark & Florian Huber & Gary Koop & Massimiliano Marcellino & Michael Pfarrhofer, 2023. "Tail Forecasting With Multivariate Bayesian Additive Regression Trees," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 64(3), pages 979-1022, August.
    12. Foroni, Claudia & Ravazzolo, Francesco & Rossini, Luca, 2023. "Are low frequency macroeconomic variables important for high frequency electricity prices?," Economic Modelling, Elsevier, vol. 120(C).
    13. Angelica Gianfreda & Francesco Ravazzolo & Luca Rossini, 2020. "Large Time-Varying Volatility Models for Electricity Prices," Working Papers No 05/2020, Centre for Applied Macro- and Petroleum economics (CAMP), BI Norwegian Business School.
    14. Michael Pfarrhofer, 2024. "Forecasts with Bayesian vector autoregressions under real time conditions," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 43(3), pages 771-801, April.
    15. Jochmann Markus & Koop Gary, 2015. "Regime-switching cointegration," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 19(1), pages 35-48, February.
    16. Gary Koop & Rodney Strachan & Herman van Dijk & Mattias Villani, 2004. "Bayesian Approaches to Cointegration," Discussion Papers in Economics 04/27, Division of Economics, School of Business, University of Leicester.
    17. Foroni, Claudia & Ravazzolo, Francesco & Rossini, Luca, 2019. "Forecasting daily electricity prices with monthly macroeconomic variables," Working Paper Series 2250, European Central Bank.
    18. Florian Huber & Gregor Kastner & Michael Pfarrhofer, 2025. "Introducing shrinkage in heavy-tailed state space models to predict equity excess returns," Empirical Economics, Springer, vol. 68(2), pages 535-553, February.
    19. Maximilian Boeck & Massimiliano Marcellino & Michael Pfarrhofer & Tommaso Tornese, 2024. "Predicting Tail-Risks for the Italian Economy," Journal of Business Cycle Research, Springer;Centre for International Research on Economic Tendency Surveys (CIRET), vol. 20(3), pages 339-366, November.
    20. Pfarrhofer, Michael, 2022. "Modeling tail risks of inflation using unobserved component quantile regressions," Journal of Economic Dynamics and Control, Elsevier, vol. 143(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:intfor:v:41:y:2025:i:1:p:361-376. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/ijforecast .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.