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

Goodness-of-fit testing for regime-switching models

Author

Listed:
  • Janczura, Joanna
  • Weron, Rafal

Abstract

In this paper we propose a novel goodness-of-fit testing scheme for regime-switching models. We consider models with an observable, as well as, a latent state process. The test is based on the Kolmogorov-Smirnov supremum-distance statistic and the concept of the weighted empirical distribution function. We apply the proposed scheme to test whether a 2-state Markov regime-switching model fits electricity spot price data.

Suggested Citation

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

    Download full text from publisher

    File URL: https://mpra.ub.uni-muenchen.de/22871/1/MPRA_paper_22871.pdf
    File Function: original version
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. 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.
    2. 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.
    3. Rafal Weron & Adam Misiorek, 2005. "Modeling and forecasting electricity loads: A comparison," Econometrics 0502004, University Library of Munich, Germany.
    4. 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.
    5. Marine Carrasco & Liang Hu, 2004. "Optimal test for Markov switching," Econometric Society 2004 North American Summer Meetings 396, Econometric Society.
    6. Hamilton, James D., 1996. "Specification testing in Markov-switching time-series models," Journal of Econometrics, Elsevier, vol. 70(1), pages 127-157, January.
    7. Vasicek, Oldrich, 1977. "An equilibrium characterization of the term structure," Journal of Financial Economics, Elsevier, vol. 5(2), pages 177-188, November.
    8. 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.
    9. 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.
    10. Hamilton, James D., 1990. "Analysis of time series subject to changes in regime," Journal of Econometrics, Elsevier, vol. 45(1-2), pages 39-70.
    11. 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.
    12. 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.
    13. 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.
    14. 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.
    15. 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.
    16. 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.
    17. 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.
    18. 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.
    19. 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.
    20. 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.
    21. Adam Misiorek & Rafal Weron, 2006. "Interval forecasting of spot electricity prices," HSC Research Reports HSC/06/05, Hugo Steinhaus Center, Wroclaw University of Technology.
    22. 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.
    23. Jin Seo Cho & Halbert White, 2007. "Testing for Regime Switching," Econometrica, Econometric Society, vol. 75(6), pages 1671-1720, November.
    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. Kim, Chang-Jin, 1994. "Dynamic linear models with Markov-switching," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 1-22.
    26. Rafal Weron, 2006. "Modeling and Forecasting Electricity Loads and Prices: A Statistical Approach," HSC Books, Hugo Steinhaus Center, Wroclaw University of Technology, number hsbook0601.
    27. 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. 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.
    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. 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. 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.
    8. Joanna Janczura, 2012. "Pricing electricity derivatives within a Markov regime-switching model," Papers 1203.5442, arXiv.org.
    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.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).
    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. 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. 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.
    14. 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.
    15. Lisi, Francesco & Nan, Fany, 2014. "Component estimation for electricity prices: Procedures and comparisons," Energy Economics, Elsevier, vol. 44(C), pages 143-159.
    16. 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.
    17. 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.
    18. Rafal Weron, 2006. "Modeling and Forecasting Electricity Loads and Prices: A Statistical Approach," HSC Books, Hugo Steinhaus Center, Wroclaw University of Technology, number hsbook0601.
    19. 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.
    20. 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.

    More about this item

    Keywords

    Regime-switching; 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:22871. 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.