grangersearch: An R Package for Exhaustive Granger Causality Testing with Tidyverse Integration
Abstract
This paper introduces grangersearch, an R package for performing exhaustive Granger causality searches on multiple time series. The package provides: (1) exhaustive pairwise search across multiple variables, (2) automatic lag order optimization with visualization, (3) tidyverse-compatible syntax with pipe operators and non-standard evaluation, and (4) integration with the broom ecosystem through tidy() and glance() methods. The package wraps the vars infrastructure while providing a simple interface for exploratory causal analysis. We describe the statistical methodology, demonstrate the package through worked examples, and discuss practical considerations for applied researchers.
Fields of Study & Subjects
Advanced Statistical Modeling Techniques
Advanced Causal Inference Techniques
Qualitative Comparative Analysis Research
Publication details
- Journal / source
- arXiv (Cornell University)
- Publication date
- 4 January 2026
- Document type
- Preprint