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. repec:bla:obuest:v:61:y:1999:i:0:p:631-52 is not listed on IDEAS
    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. Soto, Gonzalo Hernández, 2024. "The role of outward foreign direct investment as a filter for high energy intensity economies in the European Union," Applied Energy, Elsevier, vol. 361(C).
    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. 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).
    5. Bruce E. Hansen & Jeffrey S. Racine, 2024. "Bootstrap Model Averaging Unit Root Inference," Advances in Econometrics, in: Essays in Honor of Subal Kumbhakar, volume 46, pages 81-98, Emerald Group Publishing Limited.
    6. 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.
    7. 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.
    8. 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.
    9. Hernández Soto, Gonzalo, 2024. "The role of foreign direct investment and green technologies in facilitating the transition toward green economies in Latin America," Energy, Elsevier, vol. 288(C).

    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. 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.
    7. 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.
    8. 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.
    9. 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.
    10. Fossati, Sebastian, 2012. "Covariate unit root tests with good size and power," Computational Statistics & Data Analysis, Elsevier, vol. 56(11), pages 3070-3079.
    11. 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.).
    12. 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.
    13. Engel, Charles, 2000. "Long-run PPP may not hold after all," Journal of International Economics, Elsevier, vol. 51(2), pages 243-273, August.
    14. 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.
    15. 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.
    16. Galvao Jr., Antonio F., 2009. "Unit root quantile autoregression testing using covariates," Journal of Econometrics, Elsevier, vol. 152(2), pages 165-178, October.
    17. 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.
    18. Kim, Jae & Choi, In, 2015. "Unit Roots in Economic and Financial Time Series: A Re-Evaluation based on Enlightened Judgement," MPRA Paper 68411, University Library of Munich, Germany.
    19. Lawford, Steve & Stamatogiannis, Michalis P., 2009. "The finite-sample effects of VAR dimensions on OLS bias, OLS variance, and minimum MSE estimators," Journal of Econometrics, Elsevier, vol. 148(2), pages 124-130, February.
    20. González-Val, Rafael & Marcén, Miriam, 2012. "Unilateral divorce versus child custody and child support in the U.S," Journal of Economic Behavior & Organization, Elsevier, vol. 81(2), pages 613-643.
    21. Singh, Tarlok, 2008. "Testing the Saving-Investment correlations in India: An evidence from single-equation and system estimators," Economic Modelling, Elsevier, vol. 25(5), pages 1064-1079, September.

    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.