IDEAS home Printed from
MyIDEAS: Log in (now much improved!) to save this paper

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

  • Janczura, Joanna
  • Weron, Rafal

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.

If you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL:
File Function: original version
Download Restriction: no

File URL:
File Function: revised version
Download Restriction: no

Paper provided by University Library of Munich, Germany in its series MPRA Paper with number 32532.

in new window

Date of creation: 09 Jul 2011
Date of revision:
Handle: RePEc:pra:mprapa:32532
Contact details of provider: Postal:
Ludwigstraße 33, D-80539 Munich, Germany

Phone: +49-(0)89-2180-2459
Fax: +49-(0)89-2180-992459
Web page:

More information through EDIRC

References listed on IDEAS
Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:

as in new window
  1. Marine Carrasco & Liang Hu, 2004. "Optimal test for Markov switching," Econometric Society 2004 North American Summer Meetings 396, Econometric Society.
  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. 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.
  4. Rafal Weron & Adam Misiorek, 2005. "Modeling and forecasting electricity loads: A comparison," Econometrics 0502004, EconWPA.
  5. Hamilton, James D., 1996. "Specification testing in Markov-switching time-series models," Journal of Econometrics, Elsevier, vol. 70(1), pages 127-157, January.
  6. 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.
  7. Weron, Rafal, 2008. "Heavy-tails and regime-switching in electricity prices," MPRA Paper 10424, University Library of Munich, Germany.
  8. 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.
  9. 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.
  10. Thomas Lux & Leonardo Morales-Arias, 2009. "Forecasting Volatility under Fractality, Regime-Switching, Long Memory and Student-t Innovations," Kiel Working Papers 1532, Kiel Institute for the World Economy.
  11. 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.
  12. Kim, Chang-Jin, 1994. "Dynamic linear models with Markov-switching," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 1-22.
  13. Jin Seo Cho & Halbert White, 2007. "Testing for Regime Switching," Econometrica, Econometric Society, vol. 75(6), pages 1671-1720, November.
  14. 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.
  15. Janczura, Joanna & Weron, Rafal, 2010. "An empirical comparison of alternate regime-switching models or electricity spot prices," MPRA Paper 20546, University Library of Munich, Germany.
  16. 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.
  17. 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-88, August.
  18. Vasicek, Oldrich, 1977. "An equilibrium characterization of the term structure," Journal of Financial Economics, Elsevier, vol. 5(2), pages 177-188, 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. 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.
  21. 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.
  22. 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.
  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. Rafal Weron, 2006. "Modeling and Forecasting Electricity Loads and Prices: A Statistical Approach," HSC Books, Hugo Steinhaus Center, Wroclaw University of Technology, number hsbook0601.
  25. 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.
  26. 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.
  27. John Davis, 2005. "Introduction," Journal of Economic Methodology, Taylor & Francis Journals, vol. 12(3), pages 361-361.
  28. Hamilton, James D., 1990. "Analysis of time series subject to changes in regime," Journal of Econometrics, Elsevier, vol. 45(1-2), pages 39-70.
Full references (including those not matched with items on IDEAS)

This item is not listed on Wikipedia, on a reading list or among the top items on IDEAS.

When requesting a correction, please mention this item's handle: RePEc:pra:mprapa:32532. See general information about how to correct material in RePEc.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Joachim Winter)

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 references are entirely missing, you can add them using this form.

If the full references list an item that is present in RePEc, but the system did not link 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 profile, as there may be some citations waiting for confirmation.

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

This information is provided to you by IDEAS at the Research Division of the Federal Reserve Bank of St. Louis using RePEc data.