IDEAS home Printed from https://ideas.repec.org/p/rtv/ceisrp/362.html
   My bibliography  Save this paper

The Model Confidence Set package for R

Author

Listed:

Abstract

This paper presents the R package MCS which implements the Model Confidence Set (MCS) procedure recently developed by Hansen, Lunde, and Nason (2011). The Hansen's procedure consists on a sequence of tests which permits to construct a set of "superior" models, where the null hypothesis of Equal Predictive Ability (EPA) is not rejected at a certain confidence level. The EPA statistic tests is calculated for an arbitrary loss function, meaning that we could test models on various aspects, for example punctual forecasts. The relevance of the package is shown using an example which aims at illustrating in details the use of the functions provided by the package. The example compares the ability of different models belonging to the ARCH family to predict large financial losses. We also discuss the implementation of the ARCH{type models and their maximum likelihood estimation using the popular R package rugarch developed by Ghalanos (2014).

Suggested Citation

  • Mauro Bernardi & Leopoldo Catania, 2015. "The Model Confidence Set package for R," CEIS Research Paper 362, Tor Vergata University, CEIS, revised 17 Nov 2015.
  • Handle: RePEc:rtv:ceisrp:362
    as

    Download full text from publisher

    File URL: https://ceistorvergata.it/RePEc/rpaper/RP362.pdf
    File Function: Main text
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. West, Kenneth D, 1996. "Asymptotic Inference about Predictive Ability," Econometrica, Econometric Society, vol. 64(5), pages 1067-1084, September.
    2. Harvey,Andrew C., 2013. "Dynamic Models for Volatility and Heavy Tails," Cambridge Books, Cambridge University Press, number 9781107630024.
    3. Tim Bollerslev, 2008. "Glossary to ARCH (GARCH)," CREATES Research Papers 2008-49, Department of Economics and Business Economics, Aarhus University.
    4. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    5. Peter Reinhard Hansen & Asger Lunde & James M. Nason, 2003. "Choosing the Best Volatility Models: The Model Confidence Set Approach," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 65(s1), pages 839-861, December.
    6. Schwert, G William, 1990. "Stock Volatility and the Crash of '87," The Review of Financial Studies, Society for Financial Studies, vol. 3(1), pages 77-102.
    7. Asger Lunde & Peter Reinhard Hansen, 2001. "A Forecast Comparison of Volatility Models: Does Anything Beat a GARCH(1,1)?," Working Papers 2001-04, Brown University, Department of Economics.
    8. Mauro Bernardi & Leopoldo Catania & Lea Petrella, 2014. "Are news important to predict large losses?," Papers 1410.6898, arXiv.org, revised Oct 2014.
    9. Halbert White, 2000. "A Reality Check for Data Snooping," Econometrica, Econometric Society, vol. 68(5), pages 1097-1126, September.
    10. Jon D. Samuels & Rodrigo Sekkel, 2013. "Forecasting with Many Models: Model Confidence Sets and Forecast Combination," Staff Working Papers 13-11, Bank of Canada.
    11. Engle, Robert F, 1982. "Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation," Econometrica, Econometric Society, vol. 50(4), pages 987-1007, July.
    12. Kilian, Lutz, 1999. "Exchange Rates and Monetary Fundamentals: What Do We Learn from Long-Horizon Regressions?," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 14(5), pages 491-510, Sept.-Oct.
    13. Asger Lunde & Peter R. Hansen, 2005. "A forecast comparison of volatility models: does anything beat a GARCH(1,1)?," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 20(7), pages 873-889.
    14. Nelson, Daniel B, 1991. "Conditional Heteroskedasticity in Asset Returns: A New Approach," Econometrica, Econometric Society, vol. 59(2), pages 347-370, March.
    15. Clark, Todd E. & McCracken, Michael W., 2001. "Tests of equal forecast accuracy and encompassing for nested models," Journal of Econometrics, Elsevier, vol. 105(1), pages 85-110, November.
    16. Ding, Zhuanxin & Granger, Clive W. J. & Engle, Robert F., 1993. "A long memory property of stock market returns and a new model," Journal of Empirical Finance, Elsevier, vol. 1(1), pages 83-106, June.
    17. Hansen, Peter Reinhard, 2005. "A Test for Superior Predictive Ability," Journal of Business & Economic Statistics, American Statistical Association, vol. 23, pages 365-380, October.
    18. Michael McAleer & Bernardo da Veiga, 2008. "Single-index and portfolio models for forecasting value-at-risk thresholds," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 27(3), pages 217-235.
    19. Harvey, Andrew C & Shephard, Neil, 1996. "Estimation of an Asymmetric Stochastic Volatility Model for Asset Returns," Journal of Business & Economic Statistics, American Statistical Association, vol. 14(4), pages 429-434, October.
    20. Engle, Robert F & Lilien, David M & Robins, Russell P, 1987. "Estimating Time Varying Risk Premia in the Term Structure: The Arch-M Model," Econometrica, Econometric Society, vol. 55(2), pages 391-407, March.
    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. Mauro Bernardi & Leopoldo Catania, 2016. "Comparison of Value-at-Risk models using the MCS approach," Computational Statistics, Springer, vol. 31(2), pages 579-608, June.
    2. Andersen, Torben G. & Bollerslev, Tim & Christoffersen, Peter F. & Diebold, Francis X., 2006. "Volatility and Correlation Forecasting," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 1, chapter 15, pages 777-878, Elsevier.
    3. Sébastien Laurent & Jeroen V. K. Rombouts & Francesco Violante, 2012. "On the forecasting accuracy of multivariate GARCH models," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 27(6), pages 934-955, September.
    4. Torben G. Andersen & Tim Bollerslev & Peter F. Christoffersen & Francis X. Diebold, 2005. "Volatility Forecasting," PIER Working Paper Archive 05-011, Penn Institute for Economic Research, Department of Economics, University of Pennsylvania.
    5. Hansen, Peter Reinhard & Lunde, Asger, 2006. "Consistent ranking of volatility models," Journal of Econometrics, Elsevier, vol. 131(1-2), pages 97-121.
    6. Köksal, Bülent, 2009. "A Comparison of Conditional Volatility Estimators for the ISE National 100 Index Returns," MPRA Paper 30510, University Library of Munich, Germany.
    7. Peter Hansen & Asger Lunde & James M. Nason, 2003. "Choosing the Best Volatility Models:The Model Confidence Set Approach," Working Papers 2003-05, Brown University, Department of Economics.
    8. Ma, Feng & Wei, Yu & Huang, Dengshi & Chen, Yixiang, 2014. "Which is the better forecasting model? A comparison between HAR-RV and multifractality volatility," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 405(C), pages 171-180.
    9. Peter Reinhard Hansen & Asger Lunde & James M. Nason, 2003. "Choosing the Best Volatility Models: The Model Confidence Set Approach," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 65(s1), pages 839-861, December.
    10. Laurent, Sébastien & Rombouts, Jeroen V.K. & Violante, Francesco, 2013. "On loss functions and ranking forecasting performances of multivariate volatility models," Journal of Econometrics, Elsevier, vol. 173(1), pages 1-10.
    11. McAleer, Michael & Medeiros, Marcelo C., 2008. "A multiple regime smooth transition Heterogeneous Autoregressive model for long memory and asymmetries," Journal of Econometrics, Elsevier, vol. 147(1), pages 104-119, November.
    12. Charles, Amélie & Darné, Olivier, 2017. "Forecasting crude-oil market volatility: Further evidence with jumps," Energy Economics, Elsevier, vol. 67(C), pages 508-519.
    13. Prateek Sharma & Vipul _, 2015. "Forecasting stock index volatility with GARCH models: international evidence," Studies in Economics and Finance, Emerald Group Publishing Limited, vol. 32(4), pages 445-463, October.
    14. David E. Rapach & Jack K. Strauss, 2008. "Structural breaks and GARCH models of exchange rate volatility," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 23(1), pages 65-90.
    15. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    16. Alexander Subbotin & Thierry Chauveau & Kateryna Shapovalova, 2009. "Volatility Models: from GARCH to Multi-Horizon Cascades," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) halshs-00390636, HAL.
    17. Owusu Junior, Peterson & Tiwari, Aviral Kumar & Tweneboah, George & Asafo-Adjei, Emmanuel, 2022. "GAS and GARCH based value-at-risk modeling of precious metals," Resources Policy, Elsevier, vol. 75(C).
    18. A. Amendola & V. Candila, 2016. "Evaluation of volatility predictions in a VaR framework," Quantitative Finance, Taylor & Francis Journals, vol. 16(5), pages 695-709, May.
    19. Maurício Yoshinori Une & Marcelo Savino Portugal, 2005. "Can fear beat hope? A story of GARCH-in-Mean-Level effects for Emerging Market Country Risks," Econometrics 0509006, University Library of Munich, Germany.
    20. Subbotin, Alexandre, 2009. "Volatility Models: from Conditional Heteroscedasticity to Cascades at Multiple Horizons," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 15(3), pages 94-138.

    More about this item

    Keywords

    Hypothesis testing; Model Confidence Set; Value{at{Risk; VaR combination; ARCH-Models; R-CRAN;
    All these keywords.

    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:rtv:ceisrp:362. 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: Barbara Piazzi (email available below). General contact details of provider: https://edirc.repec.org/data/csrotit.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.