bootUR: An R Package for Bootstrap Unit Root Tests

Unit root tests form an essential part of any time series analysis. We provide practitioners with a single, unified framework for comprehensive and reliable unit root testing in the R package bootUR. The package's backbone is the popular augmented Dickey-Fuller (ADF) test, which can be performed directly on single time series or multiple (including panel) time series. Accurate inference is ensured through the use of bootstrap methods. The package addresses the needs of both novice users, by providing user-friendly and easy-to-implement functions with sensible default options, as well as expert users, by giving full user-control to adjust the tests to one's desired settings. Our OpenMP-parallelized efficient C++ implementation ensures that all unit root tests are scalable to datasets containing many time series.

[1]  P. Phillips,et al.  Testing the null hypothesis of stationarity against the alternative of a unit root: How sure are we that economic time series have a unit root? , 1992 .

[2]  Y. Benjamini,et al.  Controlling the false discovery rate: a practical and powerful approach to multiple testing , 1995 .

[3]  Graham Elliott,et al.  Tests for Unit Roots and the Initial Condition , 2003 .

[4]  Emmanuel Flachaire,et al.  The wild bootstrap, tamed at last , 2001 .

[5]  C. Nelson,et al.  Trends and random walks in macroeconmic time series: Some evidence and implications , 1982 .

[6]  Dirk Eddelbuettel,et al.  Extending R with C++: A Brief Introduction to Rcpp , 2018, PeerJ Prepr..

[7]  Bernhard Pfaff,et al.  Analysis of Integrated and Cointegrated Time Series with R , 2005 .

[8]  David I. Harvey,et al.  UNIT ROOT TESTING IN PRACTICE: DEALING WITH UNCERTAINTY OVER THE TREND AND INITIAL CONDITION , 2009, Econometric Theory.

[9]  James G. MacKinnon,et al.  Numerical Distribution Functions of Likelihood Ratio Tests for Cointegration , 1996 .

[10]  Serena Ng,et al.  Working Paper Series , 2019 .

[11]  Bruce E. Hansen,et al.  Rethinking the Univariate Approach to Unit Root Testing: Using Covariates to Increase Power , 1995, Econometric Theory.

[12]  David I. Harvey,et al.  Testing for unit roots in the presence of uncertainty over both the trend and initial condition , 2012 .

[13]  Lonnie K. Stevans Unit Roots and Cointegration , 2006 .

[14]  Zacharias Psaradakis Bootstrap Tests for an Autoregressive Unit Root in the Presence of Weakly Dependent Errors , 2001 .

[15]  Stephan Smeekes,et al.  BOOTSTRAP UNION TESTS FOR UNIT ROOTS IN THE PRESENCE OF NONSTATIONARY VOLATILITY , 2011, Econometric Theory.

[16]  A. M. Robert Taylor,et al.  BOOTSTRAP UNIT ROOT TESTS FOR TIME SERIES WITH NONSTATIONARY VOLATILITY , 2007, Econometric Theory.

[17]  P. Phillips Testing for a Unit Root in Time Series Regression , 1988 .

[18]  A. M. Robert Taylor,et al.  HETEROSKEDASTIC TIME SERIES WITH A UNIT ROOT , 2009, Econometric Theory.

[19]  Claudio Lupi,et al.  Unit Root CADF Testing with R , 2009 .

[20]  Stephan Smeekes Bootstrap Sequential Tests to Determine the Order of Integration of Individual Units in A Time Series Panel , 2015 .

[21]  W. Fuller,et al.  Distribution of the Estimators for Autoregressive Time Series with a Unit Root , 1979 .

[22]  R Core Team,et al.  R: A language and environment for statistical computing. , 2014 .

[23]  Efstathios Paparoditis,et al.  Residual‐Based Block Bootstrap for Unit Root Testing , 2003 .

[24]  Stephan Smeekes,et al.  Bootstrap Unit‐Root Tests: Comparison and Extensions , 2008 .

[25]  In Choi,et al.  Unit root tests for panel data , 2001 .

[26]  F. Palm,et al.  Cross-Sectional Dependence Robust Block Bootstrap Panel Unit Root Tests , 2008 .

[27]  L. Dagum,et al.  OpenMP: an industry standard API for shared-memory programming , 1998 .

[28]  Sastry G. Pantula,et al.  Testing for Unit Roots in Time Series Data , 1989, Econometric Theory.

[29]  X. Shao A bootstrap-assisted spectral test of white noise under unknown dependence , 2011 .

[30]  Kurt Hornik,et al.  Time Series Analysis and Computational Finance , 2015 .

[31]  Byung Sam Yoo,et al.  Seasonal integration and cointegration , 1990 .

[32]  Azeem M. Shaikh,et al.  FORMALIZED DATA SNOOPING BASED ON GENERALIZED ERROR RATES , 2007, Econometric Theory.

[33]  Bootstrapping Unit Root Tests for Autoregressive Time Series , 2005 .

[34]  M. Pesaran On the interpretation of panel unit root tests , 2012 .

[35]  Yves Croissant,et al.  Panel data econometrics in R: The plm package , 2008 .

[36]  D. Politis,et al.  On the range of validity of the autoregressive sieve bootstrap , 2012, 1201.6211.

