IDEAS home Printed from https://ideas.repec.org/p/wuu/wpaper/hsc1102.html
   My bibliography  Save this paper

Efficient estimation of Markov regime-switching models: An application to electricity spot prices

Author

Listed:
  • Joanna Janczura
  • Rafal Weron

Abstract

In this paper we discuss the calibration of models built on mean-reverting processes combined with Markov regime-switching (MRS). We propose a method that greatly reduces the computational burden induced by the introduction of independent regimes and perform a simulation study to test its efficiency. Our method allows for a 100 to over 1000 times faster calibration than in case of a competing approach utilizing probabilities of the last 10 observations. It is also more general and admits any value of gamma in the base regime dynamics. Since the motivation for this research comes from a recent stream of literature in energy economics, we apply the new method to sample series of electricity spot prices from the German EEX and Australian NSW markets. The proposed MRS models fit these datasets well and replicate the major stylized facts of electricity spot price dynamics.

Suggested Citation

  • Joanna Janczura & Rafal Weron, 2011. "Efficient estimation of Markov regime-switching models: An application to electricity spot prices," HSC Research Reports HSC/11/02, Hugo Steinhaus Center, Wroclaw University of Technology.
  • Handle: RePEc:wuu:wpaper:hsc1102
    as

    Download full text from publisher

    File URL: http://www.im.pwr.wroc.pl/~hugo/RePEc/wuu/wpaper/HSC_11_02.pdf
    File Function: Original version, 2011
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Kanamura, Takashi & O[combining macron]hashi, Kazuhiko, 2008. "On transition probabilities of regime switching in electricity prices," Energy Economics, Elsevier, vol. 30(3), pages 1158-1172, May.
    2. Rafał Weron, 2009. "Heavy-tails and regime-switching in electricity prices," Mathematical Methods of Operations Research, Springer;Gesellschaft für Operations Research (GOR);Nederlands Genootschap voor Besliskunde (NGB), vol. 69(3), pages 457-473, July.
    3. Mount, Timothy D. & Ning, Yumei & Cai, Xiaobin, 2006. "Predicting price spikes in electricity markets using a regime-switching model with time-varying parameters," Energy Economics, Elsevier, vol. 28(1), pages 62-80, January.
    4. Knittel, Christopher R. & Roberts, Michael R., 2005. "An empirical examination of restructured electricity prices," Energy Economics, Elsevier, vol. 27(5), pages 791-817, September.
    5. H. Wong & Wai-Cheung Ip & Zhongjie Xie & Xueli Lui, 2003. "Modelling and forecasting by wavelets, and the application to exchange rates," Journal of Applied Statistics, Taylor & Francis Journals, vol. 30(5), pages 537-553.
    6. Bierbrauer, Michael & Menn, Christian & Rachev, Svetlozar T. & Truck, Stefan, 2007. "Spot and derivative pricing in the EEX power market," Journal of Banking & Finance, Elsevier, vol. 31(11), pages 3462-3485, November.
    7. Gray, Stephen F., 1996. "Modeling the conditional distribution of interest rates as a regime-switching process," Journal of Financial Economics, Elsevier, vol. 42(1), pages 27-62, September.
    8. John C. Cox & Jonathan E. Ingersoll Jr. & Stephen A. Ross, 2005. "A Theory Of The Term Structure Of Interest Rates," World Scientific Book Chapters, in: Sudipto Bhattacharya & George M Constantinides (ed.), Theory Of Valuation, chapter 5, pages 129-164, World Scientific Publishing Co. Pte. Ltd..
    9. De Jong Cyriel, 2006. "The Nature of Power Spikes: A Regime-Switch Approach," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 10(3), pages 1-28, September.
    10. Rafal Weron & Adam Misiorek, 2005. "Modeling and forecasting electricity loads: A comparison," Econometrics 0502004, University Library of Munich, Germany.
    11. de Jong, C.M. & Huisman, R., 2002. "Option Formulas for Mean-Reverting Power Prices with Spikes," ERIM Report Series Research in Management ERS-2002-96-F&A, Erasmus Research Institute of Management (ERIM), ERIM is the joint research institute of the Rotterdam School of Management, Erasmus University and the Erasmus School of Economics (ESE) at Erasmus University Rotterdam.
    12. Erlwein, Christina & Benth, Fred Espen & Mamon, Rogemar, 2010. "HMM filtering and parameter estimation of an electricity spot price model," Energy Economics, Elsevier, vol. 32(5), pages 1034-1043, September.
    13. Karakatsani Nektaria V & Bunn Derek W., 2010. "Fundamental and Behavioural Drivers of Electricity Price Volatility," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 14(4), pages 1-42, September.
    14. Markus Hahn & Sylvia Frühwirth-Schnatter & Jörn Sass, 2009. "Estimating models based on Markov jump processes given fragmented observation series," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 93(4), pages 403-425, December.
    15. Schwartz, Eduardo S, 1997. "The Stochastic Behavior of Commodity Prices: Implications for Valuation and Hedging," Journal of Finance, American Finance Association, vol. 52(3), pages 923-973, July.
    16. Hamilton, James D, 1989. "A New Approach to the Economic Analysis of Nonstationary Time Series and the Business Cycle," Econometrica, Econometric Society, vol. 57(2), pages 357-384, March.
    17. Janczura, Joanna & Weron, Rafal, 2010. "Goodness-of-fit testing for regime-switching models," MPRA Paper 22871, University Library of Munich, Germany.
    18. Timothy Christensen & Stan Hurn & Kenneth Lindsay, 2009. "It Never Rains but it Pours: Modeling the Persistence of Spikes in Electricity Prices," The Energy Journal, International Association for Energy Economics, vol. 0(Number 1), pages 25-48.
    19. Vasicek, Oldrich, 1977. "An equilibrium characterization of the term structure," Journal of Financial Economics, Elsevier, vol. 5(2), pages 177-188, November.
    20. Unknown, 2005. "Forward," 2005 Conference: Slovenia in the EU - Challenges for Agriculture, Food Science and Rural Affairs, November 10-11, 2005, Moravske Toplice, Slovenia 183804, Slovenian Association of Agricultural Economists (DAES).
    21. Benth, Fred Espen & Cartea, Álvaro & Kiesel, Rüdiger, 2008. "Pricing forward contracts in power markets by the certainty equivalence principle: Explaining the sign of the market risk premium," Journal of Banking & Finance, Elsevier, vol. 32(10), pages 2006-2021, October.
    22. Yousefi, Shahriar & Weinreich, Ilona & Reinarz, Dominik, 2005. "Wavelet-based prediction of oil prices," Chaos, Solitons & Fractals, Elsevier, vol. 25(2), pages 265-275.
    23. Szymon Borak & Rafał Weron, 2008. "A semiparametric factor model for electricity forward curve dynamics," SFB 649 Discussion Papers SFB649DP2008-050, Sonderforschungsbereich 649, Humboldt University, Berlin, Germany.
    24. Weron, Rafal, 2008. "Market price of risk implied by Asian-style electricity options and futures," Energy Economics, Elsevier, vol. 30(3), pages 1098-1115, May.
    25. Kim, Chang-Jin, 1994. "Dynamic linear models with Markov-switching," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 1-22.
    26. Hamilton, James D., 1990. "Analysis of time series subject to changes in regime," Journal of Econometrics, Elsevier, vol. 45(1-2), pages 39-70.
    27. Huisman, Ronald & Mahieu, Ronald, 2003. "Regime jumps in electricity prices," Energy Economics, Elsevier, vol. 25(5), pages 425-434, September.
    28. Janczura, Joanna & Weron, Rafal, 2010. "An empirical comparison of alternate regime-switching models for electricity spot prices," Energy Economics, Elsevier, vol. 32(5), pages 1059-1073, September.
    29. Rafal Weron, 2006. "Modeling and Forecasting Electricity Loads and Prices: A Statistical Approach," HSC Books, Hugo Steinhaus Center, Wroclaw University of Technology, number hsbook0601.
    30. Trueck, Stefan & Weron, Rafal & Wolff, Rodney, 2007. "Outlier Treatment and Robust Approaches for Modeling Electricity Spot Prices," MPRA Paper 4711, University Library of Munich, Germany.
    31. Karakatsani, Nektaria V. & Bunn, Derek W., 2008. "Intra-day and regime-switching dynamics in electricity price formation," Energy Economics, Elsevier, vol. 30(4), pages 1776-1797, July.
    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. Joanna Janczura & Rafal Weron, 2012. "Inference for Markov-regime switching models of electricity spot prices," HSC Research Reports HSC/12/01, Hugo Steinhaus Center, Wroclaw University of Technology.
    2. 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.
    3. Janczura, Joanna & Weron, Rafal, 2010. "An empirical comparison of alternate regime-switching models for electricity spot prices," Energy Economics, Elsevier, vol. 32(5), pages 1059-1073, September.
    4. Joanna Janczura, 2014. "Pricing electricity derivatives within a Markov regime-switching model: a risk premium approach," Mathematical Methods of Operations Research, Springer;Gesellschaft für Operations Research (GOR);Nederlands Genootschap voor Besliskunde (NGB), vol. 79(1), pages 1-30, February.
    5. Joanna Janczura, 2012. "Pricing electricity derivatives within a Markov regime-switching model," Papers 1203.5442, arXiv.org.
    6. Janczura, Joanna & Trück, Stefan & Weron, Rafał & Wolff, Rodney C., 2013. "Identifying spikes and seasonal components in electricity spot price data: A guide to robust modeling," Energy Economics, Elsevier, vol. 38(C), pages 96-110.
    7. Nowotarski, Jakub & Tomczyk, Jakub & Weron, Rafał, 2013. "Robust estimation and forecasting of the long-term seasonal component of electricity spot prices," Energy Economics, Elsevier, vol. 39(C), pages 13-27.
    8. Janczura, Joanna & Weron, Rafal, 2009. "Regime-switching models for electricity spot prices: Introducing heteroskedastic base regime dynamics and shifted spike distributions," MPRA Paper 18784, University Library of Munich, Germany.
    9. Janczura, Joanna & Weron, Rafal, 2010. "Goodness-of-fit testing for regime-switching models," MPRA Paper 22871, University Library of Munich, Germany.
    10. Joanna Janczura & Rafał Weron, 2013. "Goodness-of-fit testing for the marginal distribution of regime-switching models with an application to electricity spot prices," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 97(3), pages 239-270, July.
    11. Rafal Weron, 2006. "Modeling and Forecasting Electricity Loads and Prices: A Statistical Approach," HSC Books, Hugo Steinhaus Center, Wroclaw University of Technology, number hsbook0601.
    12. Michel Culot & Valérie Goffin & Steve Lawford & Sébastien de Meten & Yves Smeers, 2013. "Practical stochastic modelling of electricity prices," Post-Print hal-01021603, HAL.
    13. Andreas Gerster, 2016. "Negative price spikes at power markets: the role of energy policy," Journal of Regulatory Economics, Springer, vol. 50(3), pages 271-289, December.
    14. Zachmann, Georg, 2013. "A stochastic fuel switching model for electricity prices," Energy Economics, Elsevier, vol. 35(C), pages 5-13.
    15. Eichler, M. & Türk, D., 2013. "Fitting semiparametric Markov regime-switching models to electricity spot prices," Energy Economics, Elsevier, vol. 36(C), pages 614-624.
    16. Jakub Nowotarski & Jakub Tomczyk & Rafal Weron, 2013. "Modeling and forecasting of the long-term seasonal component of the EEX and Nord Pool spot prices," HSC Research Reports HSC/13/02, Hugo Steinhaus Center, Wroclaw University of Technology.
    17. Gerster, Andreas, 2016. "Negative price spikes at power markets: The role of energy policy," Ruhr Economic Papers 636, RWI - Leibniz-Institut für Wirtschaftsforschung, Ruhr-University Bochum, TU Dortmund University, University of Duisburg-Essen.
    18. Gaurav Kapoor & Nuttanan Wichitaksorn & Wenjun Zhang, 2023. "Analyzing and forecasting electricity price using regime‐switching models: The case of New Zealand market," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(8), pages 2011-2026, December.
    19. Stephen Machin & Olivier Marie & Sunčica Vujić, 2012. "Youth Crime and Education Expansion," German Economic Review, Verein für Socialpolitik, vol. 13(4), pages 366-384, November.
    20. Pawel Maryniak & Stefan Trueck & Rafal Weron, 2016. "Carbon pricing, forward risk premiums and pass-through rates in Australian electricity futures markets," HSC Research Reports HSC/16/10, Hugo Steinhaus Center, Wroclaw University of Technology.

    More about this item

    Keywords

    Markov regime-switching; Energy economics; Electricity spot price; EM algorithm; Independent regimes;
    All these keywords.

    JEL classification:

    • C13 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Estimation: General
    • C51 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Construction and Estimation
    • Q40 - Agricultural and Natural Resource Economics; Environmental and Ecological Economics - - Energy - - - General

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    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:wuu:wpaper:hsc1102. 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: Rafal Weron (email available below). General contact details of provider: https://edirc.repec.org/data/hspwrpl.html .

    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.