Causal-TS: A Python Library for Causal Discovery in Stationary and Nonstationary Time Series
Abstract
We describe Causal-TS, an open-source Python library that provides a common interface and lagged-graph representation for causal discovery (structure learning) from stationary and nonstationary multivariate time series. It learns lagged and contemporaneous causal graphs with constraint-based (CDNOTS, CDNOTS+, Cedar), score-based (LGES, TGES, GES, LASSO-VAR, VARLiNGAM, Granger) and hybrid (GRACE, REAP) methods. The constraint-based methods share 17 linear and nonlinear conditional independence (CI) tests, nine with PyTorch implementations. It also provides candidate-regime detection with per-regime discovery, latent-confounder correction (LUCID), missing- and mixed-data support, a data-driven configuration recommender, a command-line interface, and an optional DoWhy bridge from a discovered graph to causal effect estimates and counterfactuals. The library is pip-installable, tested on Python 3.10-3.14, and available at https://github.com/bloomberg/causal-ts.
Related
- Principal component analysis for a mix of stationary and nonstationary variables
- A stationary harmonic map with a nonstationary tangent map
- Pyoframe: A Python Library to Easily and Efficiently Construct Large Optimization Models
- Wrap or Rewrite? Reviving the 1989 GlobalMinimum Bayesian Global-Optimization Library for R and Python
- antasena: A Python Library for Nitrox Diving Calculations
BibTeX
@misc{fesanghary2026causalts,
title = {{Causal-TS: A Python Library for Causal Discovery in Stationary and Nonstationary Time Series}},
author = {Mohammad Fesanghary},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2607.24673},
eprint = {2607.24673},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2607.24673},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - Causal-TS: A Python Library for Causal Discovery in Stationary and Nonstationary Time Series
AU - Mohammad Fesanghary
PY - 2026
DA - 2026/11/14
PB - arXiv
DO - 10.48550/arxiv.2607.24673
UR - https://arxiv.org/abs/2607.24673
AB - We describe Causal-TS, an open-source Python library that provides a common interface and lagged-graph representation for causal discovery (structure learning) from stationary and nonstationary multivariate time series. It learns lagged and contemporaneous causal graphs with constraint-based (CDNOTS, CDNOTS+, Cedar), score-based (LGES, TGES, GES, LASSO-VAR, VARLiNGAM, Granger) and hybrid (GRACE, REAP) methods. The constraint-based methods share 17 linear and nonlinear conditional independence (CI) tests, nine with PyTorch implementations. It also provides candidate-regime detection with per-regime discovery, latent-confounder correction (LUCID), missing- and mixed-data support, a data-driven configuration recommender, a command-line interface, and an optional DoWhy bridge from a discovered graph to causal effect estimates and counterfactuals. The library is pip-installable, tested on Python 3.10-3.14, and available at https://github.com/bloomberg/causal-ts.
ER -