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.
Create a lesson
Metadata
- Categories
- cs.LG, stat.ME
- Comments
- 4 page, Intro paper
Related papers
Put the World Back: Timestamps Matter in Time Series Reasoning
Shared title terminologycs.LGTingrui Huang, Yuanyuan Deng, Qingren Yao et al.
Text-Conditioned Low-Rank Adaptation of Time-Series Foundation Models for Multimodal Forecasting
Shared title terminologycs.LGKunqi Li, Bin Liang, Zhidong Li
Assessing the Physical Interpretability of AlphaEarth Foundation Embeddings Through Multi-Sensor Satellite Time-Series Benchmarking for Agricultural Mapping
Shared title terminologycs.LGEl Houcine El Moussaoui, Chouaib El Hachimi, Saïd Khabba et al.
CovNovBench: A Benchmark for Evaluating Time Series Foundation Models under Covariate Novelty
Shared title terminologycs.LGWenhao Pan, Ravi Kiran Selvam, Michael W. Mahoney et al.
Dual-Prototype Disentanglement: A Context-Aware Enhancement Framework for Time Series Forecasting
Shared title terminologycs.LGHaonan Yang, Yulin He, Jianchao Tang et al.
LLM as Forecasting Planner: Training-Free Text Conditioning for Time-Series Foundation Models
Shared title terminologycs.LGHuu Hiep Nguyen, Dung Nguyen, Minh Hoang Nguyen et al.