**Software and Code**

**Software and Code**

**bootUR**: R Package for Bootstrap Unit Root Tests

**bootUR**: R Package for Bootstrap Unit Root Tests

The R package bootUR, co-authored with Ines Wilms, is available on CRAN and GitHub. In this package we implement several bootstrap unit root, both for univariate and multivariate time series, including (but not limited to) all the unit root tests proposed in my papers. For details see the manual or the accompanying working paper.

The package encompasses all code available below that relates to unit root testing in a coherent and user-friendly way. As a consequence, all bootstrap unit root testing codes below are not updated anymore, as I will only keep the package up to date.

Questions and comments on the bootUR package are welcome by email or via my GitHub page (issues tab). To cite the package in your research, use the command citation("bootUR") in R.

**specs**: R Package for the Single-Equation Penalized Error-Correction Selector

**specs**: R Package for the Single-Equation Penalized Error-Correction Selector

The R package specs, developed by Etienne Wijler, is available on CRAN and GitHub. In this package the Single-Equation Penalized Error-Correction Selector (SPECS) from the paper "*An automated approach towards sparse single-equation cointegration modelling*" is implemented. The data from the paper are also included.

**HDGCvar**: R Package for Granger Causality Testing in High-Dimensional Vector Autoregressive Models

**HDGCvar**: R Package for Granger Causality Testing in High-Dimensional Vector Autoregressive Models

The R package HDGCvar, developed by Luca Margaritella, is available on GitHub. This package allows for testing Granger causality in high-dimensional vector autoregressive models (VARs) as proposed in the paper "*Granger causality testing in high-dimensional VARs: a Post-Double-Selection procedure*".

**desla**: R Package for Lasso Inference in High-Dimensional Time Series

**desla**: R Package for Lasso Inference in High-Dimensional Time Series

The R package desla, developed by Robert Adamek, is available on GitHub. This package allows for inference in high-dimensional time series models via the desparsified lasso as proposed in the paper "*Lasso inference for high-dimensional time series*".

## Individual Codes (not in an R package)

Code and data for replication of the results in the paper "Min(d)ing the President: A text analytic approach to measuring tax news".

R code and Python code for the trend analysis methods proposed in the paper "

*A statistical analysis of time**trends in atmospheric ethane*".R code and datasets for the estimation of the high-dimensional state space model proposed in the paper "

*A dynamic factor model approach to incorporate Big Data in state space models for official statistics*".MATLAB code for residual bootstrap methods for VaR developed in the paper "

*A**re**sidual**b**ootstrap for**c**onditional Value-at-Risk*".R code for the AWB trend inference method developed in the paper "

*Autoregressive**w**ild**b**ootstrap**i**nference for**n**onparametric**t**rends*".MATLAB toolbox for the WIMP method developed in the paper "

*Inference for**i**mpulse**r**esponses under**m**odel**u**ncertainty*". The code and data in the toolbox allow for replication of the WIMP confidence bands for all the identification schemes used in the empirical study in the paper.GAUSS code and R code for the bootstrap panel predictability tests developed in the paper "

*Robust**b**lock**b**ootstrap**p**anel**p**redictability**t**ests*".GAUSS code for the bootstrap ECM cointegration tests developed in the paper "

*A**s**ieve**b**ootstrap**t**est for**c**ointegration in a**c**onditional**e**rror**c**orrection**m**odel*".

### Legacy Codes (superseded by bootUR)

GAUSS code and R code for the modified wild bootstrap tests developed in the paper "

*A**m**ultivariate**i**nvariance**p**rinciple for**m**odified**w**ild**b**ootstrap**m**ethods with an**a**pplication to**u**nit**r**oot**t**esting*". The code includes the lag length selection methods developed in the paper "*Lag**l**ength**s**election for**u**nit**r**oot**t**ests in the**p**resence of**n**onstationary**v**olatility*".GAUSS code and R code for the bootstrap panel predictability tests developed in the paper "

*Robust**b**lock**b**ootstrap**p**anel**p**redictability**t**ests*".GAUSS code and R code for the bootstrap sequential quantile tests developed in the paper "

*Bootstrap**s**equential**t**ests to**d**etermine the**o**rder of**i**ntegration of**i**ndividual**u**nits in a**t**ime**s**eries**p**anel*".GAUSS code for the bootstrap union tests developed in the paper "

*Bootstrap**u**nion**t**ests for**u**nit**r**oots in the**p**resence of**n**onstationary**v**olatility*".GAUSS code for the bootstrap panel unit root tests developed in the paper "

*Cross-**s**ectional**d**ependence**r**obust**b**lock**b**ootstrap**p**anel**u**nit**r**oot**t**ests*".

### Notes

All codes are provided under a GPL 2 or later license.

The individual codes are fully functional but provided without any warranty whatsoever. I will also not update them except to fix bugs. The R code has been tested to give (almost) identical output to the Gauss output using a limited number of datasets. Questions on how to use those codes, or comments and suggestions on typos, improvements, etc. are welcome by e-mail. If you use the code in your research, an acknowledgement in the form of a reference to this website and a citation of the relevant papers is appreciated.

The zip-files with Gauss codes contain two files: a ‘.gss’ file with the original Gauss code, and a ‘.src’ file with modifications of that code such that it can be run in OxGauss. Typically the modifications, such as changing the random number generator, do not affect the functionality of the code; the exception is the MWB.src file which has a minor loss of functionality (see the file itself for more information).

R is available for free download here.

OxGauss is part of Ox; the Ox Console version is freely available for academic use and can be downloaded here.