Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 36 min ago
PreprintCC BY 4.0arXiv

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

  1. Principal component analysis for a mix of stationary and nonstationary variables
    James D. Hamilton, Xinwei Ma, Jin Xi
    Journal of EconometricsPeer-reviewedCC BYFull text8 citedStatisticsOpenAlex
  2. A stationary harmonic map with a nonstationary tangent map
    Siran Li, Zijun Wang
    arXivPreprintarXiv licenceFull textGeometry & topologyarXiv
  3. Pyoframe: A Python Library to Easily and Efficiently Construct Large Optimization Models
    Martin Staadecker, Patricia Hidalgo-Gonzalez
    arXivPreprintCC BY-NC-SA 4.0Full textOptimisation & controlarXiv
  4. Wrap or Rewrite? Reviving the 1989 GlobalMinimum Bayesian Global-Optimization Library for R and Python
    Audris Mockus
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  5. antasena: A Python Library for Nitrox Diving Calculations
    Sandy Hardian Susanto Herho, Faruq Khadami, Faizal Ade Rahmahuddin Abdullah +4
    EarthArXivPreprintCC BY 4.0Full textOceanography & cryosphereNumerical analysis & scientific computingEarthArXiv
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  -