Skip to main content

Liang Information Flow Package

Project description

Created on Mon Sep 7 16:26:22 2020

@author: Yinengrong @ yinengrong@foxmail.com

Created on Wed Jul 12 10:45:37 2023

@author: Yinen

Rong Yineng (yinengrong@foxmail.com) see https://github.com/YinengRong/LKIF for details and examples

On input: X: matrix storing the M time series (each as Nx1 column vectors) max_lag: time order of lags (default 1) >=1 lag time step -1 Determine the lag order of the data based on the AIC criterion. -2 Determine the lag order of the data based on the BIC criterion. np: integer >=1, time advance in performing Euler forward differencing, e.g., 1, 2. Unless the series are generated with a highly chaotic deterministic system, np=1 should be used. (default 1) dt: frequency of sampling (default 1) series_teporal_order: Nx1 column vector that records the timestamps of each sample, with a minimum sampling interval of dt. This option is used for panel data or datasets with missing measurements.. (default []) significance_test: 1 do the significance test (default) 0 not (to save the computation time) On output: IF: information flow nIF: normalized information flow max_lag: time order of lags (in IF) SEIF: standard error of information flow err_e90/e95/e99: standard error at 90/95/99# significance level p: p-value of information flow

Citations: X.S. Liang, 2016: Information flow and causality as rigorous notions ab initio. Phys. Rev. E, 94, 052201. X.S. Liang, 2014: Unraveling the cause-effect relation between time series. Phys. Rev. E 90, 052150. X.S. Liang, 2015: Normalizing the causality between time series. Phys. Rev. E 92, 022126. X.S. Liang, 2021: Normalized multivariate time series causality analysis and causal graph reconstruction. Entropy. 23. 679. X.S. Liang, Chen, D. K., Zhang, R. H. 2023: Quantitative causality, causality-aided discovery, and causal machine learning. Ocean-Land-Atmos Res.

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

LK_Info_Flow-3.0.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

LK_Info_Flow-3.0.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file LK_Info_Flow-3.0.0.tar.gz.

File metadata

  • Download URL: LK_Info_Flow-3.0.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for LK_Info_Flow-3.0.0.tar.gz
Algorithm Hash digest
SHA256 dc7df42c617a0fd84960c84f8292d94e9b4f04ec544128fdeca84f6c9b96a352
MD5 d59444e6d999a735a4c3f916494794a1
BLAKE2b-256 28eb9e172f3e3955f50fc48adc281e0877d421d7248a6fceba22040299a29e7c

See more details on using hashes here.

File details

Details for the file LK_Info_Flow-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: LK_Info_Flow-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for LK_Info_Flow-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d825bb2ed59fce2185a067776c5df01555cb8c61462777bf331dba4cce9f5d0
MD5 75663707b52f3c8c6ad2dd5812e0b1b9
BLAKE2b-256 a9cbaf31684d0d2a7af3c3ded9bce2066ec9636894b0f662a0af8169cefec901

See more details on using hashes here.

Supported by

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