Skip to main content

Tigramite causal discovery for time series

Project description

TIGRAMITE – Causal discovery for time series datasets

Version 4.2

(Python Package)

Github

Documentation

General Notes

Tigramite is a causal time series analysis python package. It allows to efficiently reconstruct causal graphs from high-dimensional time series datasets and model the obtained causal dependencies for causal mediation and prediction analyses. Causal discovery is based on linear as well as non-parametric conditional independence tests applicable to discrete or continuously-valued time series. Also includes functions for high-quality plots of the results. Please cite the following papers depending on which method you use:

Features

  • high detection power even for large-scale time series datasets
  • flexible conditional independence test statistics adapted to continuously-valued or discrete data, and different assumptions about linear or nonlinear dependencies
  • automatic hyperparameter optimization for most tests
  • parallel computing script based on mpi4py
  • handling of missing values and masks
  • p-value correction and confidence interval estimation
  • causal mediation class to analyze causal pathways
  • prediction class based on sklearn models including causal feature selection

Required python packages

  • numpy>=1.10.0
  • scipy>=0.17.0
  • scikit-learn>=0.18.1 (optional, necessary for GPDC test)
  • matplotlib>=1.5.1 (optional, only for plotting)
  • networkx=1.10.0 (optional, only for plotting and mediation)
  • cython>=0.26 (optional, necessary for CMIknn and GPDC tests)
  • mpi4py>=2.0.0 (optional, necessary for using the parallelized implementation)

Installation

python setup.py install

This will install tigramite in your path.

To use just the ParCorr and CMIsymb independence tests, only numpy and scipy are required. For other independence tests more packages are required:

  • CMIknn: cython can optionally be used for compilation, otherwise the provided ``*.c'' file is used

  • GPDC: also based on cython, and additionally, scikit-learn is required for Gaussian Process regression

User Agreement

By downloading TIGRAMITE you agree with the following points: TIGRAMITE is provided without any warranty or conditions of any kind. We assume no responsibility for errors or omissions in the results and interpretations following from application of TIGRAMITE.

You commit to cite above papers in your reports or publications.

License

Copyright (C) 2014-2020 Jakob Runge

See license.txt for full text.

TIGRAMITE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. TIGRAMITE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

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

tigramite-4.2.0.2.tar.gz (233.8 kB view details)

Uploaded Source

Built Distributions

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

tigramite-4.2.0.2-cp37-cp37m-manylinux2014_x86_64.whl (468.6 kB view details)

Uploaded CPython 3.7m

tigramite-4.2.0.2-cp36-cp36m-manylinux2014_x86_64.whl (467.7 kB view details)

Uploaded CPython 3.6m

File details

Details for the file tigramite-4.2.0.2.tar.gz.

File metadata

  • Download URL: tigramite-4.2.0.2.tar.gz
  • Upload date:
  • Size: 233.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.10

File hashes

Hashes for tigramite-4.2.0.2.tar.gz
Algorithm Hash digest
SHA256 4d927036739834ac7f5b639a4de3031ba6cd621387bb07dcca1b000defcbda9e
MD5 21934997256f3154ed2acd72e9d5d861
BLAKE2b-256 f921093dc77ac3fff930a49b1c838970c76f4cae9185a5dfc6a1bc38ca98b0a0

See more details on using hashes here.

File details

Details for the file tigramite-4.2.0.2-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: tigramite-4.2.0.2-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 468.6 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for tigramite-4.2.0.2-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 22b9ffb76f7264d485fc7830a7bf8da80a36e1db4a0b31fbadbe181903da12ed
MD5 9b9762b4f23d42db58e827a94cba292c
BLAKE2b-256 acf0a33084f39e47f3c5840a646ba1644ab6a1f0f98fead355803a3b2777c1b6

See more details on using hashes here.

File details

Details for the file tigramite-4.2.0.2-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: tigramite-4.2.0.2-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 467.7 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.10

File hashes

Hashes for tigramite-4.2.0.2-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 089c884e335908ab03404b5451a031e32f8399090d179ce35a6cbf168b6b3d9f
MD5 871e03e04f090ffffbd12b07cedc6030
BLAKE2b-256 cf6896ecfacdeb6bc1387d5f2426faad3c79d6358e03765c01c572e9fef772f3

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