Skip to main content

CITS algorithm for inferring causality from time series data

Project description

Python Package for CITS algorithm: Causal Inference from Time Series data

CITS algorithm infers causal relationships in time series data based on structural causal model and Markovian condition of arbitrary but finite order. See the paper for details.

Installation

You can get the latest version of CITS package as follows

pip install cits

Requirements

  • Python >= 3.6
  • R >= 4.0
  • R package kpcalg and its dependencies. They can be installed in R or RStudio as follows:
> install.packages("BiocManager")
> BiocManager::install("graph")
> BiocManager::install("RBGL")
> install.packages("pcalg")
> install.packages("kpcalg")

Documentation

Documentation is available at readthedocs.org

Tutorial

Visit this Google Colab for getting started with this package.

Alternatively, see the Getting Started in the documentation.

Contributing

Your help is absolutely welcome! Please do reach out or create a future branch!

Citation

Biswas, R., Sripada, S., Mukherjee, S. & Abbasi-Asl, R. (2025) CITS: Nonparametric Statistical Causal Modeling for High-Resolution Neural Time Series. In Review. https://arxiv.org/abs/2508.01920

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cits-1.4.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cits-1.4-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file cits-1.4.tar.gz.

File metadata

  • Download URL: cits-1.4.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for cits-1.4.tar.gz
Algorithm Hash digest
SHA256 784b929914a159d4fdf85e816cd2a0c47658e7d2920ab2b1c42bb742407551f4
MD5 0ee413f6fb7f59c3a2463ef8795f9474
BLAKE2b-256 50063c859cf6bbef3835937b7ac7de045852ba80d94767e7caa197a239d08acf

See more details on using hashes here.

File details

Details for the file cits-1.4-py3-none-any.whl.

File metadata

  • Download URL: cits-1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for cits-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 347f14e38e34d9b40086c8563f9d590dfbe48150f049b9015bdfe1f26a3f90a9
MD5 1edfb1ffc5ef4d7235768fa9c08863a2
BLAKE2b-256 5d76570b692c38755b15c8ee7291d0a8ed714fc7af01d356002b68967fdb700e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page