IDEAS home Printed from https://ideas.repec.org/p/zbw/iwqwdp/052017.html
   My bibliography  Save this paper

partialCI: An R package for the analysis of partially cointegrated time series

Author

Listed:
  • Clegg, Matthew
  • Krauss, Christopher
  • Rende, Jonas

Abstract

Partial cointegration is a weakening of cointegration, allowing for the residual series to contain a mean-reverting and a random walk component. Analytically, the residual series is described by a partially autoregressive process. The partialCI package provides estimation, testing, and simulation routines for PCI models in state space. We illustrate the functionality with two examples: A financial application in the context of pairs trading and a macroeconomic application, i.e., the relationship between GDP and consumption. For both examples, we show that the variables are not cointegated in the classic sense, but can be modeled with partial cointegration.

Suggested Citation

  • Clegg, Matthew & Krauss, Christopher & Rende, Jonas, 2017. "partialCI: An R package for the analysis of partially cointegrated time series," FAU Discussion Papers in Economics 05/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
  • Handle: RePEc:zbw:iwqwdp:052017
    as

    Download full text from publisher

    File URL: https://www.econstor.eu/bitstream/10419/150014/1/880195347.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Summers, Lawrence H, 1986. "Does the Stock Market Rationally Reflect Fundamental Values?," Journal of Finance, American Finance Association, vol. 41(3), pages 591-601, July.
    2. Balke, Nathan S & Fomby, Thomas B, 1997. "Threshold Cointegration," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 38(3), pages 627-645, August.
    3. Engle, Robert & Granger, Clive, 2015. "Co-integration and error correction: Representation, estimation, and testing," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 39(3), pages 106-135.
    4. Marianne Baxter & Robert G. King, 1999. "Measuring Business Cycles: Approximate Band-Pass Filters For Economic Time Series," The Review of Economics and Statistics, MIT Press, vol. 81(4), pages 575-593, November.
    5. Clegg, Matthew & Krauss, Christopher, 2016. "Pairs trading with partial cointegration," FAU Discussion Papers in Economics 05/2016, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    6. Canova, Fabio, 1998. "Detrending and business cycle facts," Journal of Monetary Economics, Elsevier, vol. 41(3), pages 475-512, May.
    7. Zeileis, Achim & Kleiber, Christian & Kramer, Walter & Hornik, Kurt, 2003. "Testing and dating of structural changes in practice," Computational Statistics & Data Analysis, Elsevier, vol. 44(1-2), pages 109-123, October.
    8. Eduardo Schwartz & James E. Smith, 2000. "Short-Term Variations and Long-Term Dynamics in Commodity Prices," Management Science, INFORMS, vol. 46(7), pages 893-911, July.
    9. King, Robert G. & Rebelo, Sergio T., 1993. "Low frequency filtering and real business cycles," Journal of Economic Dynamics and Control, Elsevier, vol. 17(1-2), pages 207-231.
    10. Baillie, Richard T., 1996. "Long memory processes and fractional integration in econometrics," Journal of Econometrics, Elsevier, vol. 73(1), pages 5-59, July.
    11. Alain Guay & Pierre Saint-Amant, 2005. "Do the Hodrick-Prescott and Baxter-King Filters Provide a Good Approximation of Business Cycles?," Annals of Economics and Statistics, GENES, issue 77, pages 133-155.
    12. Friedman, Jerome H. & Hastie, Trevor & Tibshirani, Rob, 2010. "Regularization Paths for Generalized Linear Models via Coordinate Descent," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 33(i01).
    13. Durbin, James & Koopman, Siem Jan, 2012. "Time Series Analysis by State Space Methods," OUP Catalogue, Oxford University Press, edition 2, number 9780199641178.
    14. Guisan, M.Carmen, 2001. "Causality and Cointegration between Consumption and GDP in 25 OECD countries: limitations of cointegration approach," Applied Econometrics and International Development, Euro-American Association of Economic Development, vol. 1(1), pages 39-61.
    15. Zeileis, Achim & Grothendieck, Gabor, 2005. "zoo: S3 Infrastructure for Regular and Irregular Time Series," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 14(i06).
    16. Jesus Gonzalo & Tae-Hwy Lee & Weiping Yang, 2008. "Permanent and transitory components of GDP and stock prices: further analysis," Macroeconomics and Finance in Emerging Market Economies, Taylor & Francis Journals, vol. 1(1), pages 105-120.
    17. Morten O. Ravn & Harald Uhlig, 2002. "On adjusting the Hodrick-Prescott filter for the frequency of observations," The Review of Economics and Statistics, MIT Press, vol. 84(2), pages 371-375.
    18. Christopher Krauss & Klaus Herrmann, 2017. "On the Power and Size Properties of Cointegration Tests in the Light of High-Frequency Stylized Facts," JRFM, MDPI, vol. 10(1), pages 1-24, February.
    19. repec:adr:anecst:y:2005:i:77:p:09 is not listed on IDEAS
    20. Poterba, James M. & Summers, Lawrence H., 1988. "Mean reversion in stock prices : Evidence and Implications," Journal of Financial Economics, Elsevier, vol. 22(1), pages 27-59, October.
    21. John H. Cochrane, 1994. "Permanent and Transitory Components of GNP and Stock Prices," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 109(1), pages 241-265.
    22. M. Ali Choudhary & M. Nadim Hanif & Javed Iqbal, 2014. "On smoothing macroeconomic time series using the modified HP filter," Applied Economics, Taylor & Francis Journals, vol. 46(19), pages 2205-2214, July.
    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. Mark Meyer & Peter Winker*, 2005. "Using HP Filtered Data for Econometric Analysis: Some Evidence from Monte Carlo Simulations," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 89(3), pages 303-320, August.
    2. Matthew Clegg & Christopher Krauss, 2018. "Pairs trading with partial cointegration," Quantitative Finance, Taylor & Francis Journals, vol. 18(1), pages 121-138, January.
    3. Guglielmo Maria Caporale & Juncal Cuñado & Luis A. Gil-Alana, 2013. "Modelling long-run trends and cycles in financial time series data," Journal of Time Series Analysis, Wiley Blackwell, vol. 34(3), pages 405-421, May.
    4. Clegg, Matthew & Krauss, Christopher, 2016. "Pairs trading with partial cointegration," FAU Discussion Papers in Economics 05/2016, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    5. Nazliben, K. Korhan & Rodríguez, Juan Carlos, 2018. "Permanent shocks, signal extraction, and portfolio selection," Journal of Economic Dynamics and Control, Elsevier, vol. 92(C), pages 47-68.
    6. Eduardo Loría & Emmanuel Salas, 2014. "Ciclos, crecimiento económico y crisis en México, 1980.1-2013.4," Estudios Económicos, El Colegio de México, Centro de Estudios Económicos, vol. 29(2), pages 131-161.
    7. Maravall, A. & del Rio, A., 2007. "Temporal aggregation, systematic sampling, and the Hodrick-Prescott filter," Computational Statistics & Data Analysis, Elsevier, vol. 52(2), pages 975-998, October.
    8. Hall, Viv B & Thomson, Peter, 2022. "A boosted HP filter for business cycle analysis: evidence from New Zealand’s small open economy," Working Paper Series 9473, Victoria University of Wellington, School of Economics and Finance.
    9. Tommaso Proietti, 2012. "Seasonality, Forecast Extensions And Business Cycle Uncertainty," Journal of Economic Surveys, Wiley Blackwell, vol. 26(4), pages 555-569, September.
    10. Kaiser, Regina & Maravall, Agustin, 2005. "Combining filter design with model-based filtering (with an application to business-cycle estimation)," International Journal of Forecasting, Elsevier, vol. 21(4), pages 691-710.
    11. L.A. Gil-Alana, 2005. "Fractional Cyclical Structures & Business Cycles in the Specification of the US Real Output," European Research Studies Journal, European Research Studies Journal, vol. 0(1-2), pages 99-126.
    12. Wolfgang Nierhaus & Timo Wollmershäuser, 2016. "ifo Konjunkturumfragen und Konjunkturanalyse: Band II," ifo Forschungsberichte, ifo Institute - Leibniz Institute for Economic Research at the University of Munich, number 72.
    13. Sunder, Marco & Woitek, Ulrich, 2005. "Boom, bust, and the human body: Further evidence on the relationship between height and business cycles," Economics & Human Biology, Elsevier, vol. 3(3), pages 450-466, December.
    14. Velimir Šonje & Igeta Vrbanc, 2000. "Measuring the Similarities of Economic Developments in Central Europe: A Correlation between the Business Cycles of Germany, Hungary, the Czech Republic and Croatia," Working Papers 3, The Croatian National Bank, Croatia.
    15. Liam Gallagher, 1999. "A multi-country analysis of the temporary and permanent components of stock prices," Applied Financial Economics, Taylor & Francis Journals, vol. 9(2), pages 129-142.
    16. Zsolt Darvas & Gábor Vadas, 2003. "Univariate Potential Output Estimations for Hungary," MNB Working Papers 2003/8, Magyar Nemzeti Bank (Central Bank of Hungary).
    17. David E. Giles & Chad N. Stroomer, 2004. "Identifying the Cycle of a Macroeconomic Time-Series Using Fuzzy Filtering," Econometrics Working Papers 0406, Department of Economics, University of Victoria.
    18. João Valle e Azevedo, 2007. "Interpretation of the Effects of Filtering Integrated Time Series," Working Papers w200712, Banco de Portugal, Economics and Research Department.
    19. Kozicki, Sharon, 1999. "Multivariate detrending under common trend restrictions: Implications for business cycle research," Journal of Economic Dynamics and Control, Elsevier, vol. 23(7), pages 997-1028, June.
    20. Liam A. Gallagher & Mark P. Taylor, 2002. "Permanent and Temporary Components of Stock Prices: Evidence from Assessing Macroeconomic Shocks," Southern Economic Journal, John Wiley & Sons, vol. 69(2), pages 345-362, October.

    More about this item

    Keywords

    R software; cointegration; partial cointegration; pairs trading; permanent components; transient components;
    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:zbw:iwqwdp:052017. 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: ZBW - Leibniz Information Centre for Economics (email available below). General contact details of provider: https://edirc.repec.org/data/vierlde.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.