IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v032i02.html
   My bibliography  Save this article

Unit Root CADF Testing with R

Author

Listed:
  • Lupi, Claudio

Abstract

This paper describes CADFtest, an R package for testing for the presence of a unit root in a time series using the covariate-augmented Dickey-Fuller (CADF) test proposed in Hansen (1995). The procedures presented here are user friendly, allow fully automatic model specification, and allow computation of the asymptotic p values of the test.

Suggested Citation

  • Lupi, Claudio, 2009. "Unit Root CADF Testing with R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 32(i02).
  • Handle: RePEc:jss:jstsof:v:032:i02
    DOI: http://hdl.handle.net/10.18637/jss.v032.i02
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v032i02/v32i02.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v032i02/CADFtest_0.3-0.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v032i02/v32i02.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v032.i02?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Dickey, David A & Fuller, Wayne A, 1981. "Likelihood Ratio Statistics for Autoregressive Time Series with a Unit Root," Econometrica, Econometric Society, vol. 49(4), pages 1057-1072, June.
    2. Schwert, G William, 2002. "Tests for Unit Roots: A Monte Carlo Investigation," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 5-17, January.
    3. Andrews, Donald W K, 1991. "Heteroskedasticity and Autocorrelation Consistent Covariance Matrix Estimation," Econometrica, Econometric Society, vol. 59(3), pages 817-858, May.
    4. Zellner, Arnold & Palm, Franz, 1974. "Time series analysis and simultaneous equation econometric models," Journal of Econometrics, Elsevier, vol. 2(1), pages 17-54, May.
    5. Elliott, Graham & Jansson, Michael, 2003. "Testing for unit roots with stationary covariates," Journal of Econometrics, Elsevier, vol. 115(1), pages 75-89, July.
    6. Costantini, Mauro & Lupi, Claudio & Popp, Stephan, 2007. "A Panel-CADF Test for Unit Roots," Economics & Statistics Discussion Papers esdp07039, University of Molise, Department of Economics.
    7. Neil R. Ericsson, 1986. "Post-simulation Analysis of Monte Carlo Experiments: Interpreting Pesaran's (1974) Study of Non-nested Hypothesis Test Statistics," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 53(4), pages 691-707.
    8. Hansen, Bruce E., 1995. "Rethinking the Univariate Approach to Unit Root Testing: Using Covariates to Increase Power," Econometric Theory, Cambridge University Press, vol. 11(5), pages 1148-1171, October.
    9. Maddala, G S & Wu, Shaowen, 1999. "A Comparative Study of Unit Root Tests with Panel Data and a New Simple Test," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 61(0), pages 631-652, Special I.
    10. Schotman, Peter C & van Dijk, Herman K, 1991. "On Bayesian Routes to Unit Roots," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 6(4), pages 387-401, Oct.-Dec..
    11. Sims, Christopher A & Stock, James H & Watson, Mark W, 1990. "Inference in Linear Time Series Models with Some Unit Roots," Econometrica, Econometric Society, vol. 58(1), pages 113-144, January.
    12. Elliott, Graham & Pesavento, Elena, 2006. "On the Failure of Purchasing Power Parity for Bilateral Exchange Rates after 1973," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 38(6), pages 1405-1430, September.
    13. Banerjee, Anindya & Dolado, Juan J. & Galbraith, John W. & Hendry, David, 1993. "Co-integration, Error Correction, and the Econometric Analysis of Non-Stationary Data," OUP Catalogue, Oxford University Press, number 9780198288107.
    14. Zeileis, Achim, 2004. "Econometric Computing with HC and HAC Covariance Matrix Estimators," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 11(i10).
    15. Zeileis, Achim, 2006. "Object-oriented Computation of Sandwich Estimators," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 16(i09).
    16. Hendry, David F., 1984. "Monte carlo experimentation in econometrics," Handbook of Econometrics, in: Z. Griliches† & M. D. Intriligator (ed.), Handbook of Econometrics, edition 1, volume 2, chapter 16, pages 937-976, Elsevier.
    17. Jarque, Carlos M. & Bera, Anil K., 1980. "Efficient tests for normality, homoscedasticity and serial independence of regression residuals," Economics Letters, Elsevier, vol. 6(3), pages 255-259.
    18. MacKinnon, James G, 1996. "Numerical Distribution Functions for Unit Root and Cointegration Tests," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 11(6), pages 601-618, Nov.-Dec..
    19. Hall, Alastair R, 1994. "Testing for a Unit Root in Time Series with Pretest Data-Based Model Selection," Journal of Business & Economic Statistics, American Statistical Association, vol. 12(4), pages 461-470, October.
    20. MacKinnon, James G, 1994. "Approximate Asymptotic Distribution Functions for Unit-Root and Cointegration Tests," Journal of Business & Economic Statistics, American Statistical Association, vol. 12(2), pages 167-176, April.
    21. Nelson, Charles R. & Plosser, Charles I., 1982. "Trends and random walks in macroeconmic time series : Some evidence and implications," Journal of Monetary Economics, Elsevier, vol. 10(2), pages 139-162.
    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. Mauro Costantini & Claudio Lupi, 2013. "A Simple Panel-CADF Test for Unit Roots," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 75(2), pages 276-296, April.
    2. Lupi, Claudio, 2011. "Panel-CADF Testing with R: Panel Unit Root Tests Made Easy," Economics & Statistics Discussion Papers esdp11063, University of Molise, Department of Economics.
    3. Matsypura, Dmytro & Pauwels, Laurent L., 2016. "Does portfolio margining make borrowing more attractive?," International Review of Financial Analysis, Elsevier, vol. 43(C), pages 128-134.
    4. Bruce E. Hansen & Jeffrey S. Racine, 2018. "Bootstrap Model Averaging Unit Root Inference," Department of Economics Working Papers 2018-09, McMaster University.
    5. Heagney, E.C. & Falster, D.S. & Kovač, M., 2021. "Land clearing in south-eastern Australia: Drivers, policy effects and implications for the future," Land Use Policy, Elsevier, vol. 102(C).
    6. David Mautin Oke & Koye Gerry Bokana & Adebowale Soluade, 2017. "Re-examining Exchange Rate Regimes and Inflation Nexus: An ARDL Analysis for Nigerian Case," Acta Universitatis Danubius. OEconomica, Danubius University of Galati, issue 13(6), pages 253-266, DECEMBER.
    7. Sirin, Selahattin Murat, 2017. "Foreign direct investments (FDIs) in Turkish power sector: A discussion on investments, opportunities and risks," Renewable and Sustainable Energy Reviews, Elsevier, vol. 78(C), pages 1367-1377.

    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. repec:jss:jstsof:32:i02 is not listed on IDEAS
    2. Lupi, Claudio, 2009. "Covariate Augmented Dickey-Fuller Tests with R," Economics & Statistics Discussion Papers esdp09051, University of Molise, Department of Economics.
    3. Mauro Costantini & Claudio Lupi, 2013. "A Simple Panel-CADF Test for Unit Roots," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 75(2), pages 276-296, April.
    4. John Y. Campbell & Pierre Perron, 1991. "Pitfalls and Opportunities: What Macroeconomists Should Know about Unit Roots," NBER Chapters, in: NBER Macroeconomics Annual 1991, Volume 6, pages 141-220, National Bureau of Economic Research, Inc.
    5. Neil R. Ericsson & James G. MacKinnon, 2002. "Distributions of error correction tests for cointegration," Econometrics Journal, Royal Economic Society, vol. 5(2), pages 285-318, June.
    6. Valérie Mignon & Christophe Hurlin, 2005. "Une synthèse des tests de racine unitaire sur données de panel," Économie et Prévision, Programme National Persée, vol. 169(3), pages 253-294.
    7. Giorgio Canarella & Rangan Gupta & Stephen M. Miller & Stephen K. Pollard, 2019. "Unemployment rate hysteresis and the great recession: exploring the metropolitan evidence," Empirical Economics, Springer, vol. 56(1), pages 61-79, January.
    8. Charles G. Renfro, 2009. "The Practice of Econometric Theory," Advanced Studies in Theoretical and Applied Econometrics, Springer, number 978-3-540-75571-5, July-Dece.
    9. Pui Sun Tam, 2013. "Finite-sample distribution of the augmented Dickey--Fuller test with lag optimization," Applied Economics, Taylor & Francis Journals, vol. 45(24), pages 3495-3511, August.
    10. Peter C. B. Phillips & Zhijie Xiao, 1998. "A Primer on Unit Root Testing," Journal of Economic Surveys, Wiley Blackwell, vol. 12(5), pages 423-470, December.
    11. Yang, Yang & Zhao, Zhao, 2020. "Quantile nonlinear unit root test with covariates and an application to the PPP hypothesis," Economic Modelling, Elsevier, vol. 93(C), pages 728-736.
    12. Perron, Pierre, 1992. "Racines unitaires en macroéconomie : le cas d’une variable," L'Actualité Economique, Société Canadienne de Science Economique, vol. 68(1), pages 325-356, mars et j.
    13. Fossati, Sebastian, 2012. "Covariate unit root tests with good size and power," Computational Statistics & Data Analysis, Elsevier, vol. 56(11), pages 3070-3079.
    14. Eiji Kurozumi & Daisuke Yamazaki & Kaddour Hadri, 2012. "Covariate Unit Root Test for Cross-Sectionally Dependent Panel Data," Global COE Hi-Stat Discussion Paper Series gd12-256, Institute of Economic Research, Hitotsubashi University.
    15. Norman J. Morin & John M. Roberts, 1999. "Is hysteresis important for U.S. unemployment?," Finance and Economics Discussion Series 1999-56, Board of Governors of the Federal Reserve System (U.S.).
    16. Kaddour Hadri & Eiji Kurozumi & Daisuke Yamazaki, 2015. "Synergy between an Improved Covariate Unit Root Test and Cross-sectionally Dependent Panel Data Unit Root Tests," Manchester School, University of Manchester, vol. 83(6), pages 676-700, December.
    17. Maria Elena Bontempi & Roberto Golinelli, 2012. "The effect of neglecting the slope parameters’ heterogeneity on dynamic models of corporate capital structure," Quantitative Finance, Taylor & Francis Journals, vol. 12(11), pages 1733-1751, November.
    18. Engel, Charles, 2000. "Long-run PPP may not hold after all," Journal of International Economics, Elsevier, vol. 51(2), pages 243-273, August.
    19. Murray, Christian J. & Nelson, Charles R., 2000. "The uncertain trend in U.S. GDP," Journal of Monetary Economics, Elsevier, vol. 46(1), pages 79-95, August.
    20. Charles Nelson & Jeremy Piger & Eric Zivot, 1999. "Unit Root Tests in the Presence of Markov Regime-Switching," Discussion Papers in Economics at the University of Washington 0040, Department of Economics at the University of Washington.
    21. Galvao Jr., Antonio F., 2009. "Unit root quantile autoregression testing using covariates," Journal of Econometrics, Elsevier, vol. 152(2), pages 165-178, October.

    More about this item

    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:jss:jstsof:v:032:i02. 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: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    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.