IDEAS home Printed from https://ideas.repec.org/a/spr/alstar/v97y2013i3p239-270.html
   My bibliography  Save this article

Goodness-of-fit testing for the marginal distribution of regime-switching models with an application to electricity spot prices

Author

Listed:
  • Joanna Janczura
  • Rafał Weron

Abstract

This paper complements a recently published study (Janczura and Weron in AStA-Adv Stat Anal 96(3):385–407, 2012 ) on efficient estimation of Markov regime-switching models. Here, we propose a new goodness-of-fit testing scheme for the marginal distribution of such models. We consider models with an observable (like threshold autoregressions) as well as a latent state process (like Markov regime-switching). The test is based on the Kolmogorov–Smirnov supremum-distance statistic and the concept of the weighted empirical distribution function. The motivation for this research comes from a recent stream of literature in energy economics concerning electricity spot price models. While the existence of distinct regimes in such data is generally unquestionable (due to the supply stack structure), the actual goodness-of-fit of the models requires statistical validation. We illustrate the proposed scheme by testing whether commonly used Markov regime-switching models fit deseasonalized electricity prices from the NEPOOL (US) day-ahead market. Copyright The Author(s) 2013

Suggested Citation

  • 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.
  • Handle: RePEc:spr:alstar:v:97:y:2013:i:3:p:239-270
    DOI: 10.1007/s10182-012-0202-9
    as

    Download full text from publisher

    File URL: http://hdl.handle.net/10.1007/s10182-012-0202-9
    Download Restriction: Access to full text is restricted to subscribers.

    File URL: https://libkey.io/10.1007/s10182-012-0202-9?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 search for a different version of it.

    References listed on IDEAS

    as
    1. Bessec Marie & Bouabdallah Othman, 2005. "What Causes The Forecasting Failure of Markov-Switching Models? A Monte Carlo Study," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 9(2), pages 1-24, June.
    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. Berkowitz, Jeremy, 2001. "Testing Density Forecasts, with Applications to Risk Management," Journal of Business & Economic Statistics, American Statistical Association, vol. 19(4), pages 465-474, October.
    4. Misiorek Adam & Trueck Stefan & Weron Rafal, 2006. "Point and Interval Forecasting of Spot Electricity Prices: Linear vs. Non-Linear Time Series Models," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 10(3), pages 1-36, September.
    5. 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.
    6. 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..
    7. 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.
    8. Pavel Cizek & Wolfgang Karl Härdle & Rafal Weron, 2005. "Statistical Tools for Finance and Insurance," HSC Books, Hugo Steinhaus Center, Wroclaw University of Science and Technology, number hsbook0501, December.
    9. Diebold, Francis X & Gunther, Todd A & Tay, Anthony S, 1998. "Evaluating Density Forecasts with Applications to Financial Risk Management," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 39(4), pages 863-883, November.
    10. 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 Science and Technology.
    11. 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.
    12. 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.
    13. Sangjoon Kim & Neil Shephard & Siddhartha Chib, 1998. "Stochastic Volatility: Likelihood Inference and Comparison with ARCH Models," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 65(3), pages 361-393.
    14. Gilles Celeux & Jean-Baptiste Durand, 2008. "Selecting hidden Markov model state number with cross-validated likelihood," Computational Statistics, Springer, vol. 23(4), pages 541-564, October.
    15. Markus Haas, 2004. "A New Approach to Markov-Switching GARCH Models," Journal of Financial Econometrics, Oxford University Press, vol. 2(4), pages 493-530.
    16. Adam Misiorek & Rafal Weron, 2006. "Interval forecasting of spot electricity prices," HSC Research Reports HSC/06/05, Hugo Steinhaus Center, Wroclaw University of Science and Technology.
    17. Ang, Andrew & Bekaert, Geert, 2002. "Regime Switches in Interest Rates," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(2), pages 163-182, April.
    18. repec:dau:papers:123456789/6064 is not listed on IDEAS
    19. Hamilton, James D., 1996. "Specification testing in Markov-switching time-series models," Journal of Econometrics, Elsevier, vol. 70(1), pages 127-157, January.
    20. Jan Bulla & Andreas Berzel, 2008. "Computational issues in parameter estimation for stationary hidden Markov models," Computational Statistics, Springer, vol. 23(1), pages 1-18, January.
    21. Jin Seo Cho & Halbert White, 2007. "Testing for Regime Switching," Econometrica, Econometric Society, vol. 75(6), pages 1671-1720, November.
    22. Daniel R. Smith, 2008. "Evaluating Specification Tests for Markov‐Switching Time‐Series Models," Journal of Time Series Analysis, Wiley Blackwell, vol. 29(4), pages 629-652, July.
    23. Karakatsani, Nektaria V. & Bunn, Derek W., 2008. "Forecasting electricity prices: The impact of fundamentals and time-varying coefficients," International Journal of Forecasting, Elsevier, vol. 24(4), pages 764-785.
    24. Withers, Christopher S. & Nadarajah, Saralees, 2010. "The distribution and quantiles of functionals of weighted empirical distributions when observations have different distributions," Statistics & Probability Letters, Elsevier, vol. 80(13-14), pages 1093-1102, July.
    25. Joanna Janczura & Rafał Weron, 2012. "Efficient estimation of Markov regime-switching models: An application to electricity spot prices," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 96(3), pages 385-407, July.
    26. 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.
    27. Weron, Rafal & Misiorek, Adam, 2008. "Forecasting spot electricity prices: A comparison of parametric and semiparametric time series models," International Journal of Forecasting, Elsevier, vol. 24(4), pages 744-763.
    28. Kim, Chang-Jin, 1994. "Dynamic linear models with Markov-switching," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 1-22.
    29. Hamilton, James D., 1990. "Analysis of time series subject to changes in regime," Journal of Econometrics, Elsevier, vol. 45(1-2), pages 39-70.
    30. Garcia, Rene, 1998. "Asymptotic Null Distribution of the Likelihood Ratio Test in Markov Switching Models," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 39(3), pages 763-788, August.
    31. 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.
    32. Weron, Rafal & Janczura, Joanna, 2010. "Efficient estimation of Markov regime-switching models: An application to electricity wholesale market prices," MPRA Paper 26628, University Library of Munich, Germany.
    33. Lux, Thomas & Morales-Arias, Leonardo, 2010. "Forecasting volatility under fractality, regime-switching, long memory and student-t innovations," Computational Statistics & Data Analysis, Elsevier, vol. 54(11), pages 2676-2692, November.
    34. 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.
    35. Rafal Weron, 2006. "Modeling and Forecasting Electricity Loads and Prices: A Statistical Approach," HSC Books, Hugo Steinhaus Center, Wroclaw University of Science and Technology, number hsbook0601, December.
    36. Choi Seungmoon, 2009. "Regime-Switching Univariate Diffusion Models of the Short-Term Interest Rate," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 13(1), pages 1-41, March.
    37. Kosater, Peter & Mosler, Karl, 2006. "Can Markov regime-switching models improve power-price forecasts? Evidence from German daily power prices," Applied Energy, Elsevier, vol. 83(9), pages 943-958, September.
    38. Sen, Rituparna & Hsieh, Fushing, 2009. "A note on testing regime switching assumption based on recurrence times," Statistics & Probability Letters, Elsevier, vol. 79(24), pages 2443-2450, December.
    39. Hu Liang & Shin Yongcheol, 2008. "Optimal Test for Markov Switching GARCH Models," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 12(3), pages 1-27, September.
    40. B. Prakasa Rao, 2009. "Conditional independence, conditional mixing and conditional association," Annals of the Institute of Statistical Mathematics, Springer;The Institute of Statistical Mathematics, vol. 61(2), pages 441-460, June.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Kucharczyk, Daniel & Wyłomańska, Agnieszka & Zimroz, Radosław, 2017. "Structural break detection method based on the Adaptive Regression Splines technique," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 471(C), pages 499-511.
    2. Trottier, Denis-Alexandre & Lai, Van Son & Godin, Frédéric, 2019. "A characterization of CAT bond performance indices," Finance Research Letters, Elsevier, vol. 28(C), pages 431-437.
    3. Muhammad Hilmi Abdul Majid & Kamarulzaman Ibrahim & Nurulkamal Masseran, 2023. "Three-Part Composite Pareto Modelling for Income Distribution in Malaysia," Mathematics, MDPI, vol. 11(13), pages 1-15, June.
    4. Aleksandra Grzesiek & Radosław Zimroz & Paweł Śliwiński & Norbert Gomolla & Agnieszka Wyłomańska, 2021. "A Method for Structure Breaking Point Detection in Engine Oil Pressure Data," Energies, MDPI, vol. 14(17), pages 1-24, September.
    5. Maddalena Cavicchioli, 2021. "OLS Estimation of Markov switching VAR models: asymptotics and application to energy use," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 105(3), pages 431-449, September.
    6. Sikora, Grzegorz & Wyłomańska, Agnieszka & Krapf, Diego, 2018. "Recurrence statistics for anomalous diffusion regime change detection," Computational Statistics & Data Analysis, Elsevier, vol. 128(C), pages 380-394.

    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. Janczura, Joanna & Weron, Rafal, 2010. "Goodness-of-fit testing for regime-switching models," MPRA Paper 22871, University Library of Munich, Germany.
    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. 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 Science and Technology.
    4. 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.
    5. 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.
    6. Joanna Janczura & Rafał Weron, 2012. "Efficient estimation of Markov regime-switching models: An application to electricity spot prices," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 96(3), pages 385-407, July.
    7. 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.
    8. 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.
    9. Eichler, M. & Türk, D.D.T., 2012. "Fitting semiparametric Markov regime-switching models to electricity spot prices," Research Memorandum 035, Maastricht University, Maastricht Research School of Economics of Technology and Organization (METEOR).
    10. 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.
    11. 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.
    12. Afanasyev, Dmitriy O. & Fedorova, Elena A., 2019. "On the impact of outlier filtering on the electricity price forecasting accuracy," Applied Energy, Elsevier, vol. 236(C), pages 196-210.
    13. Joanna Janczura, 2012. "Pricing electricity derivatives within a Markov regime-switching model," Papers 1203.5442, arXiv.org.
    14. Lisi, Francesco & Nan, Fany, 2014. "Component estimation for electricity prices: Procedures and comparisons," Energy Economics, Elsevier, vol. 44(C), pages 143-159.
    15. Pape, Christian & Hagemann, Simon & Weber, Christoph, 2016. "Are fundamentals enough? Explaining price variations in the German day-ahead and intraday power market," Energy Economics, Elsevier, vol. 54(C), pages 376-387.
    16. repec:dui:wpaper:1502 is not listed on IDEAS
    17. 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.
    18. Alexandre Lucas & Konstantinos Pegios & Evangelos Kotsakis & Dan Clarke, 2020. "Price Forecasting for the Balancing Energy Market Using Machine-Learning Regression," Energies, MDPI, vol. 13(20), pages 1-16, October.
    19. Nowotarski, Jakub & Weron, Rafał, 2018. "Recent advances in electricity price forecasting: A review of probabilistic forecasting," Renewable and Sustainable Energy Reviews, Elsevier, vol. 81(P1), pages 1548-1568.
    20. Rafal Weron & Florian Ziel, 2018. "Electricity price forecasting," HSC Research Reports HSC/18/08, Hugo Steinhaus Center, Wroclaw University of Science and Technology.
    21. 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.

    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:spr:alstar:v:97:y:2013:i:3:p:239-270. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.