IDEAS home Printed from https://ideas.repec.org/p/pra/mprapa/32532.html
   My bibliography  Save this paper

Goodness-of-fit testing for the marginal distribution of regime-switching models

Author

Listed:
  • Janczura, Joanna
  • Weron, Rafal

Abstract

In this paper we propose a new goodness-of-fit testing scheme for the marginal distribution of regime-switching 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 a commonly used Markov regime-switching model fits deseasonalized electricity prices from the NEPOOL (U.S.) day-ahead market.

Suggested Citation

  • Janczura, Joanna & Weron, Rafal, 2011. "Goodness-of-fit testing for the marginal distribution of regime-switching models," MPRA Paper 32532, University Library of Munich, Germany.
  • Handle: RePEc:pra:mprapa:32532
    as

    Download full text from publisher

    File URL: https://mpra.ub.uni-muenchen.de/32532/1/MPRA_paper_32532.pdf
    File Function: original version
    Download Restriction: no

    File URL: https://mpra.ub.uni-muenchen.de/36461/1/MPRA_paper_36461.pdf
    File Function: revised version
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. 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.
    2. 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.
    3. Marine Carrasco & Liang Hu, 2004. "Optimal test for Markov switching," 2004 Meeting Papers 374, Society for Economic Dynamics.
    4. 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.
    5. 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.
    6. Pavel Cizek & Wolfgang Karl Härdle & Rafal Weron, 2005. "Statistical Tools for Finance and Insurance," HSC Books, Hugo Steinhaus Center, Wroclaw University of Technology, number hsbook0501, December.
    7. Rafal Weron & Adam Misiorek, 2005. "Modeling and forecasting electricity loads: A comparison," Econometrics 0502004, University Library of Munich, Germany.
    8. 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.
    9. 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.
    10. Adam Misiorek & Rafal Weron, 2006. "Interval forecasting of spot electricity prices," HSC Research Reports HSC/06/05, Hugo Steinhaus Center, Wroclaw University of Technology.
    11. Hamilton, James D., 1996. "Specification testing in Markov-switching time-series models," Journal of Econometrics, Elsevier, vol. 70(1), pages 127-157, January.
    12. 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.
    13. Jin Seo Cho & Halbert White, 2007. "Testing for Regime Switching," Econometrica, Econometric Society, vol. 75(6), pages 1671-1720, November.
    14. Vasicek, Oldrich, 1977. "An equilibrium characterization of the term structure," Journal of Financial Economics, Elsevier, vol. 5(2), pages 177-188, November.
    15. 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.
    16. 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.
    17. 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.
    18. Kim, Chang-Jin, 1994. "Dynamic linear models with Markov-switching," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 1-22.
    19. Hamilton, James D., 1990. "Analysis of time series subject to changes in regime," Journal of Econometrics, Elsevier, vol. 45(1-2), pages 39-70.
    20. 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.
    21. 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.
    22. 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.
    23. 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.
    24. Rafal Weron, 2006. "Modeling and Forecasting Electricity Loads and Prices: A Statistical Approach," HSC Books, Hugo Steinhaus Center, Wroclaw University of Technology, number hsbook0601, December.
    25. 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.
    26. 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.
    27. 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.
    28. 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.
    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. 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. 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.
    3. 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.
    4. Joanna Janczura, 2012. "Pricing electricity derivatives within a Markov regime-switching model," Papers 1203.5442, arXiv.org.
    5. 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.
    6. Xu, Zheng, 2013. "Estimation of parametric homogeneous stochastic volatility pricing formulae based on option data," Economics Letters, Elsevier, vol. 120(3), pages 369-373.
    7. 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.

    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 & 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. Joanna Janczura, 2012. "Pricing electricity derivatives within a Markov regime-switching model," Papers 1203.5442, arXiv.org.
    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. 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.
    10. 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.
    11. 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.
    12. 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).
    13. 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.
    14. 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.
    15. Antonio Bello & Javier Reneses & Antonio Muñoz, 2016. "Medium-Term Probabilistic Forecasting of Extremely Low Prices in Electricity Markets: Application to the Spanish Case," Energies, MDPI, vol. 9(3), pages 1-27, March.
    16. 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.
    17. 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.
    18. Weron, Rafał & Zator, Michał, 2015. "A note on using the Hodrick–Prescott filter in electricity markets," Energy Economics, Elsevier, vol. 48(C), pages 1-6.
    19. 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.
    20. Füss, Roland & Mahringer, Steffen & Prokopczuk, Marcel, 2015. "Electricity derivatives pricing with forward-looking information," Journal of Economic Dynamics and Control, Elsevier, vol. 58(C), pages 34-57.

    More about this item

    Keywords

    Regime-switching; marginal distribution; goodness-of-fit; weighted empirical distribution function; Kolmogorov-Smirnov test;
    All these keywords.

    JEL classification:

    • C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection
    • C12 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Hypothesis Testing: General
    • 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:pra:mprapa:32532. 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: Joachim Winter (email available below). General contact details of provider: https://edirc.repec.org/data/vfmunde.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.