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.1.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

LK_Info_Flow-3.1.0-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

Details for the file lk_info_flow-3.1.0.tar.gz.

File metadata

  • Download URL: lk_info_flow-3.1.0.tar.gz
  • Upload date:
  • Size: 24.3 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.1.0.tar.gz
Algorithm Hash digest
SHA256 c380f206acca8aa6c12a02f672d75957a66f648a896c3e0ca98555121c69b33e
MD5 b916c6fbbdc02b73c65223d1e80debd4
BLAKE2b-256 a9f7b8e8ce8859d66de73a8f97742cc3fb948001f9812f30b14dc5f11f249898

See more details on using hashes here.

File details

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

File metadata

  • Download URL: LK_Info_Flow-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 39.5 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f93dc70b27900ae36bbdd4aa4e54d7cbd00f3823c72abde5ba43af81c7a5eeca
MD5 45a8bd1adc0a52b481ba667fccd4351c
BLAKE2b-256 46e9553855fa2b5170fb0268e6608932fb9110a6b6ff2c15918c61837bf262ce

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