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 tests, 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 website or the accompanying JSS 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 via the GitHub page. To cite the package in your research, use the command citation("bootUR")
in R.
desla
R package for desparsified lasso inference for time series
The R package desla
, developed by Robert Adamek, is available on CRAN and GitHub. This package allows for inference in high-dimensional time series models via the desparsified lasso as proposed in the papers “Lasso inference for high-dimensional time series” and “Local projection inference in high dimensions”.
specs
R package for penalized single-equation error-correction models
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
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 papers “Granger causality testing in high-dimensional VARs: a Post-Double-Selection procedure” and “Inference in non-stationary high-dimensional VARs”.
PAGFL
R package for estimating latent group structures in panel data
The R package PAGFL
, developed by Paul Haimerl, is available on CRAN and GitHub. This package allows for estimating latent group structures by implementing the pairwise adaptive group fused Lasso (PAGFL) proposed by Mehrabani (2023) and its extendsion to time-varying coefficient functions as proposed in the paper “Estimation of Latent Group Structures in Time-Varying Panel Data Models”.
TransmissionChannelAnalysis.jl
Julia package for estimating dynamic transmission channels
The Julia package TransmissionChannelAnalysis.jl
, developed by Enrico Wegner, is available on GitHub. This package allows for estimating transmission channels as proposed in the paper “Transmission Channel Analysis in Dynamic Models”.
Individual Codes
Scripts not available in a package
The codes are provided without any warranty whatsoever and will not be updated except to fix bugs. All codes are provided under a GPL 2 or later license. To cite the codes, please cite the relevant papers and provide a link to this website.
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 for estimating the state space model proposed in the paper “Time-varying correlations in multivariate unobserved components time series models”. |
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 residual bootstrap for conditional Value-at-Risk”. |
R code for the AWB trend inference method developed in the paper “Autoregressive wild bootstrap inference for nonparametric trends”. |
MATLAB toolbox for the WIMP method developed in the paper “Inference for impulse responses under model uncertainty”. 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 code1 and R code2 for the bootstrap panel predictability tests developed in the paper “Robust block bootstrap panel predictability tests”. |
GAUSS code for the bootstrap ECM cointegration tests developed in the paper “A sieve bootstrap test for cointegration in a conditional error correction model”. |
1 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.
2 The R code has been tested to give (almost) identical output to the Gauss output using a limited number of datasets.
Legacy Codes
Deprecated codes superseded by packages
The methods covered by these codes are all available in the bootUR package, the use of which is strongly recommended. The codes provided here will not be updated anymore.
GAUSS code and R code for the modified wild bootstrap tests developed in the paper “A multivariate invariance principle for modified wild bootstrap methods with an application to unit root testing”. The code includes the lag length selection methods developed in the paper “Lag length selection for unit root tests in the presence of nonstationary volatility”. |
GAUSS code and R code for the bootstrap sequential quantile tests developed in the paper “Bootstrap sequential tests to determine the order of integration of individual units in a time series panel”. |
GAUSS code for the bootstrap union tests developed in the paper “Bootstrap union tests for unit roots in the presence of nonstationary volatility”. |
GAUSS code for the bootstrap panel unit root tests developed in the paper “Cross-sectional dependence robust block bootstrap panel unit root tests”. |