Giter Club home page Giter Club logo

pte's Introduction

pTE

pseudo transfer entropy

This python code can be used in order to compute causality between processes. N processes may be used as input and the bivariate causality will be computed between each pair, returning an NxN causality matrix. The results in case of systems composed by only 2 processes are very similar to those that can be obtained using Granger causality, but faster for time series up to 500 points.

WARNING: For systems composed by 3 or more processes fakes causalities, like indirect causalities, can appear. This code allows to avoid fake causalities in the case of 3 processes, but for 4 or more, it is still a work in progress.

time shifted surrogates

In the pTE.ipynb file it is also possible to find an efficient function to create time shifted surrogates, called timeshifted().

Who should use it?

This code can be very useful to drastically reduce the computational time for the computation of causality in case of large datasets composed by relatively short time series (<500 data points), in particular using time shifted surrogates for significance testing

pte's People

Contributors

riccardosilini avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.