[37]  Joseph P. Romano,et al.  Control of the false discovery rate under dependence using the bootstrap and subsampling , 2008 .

[38]  Serena Ng,et al.  PANEL UNIT ROOT TESTS WITH CROSS-SECTION DEPENDENCE: A FURTHER INVESTIGATION , 2009, Econometric Theory.

[39]  Guang Cheng,et al.  Bootstrapping High Dimensional Time Series , 2014, 1406.1037.

[40]  P. Perron,et al.  Lag Length Selection and the Construction of Unit Root Tests with Good Size and Power , 2001 .

[41]  J. Bai,et al.  A Panic Attack on Unit Roots and Cointegration , 2001 .

[42]  Serena Ng,et al.  Fred-Qd: A Quarterly Database for Macroeconomic Research , 2020, Review.

[43]  J. Urbain,et al.  Autoregressive wild bootstrap inference for nonparametric trends , 2017, Journal of Econometrics.

[44]  Christian Kleiber,et al.  Panel Unit Root Testing with R , 2011 .

[45]  Dirk Eddelbuettel,et al.  Rcpp: Seamless R and C++ Integration , 2011 .

[46]  Giuseppe Cavaliere,et al.  Unit Root Tests under Time-Varying Variances , 2005 .

[47]  G. Maddala,et al.  A Comparative Study of Unit Root Tests with Panel Data and a New Simple Test , 1999 .

[48]  H. Moon,et al.  Beyond Panel Unit Root Tests: Using Multiple Testing to Determine the Non Stationarity Properties of Individual Series in a Panel , 2011 .

[49]  D. Politis,et al.  The asymptotic size and power of the augmented Dickey–Fuller test for a unit root , 2018 .

[50]  K. Hadri Testing The Null Hypothesis Of Stationarity Against The Alternative Of A Unit Root In Panel Data With Serially Correlated Errors , 1999 .

[51]  Serena Ng,et al.  A Note on the Selection of Time Series Models , 2005 .

[52]  Giuseppe Cavaliere,et al.  Bootstrap M Unit Root Tests , 2009 .

[53]  J. Urbain,et al.  On the Applicability of the Sieve Bootstrap in Time Series Panels , 2014 .

[54]  H. Moon,et al.  Beyond panel unit root tests: Using multiple testing to determine the nonstationarity properties of individual series in a panel ☆ , 2012 .

[55]  W. Enders Applied Econometric Time Series , 1994 .

[56]  G. Schwert,et al.  Tests for Unit Roots: a Monte Carlo Investigation , 1988 .

[57]  Yoosoon Chang,et al.  A Sieve Bootstrap For The Test Of A Unit Root , 2003 .

[58]  E. Mammen Bootstrap and Wild Bootstrap for High Dimensional Linear Models , 1993 .

[59]  B. Grün,et al.  Macroeconomic Forecasting in the Era of Big Data , 2019 .

[60]  BOOTSTRAP-ASSISTED UNIT ROOT TESTING WITH PIECEWISE LOCALLY STATIONARY ERRORS , 2018, Econometric Theory.

[61]  Dirk Eddelbuettel,et al.  Seamless R and C++ Integration with Rcpp , 2013 .

[62]  S. Holm A Simple Sequentially Rejective Multiple Test Procedure , 1979 .

[63]  Jörg Breitung,et al.  Unit Roots and Cointegration in Panels , 2005, SSRN Electronic Journal.

[64]  M. Pesaran,et al.  Testing for unit roots in heterogeneous panels , 2003 .

[65]  Pierre Perron,et al.  A simple modification to improve the finite sample properties of Ng and Perron's unit root tests , 2007 .

[66]  Conrad Sanderson,et al.  RcppArmadillo: Accelerating R with high-performance C++ linear algebra , 2014, Comput. Stat. Data Anal..

[67]  J. Urbain,et al.  A multivariate invariance principle for modified wild bootstrap methods with an application to unit root testing , 2014 .

[68]  P. Phillips,et al.  Lag Length Selection for Unit Root Tests in the Presence of Nonstationary Volatility , 2012 .

[69]  Yiannis Karavias,et al.  Almost All About Unit Roots: Foundations, Developments, and Applications, by In Choi. Published by Cambridge University Press, Cambridge, 2015. Total number of pages: 295. ISBN: 9781107482500 (paperback), price: 24.99£;(US$39.99) ISBN: 9781107097339 (hardback), price: 60.00£ (US$95.00) , 2016 .

[70]  Stephan Smeekes Detrending Bootstrap Unit Root Tests , 2013 .

[71]  X. Shao,et al.  The Dependent Wild Bootstrap , 2010 .

[72]  Yoosoon Chang,et al.  Nonlinear IV Unit Root Tests in Panels with Cross-Sectional Dependency , 2002 .

[73]  Michael Wolf,et al.  Centre De Referència En Economia Analítica Barcelona Economics Working Paper Series Working Paper Nº 17 Stewise Multiple Testing as Formalized Data Snooping Stepwise Multiple Testing as Formalized Data Snooping , 2022 .

[74]  J. Stock,et al.  Efficient Tests for an Autoregressive Unit Root , 1992 .

[75]  W. Fuller,et al.  LIKELIHOOD RATIO STATISTICS FOR AUTOREGRESSIVE TIME SERIES WITH A UNIT ROOT , 1981 .